Open ddooley opened 4 years ago
One of our users reported that this query yields two definition strings for a term:
PREFIX obo: http://purl.obolibrary.org/obo/ PREFIX owl: http://www.w3.org/2002/07/owl# PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema# SELECT DISTINCT * WHERE { ?s rdfs:subClassOf http://purl.obolibrary.org/obo/FOODON_03460238. OPTIONAL { ?s obo:IAO_0000115 ?definition. } } Yields: ... http://purl.obolibrary.org/obo/FOODON_03470121 "preservation by filtering out yeasts and molds, generally followed by aseptic packaging. FDA CFSAN 1995]"@en http://purl.obolibrary.org/obo/FOODON_03470121 "Preservation by filtering out yeasts and molds, generally followed by aseptic packaging. FDA CFSAN 1995]"@en
But our foodon-edit.owl file doesn't have this duplication. (Only oddity I see in that definition, which I have corrected in draft file is the trailing "]"). So possibly an import file is stale?
Ref: https://github.com/FoodOntology/foodon/issues/82
One of our users reported that this query yields two definition strings for a term:
PREFIX obo: http://purl.obolibrary.org/obo/ PREFIX owl: http://www.w3.org/2002/07/owl# PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema# SELECT DISTINCT * WHERE { ?s rdfs:subClassOf http://purl.obolibrary.org/obo/FOODON_03460238. OPTIONAL { ?s obo:IAO_0000115 ?definition. } } Yields: ... http://purl.obolibrary.org/obo/FOODON_03470121 "preservation by filtering out yeasts and molds, generally followed by aseptic packaging. FDA CFSAN 1995]"@en http://purl.obolibrary.org/obo/FOODON_03470121 "Preservation by filtering out yeasts and molds, generally followed by aseptic packaging. FDA CFSAN 1995]"@en
But our foodon-edit.owl file doesn't have this duplication. (Only oddity I see in that definition, which I have corrected in draft file is the trailing "]"). So possibly an import file is stale?
Ref: https://github.com/FoodOntology/foodon/issues/82