{"action":"opened","issue":{"url":"https://api.github.com/repos/monarch-initiative/monarch-phenote/issues/27","repository_url":"https://api.github.com/repos/monarch-initiative/monarch-phenote","labels_url":"https://api.github.com/repos/monarch-initiative/monarch-phenote/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/monarch-initiative/monarch-phenote/issues/27/comments","events_url":"https://api.github.com/repos/monarch-initiative/monarch-phenote/issues/27/events","html_url":"https://github.com/monarch-initiative/monarch-phenote/issues/27","id":138860732,"number":27,"title":"Add service for generating and importing phenopackets","user":{"login":"cmungall","id":50745,"avatar_url":"https://avatars.githubusercontent.com/u/50745?v=3","gravatar_id":"","url":"https://api.github.com/users/cmungall","html_url":"https://github.com/cmungall","followers_url":"https://api.github.com/users/cmungall/followers","following_url":"https://api.github.com/users/cmungall/following{/other_user}","gists_url":"https://api.github.com/users/cmungall/gists{/gist_id}","starred_url":"https://api.github.com/users/cmungall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmungall/subscriptions","organizations_url":"https://api.github.com/users/cmungall/orgs","repos_url":"https://api.github.com/users/cmungall/repos","events_url":"https://api.github.com/users/cmungall/events{/privacy}","received_events_url":"https://api.github.com/users/cmungall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-07T01:29:48Z","updated_at":"2016-03-07T01:29:48Z","closed_at":null,"body":"This would be a distinct microservice; the core phenote uses a native RDF/OWL model, this is what will be stored in the repo. Conversion will be via a distinct library/service (I will produce new architecture docs clarifying this).\r\n\r\nThis service should be considered distinct and can be any language.\r\n\r\nOne option is to implement in java and use this lib: https://github.com/phenopackets/phenopacket-reference-implementation\r\n\r\nAs subset of graphs that are generated via phenote forms will turn out to be near-equivalent to the JSON-LD representation of a phenopacket, see https://github.com/phenopackets/phenopacket-format/issues/40 -- unfortunately exact equivalence may be unlikely due to awkwardness of reification (we use OWL2 axiom annotation in phenote/noctua, which looks awful in JSON-LD). But the mapping should be trivial\r\n"}}