{"action":"created","issue":{"url":"https://api.github.com/repos/phenoscape/phenoscape-kb-services/issues/16","labels_url":"https://api.github.com/repos/phenoscape/phenoscape-kb-services/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/phenoscape/phenoscape-kb-services/issues/16/comments","events_url":"https://api.github.com/repos/phenoscape/phenoscape-kb-services/issues/16/events","html_url":"https://github.com/phenoscape/phenoscape-kb-services/issues/16","id":110310567,"number":16,"title":"Which relationships are used for entity expressions","user":{"login":"hlapp","id":51458,"avatar_url":"https://avatars.githubusercontent.com/u/51458?v=3","gravatar_id":"","url":"https://api.github.com/users/hlapp","html_url":"https://github.com/hlapp","followers_url":"https://api.github.com/users/hlapp/followers","following_url":"https://api.github.com/users/hlapp/following{/other_user}","gists_url":"https://api.github.com/users/hlapp/gists{/gist_id}","starred_url":"https://api.github.com/users/hlapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlapp/subscriptions","organizations_url":"https://api.github.com/users/hlapp/orgs","repos_url":"https://api.github.com/users/hlapp/repos","events_url":"https://api.github.com/users/hlapp/events{/privacy}","received_events_url":"https://api.github.com/users/hlapp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-07T20:33:39Z","updated_at":"2015-10-09T02:03:53Z","closed_at":null,"body":"The OntoTrace API documentation gives as example for then entity query parameter an expression of the form `part_of some E`. There doesn't seem to be documentation on properties other than `part_of` that one might want to use for querying (`develops_from` for example?), and how one would best combine these if combining them is even possible through a superproperty.\r\n\r\ncc @xu-hong"},"comment":{"url":"https://api.github.com/repos/phenoscape/phenoscape-kb-services/issues/comments/146736713","html_url":"https://github.com/phenoscape/phenoscape-kb-services/issues/16#issuecomment-146736713","issue_url":"https://api.github.com/repos/phenoscape/phenoscape-kb-services/issues/16","id":146736713,"user":{"login":"hlapp","id":51458,"avatar_url":"https://avatars.githubusercontent.com/u/51458?v=3","gravatar_id":"","url":"https://api.github.com/users/hlapp","html_url":"https://github.com/hlapp","followers_url":"https://api.github.com/users/hlapp/followers","following_url":"https://api.github.com/users/hlapp/following{/other_user}","gists_url":"https://api.github.com/users/hlapp/gists{/gist_id}","starred_url":"https://api.github.com/users/hlapp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hlapp/subscriptions","organizations_url":"https://api.github.com/users/hlapp/orgs","repos_url":"https://api.github.com/users/hlapp/repos","events_url":"https://api.github.com/users/hlapp/events{/privacy}","received_events_url":"https://api.github.com/users/hlapp/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T02:03:53Z","updated_at":"2015-10-09T02:03:53Z","body":"> Maybe the documentation should make clear that this essentially is doing a query to Uberon that doesn't really interact with the data annotations at all\r\n\r\nYes indeed that would be good. I see now where my mistake was. I think it would generally help to document expressly how input OWL expressions are used to select matches.\r\n\r\n> The results you get are limited to which of the resulting entities are related to phenotypes in the KB, but there isn't an a priori way to say which properties have a relation to the data.\r\n\r\nRight, that would depend on the entity that's the object of the property restriction.\r\n\r\nThat said, short of hard-coding the relationships used in Uberon, is there a good query method to obtain the properties used in a given ontology, here Uberon?"}}