report_queries.missing_definition.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!
# # Missing Definition
#
# **Problem:** An entity does not have a definition or elucidation. This may cause confusion or misuse of the entity. Excludes deprecated entities.
#
# **OBO Foundry Principle:** [6 - Textual Definitions](http://obofoundry.org/principles/fp-006-textual-definitions.html)
#
# **Solution:** Add a definition.
PREFIX obo:
PREFIX owl:
PREFIX rdfs:
PREFIX rdf:
PREFIX oboInOwl:
SELECT DISTINCT ?entity ?property ?value WHERE {
VALUES ?property { obo:IAO_0000115 }
?entity ?any ?o
FILTER NOT EXISTS { ?entity ?property ?value }
FILTER NOT EXISTS { ?entity obo:IAO_0000600 ?elucidation }
FILTER NOT EXISTS { ?entity a owl:Ontology }
FILTER NOT EXISTS { ?entity a owl:NamedIndividual }
FILTER NOT EXISTS { ?entity owl:deprecated true }
FILTER NOT EXISTS {
?entity rdfs:subPropertyOf oboInOwl:SubsetProperty .
}
FILTER EXISTS {
?entity ?prop2 ?object .
FILTER (?prop2 != rdf:type)
FILTER (?prop2 != owl:equivalentClass)
FILTER (?prop2 != owl:disjointWith)
FILTER (?prop2 != owl:equivalentProperty)
FILTER (?prop2 != owl:sameAs)
FILTER (?prop2 != owl:differentFrom)
FILTER (?prop2 != owl:inverseOf)
}
FILTER (!isBlank(?entity)) }
ORDER BY ?entity
© 2015 - 2025 Weber Informatics LLC | Privacy Policy