{"action":"created","issue":{"url":"https://api.github.com/repos/bio-ontology-research-group/aberowl-orepo/issues/55","labels_url":"https://api.github.com/repos/bio-ontology-research-group/aberowl-orepo/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/bio-ontology-research-group/aberowl-orepo/issues/55/comments","events_url":"https://api.github.com/repos/bio-ontology-research-group/aberowl-orepo/issues/55/events","html_url":"https://github.com/bio-ontology-research-group/aberowl-orepo/issues/55","id":82009761,"number":55,"title":"Fix labels in ChEBI","user":{"login":"leechuck","id":362161,"avatar_url":"https://avatars.githubusercontent.com/u/362161?v=3","gravatar_id":"","url":"https://api.github.com/users/leechuck","html_url":"https://github.com/leechuck","followers_url":"https://api.github.com/users/leechuck/followers","following_url":"https://api.github.com/users/leechuck/following{/other_user}","gists_url":"https://api.github.com/users/leechuck/gists{/gist_id}","starred_url":"https://api.github.com/users/leechuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leechuck/subscriptions","organizations_url":"https://api.github.com/users/leechuck/orgs","repos_url":"https://api.github.com/users/leechuck/repos","events_url":"https://api.github.com/users/leechuck/events{/privacy}","received_events_url":"https://api.github.com/users/leechuck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bio-ontology-research-group/aberowl-orepo/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/bio-ontology-research-group/aberowl-orepo/milestones/1","html_url":"https://github.com/bio-ontology-research-group/aberowl-orepo/milestones/0.2","labels_url":"https://api.github.com/repos/bio-ontology-research-group/aberowl-orepo/milestones/1/labels","id":1113881,"number":1,"title":"0.2","description":null,"creator":{"login":"leechuck","id":362161,"avatar_url":"https://avatars.githubusercontent.com/u/362161?v=3","gravatar_id":"","url":"https://api.github.com/users/leechuck","html_url":"https://github.com/leechuck","followers_url":"https://api.github.com/users/leechuck/followers","following_url":"https://api.github.com/users/leechuck/following{/other_user}","gists_url":"https://api.github.com/users/leechuck/gists{/gist_id}","starred_url":"https://api.github.com/users/leechuck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leechuck/subscriptions","organizations_url":"https://api.github.com/users/leechuck/orgs","repos_url":"https://api.github.com/users/leechuck/repos","events_url":"https://api.github.com/users/leechuck/events{/privacy}","received_events_url":"https://api.github.com/users/leechuck/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":31,"state":"open","created_at":"2015-05-17T11:16:39Z","updated_at":"2015-06-02T11:47:34Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-05-28T16:18:43Z","updated_at":"2015-06-02T11:56:21Z","closed_at":"2015-06-02T11:47:34Z","body":"OWLAPI produces weird labels from xrefs in ChEBI.\r\n\r\nReproduce with the following code:\r\n\r\nOWLOntologyManager oManager;\r\nOWLDataFactory df = OWLManager.getOWLDataFactory() ;\r\nOWLOntologyManager lManager = OWLManager.createOWLOntologyManager()\r\nOWLOntologyLoaderConfiguration config = new OWLOntologyLoaderConfiguration()\r\nconfig.setFollowRedirects(true)\r\nconfig = config.setMissingImportHandlingStrategy(MissingImportHandlingStrategy.SILENT)\r\ndef fSource = new FileDocumentSource(new File('chebi.obo'))\r\ndef ontology = lManager.loadOntologyFromOntologyDocument(fSource, config)\r\n\r\ndef cl = df.getOWLClass(IRI.create(\"http://purl.obolibrary.org/obo/CHEBI_82978\"))\r\nEntitySearcher.getAnnotations(cl, ontology, df.getRDFSLabel()).each { annotation -> // OWLAnnotation\r\n  println annotation\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/bio-ontology-research-group/aberowl-orepo/issues/comments/107927493","html_url":"https://github.com/bio-ontology-research-group/aberowl-orepo/issues/55#issuecomment-107927493","issue_url":"https://api.github.com/repos/bio-ontology-research-group/aberowl-orepo/issues/55","id":107927493,"user":{"login":"reality","id":223469,"avatar_url":"https://avatars.githubusercontent.com/u/223469?v=3","gravatar_id":"","url":"https://api.github.com/users/reality","html_url":"https://github.com/reality","followers_url":"https://api.github.com/users/reality/followers","following_url":"https://api.github.com/users/reality/following{/other_user}","gists_url":"https://api.github.com/users/reality/gists{/gist_id}","starred_url":"https://api.github.com/users/reality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reality/subscriptions","organizations_url":"https://api.github.com/users/reality/orgs","repos_url":"https://api.github.com/users/reality/repos","events_url":"https://api.github.com/users/reality/events{/privacy}","received_events_url":"https://api.github.com/users/reality/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T11:56:21Z","updated_at":"2015-06-02T11:56:21Z","body":"@leechuck Are there any other IRIs you know of used to indicate XRefs?"}}