report_queries.multiple_definitions.rq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of robot-core Show documentation
Show all versions of robot-core Show documentation
Core library for ROBOT: Library for working with OWL ontologies, especially Open Biological and Biomedical Ontologes (OBO).
The newest version!
# # Multiple Definitions
#
# **Problem:** An entity has more than one definition or elucidation. This may cause confusion or misuse, and will prevent translation to OBO format (in case of multiple definitions). Excludes deprecated entities.
#
# **OBO Foundry Principle:** [6 - Textual Definitions](http://obofoundry.org/principles/fp-006-textual-definitions.html)
#
# **Solution:** Remove extra definitions.
PREFIX obo:
PREFIX owl:
SELECT DISTINCT ?entity ?property ?value WHERE {
VALUES ?property { obo:IAO_0000115
obo:IAO_0000600 }
?entity ?property ?value .
?entity ?property ?value2 .
FILTER (?value != ?value2)
FILTER NOT EXISTS { ?entity owl:deprecated true }
FILTER (!isBlank(?entity))
}
ORDER BY ?entity
© 2015 - 2025 Weber Informatics LLC | Privacy Policy