obi-ontology / obi

The Ontology for Biomedical Investigations
http://obi-ontology.org
Creative Commons Attribution 4.0 International
75 stars 26 forks source link

prostate gland imported as both class and instance #805

Closed obi-bot closed 7 years ago

obi-bot commented 8 years ago

http://purl.obolibrary.org/obo/UBERON_0002367 prostate gland imported as both class and instance see: http://purl.obolibrary.org/obo/obi/dev/import/OBO_imports.owl

Need to check whether it is cause by ontoFox bug or UBERON issue.

Need to be fixed in OBI release

Reported by: zhengj2007

Original Ticket: obi/obi-terms/822

obi-bot commented 8 years ago

I removed the NamedIndividual declaration from OBO_imports.owl in commit 4079. That will fix the problem for OBI for now.

Then I looked deeper and found that OntoFox consistently includes the declaration. I can see it in their SPARQL database: http://www.ontobee.org/sparql

SELECT distinct ?p ?o
WHERE { 
GRAPH <http://purl.obolibrary.org/obo/merged/UBERON>
{ <http://purl.obolibrary.org/obo/UBERON_0002367> ?p ?o } 
}

But I don't see it in the UBERON OWL files. Weird. I'll ask Chris Mungall.

Original comment by: jamesaoverton

obi-bot commented 8 years ago

Not in uberon AFAICT.

Btw, still in SF? I advise migrating before it gets harder... https://github.com/cmungall/gosf2github/

Original comment by: cmungall

obi-bot commented 8 years ago

All puns in ontobee:

prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> 
prefix owl: <http://www.w3.org/2002/07/owl#> 
SELECT *
WHERE {
GRAPH ?g
{ ?x rdf:type owl:NamedIndividual ;
     rdf:type owl:Class }
}

I assume there is some pattern here, but I'm stumped

Original comment by: cmungall

obi-bot commented 8 years ago

Ontobee developer Edison has re-uploaded the UBERON ontology. There is no individual now. Need to rerun Ontofox and check whether the output is correct.

Original comment by: zhengj2007

obi-bot commented 8 years ago

Original comment by: jamesaoverton

obi-bot commented 8 years ago

Looks good now.

Original comment by: jamesaoverton