- - - - - - - - - -
view on github
getting started
common errors
chaining commands
global options
makefile
plugins
- - - - - - - - - -
annotate
collapse
convert
diff
expand
explain
export
export-prefixes
extract
filter
materialize
measure
merge
mirror
python
query
reason
reduce
relax
remove
rename
repair
report
template
unmerge
validate-profile
verify
- - - - - - - - - -
ROBOT is licensed under the
BSD 3-Clause License.
Theme by orderedlist
Problem: An entity does not have a label or the label is empty. This may cause confusion or misuse. Excludes deprecated entities.
OBO Foundry Principle: 12 - Naming Conventions
Solution: Add a label, or make it non-empty.
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#>
PREFIX oboInOwl: <http://www.geneontology.org/formats/oboInOwl#>
SELECT DISTINCT ?entity ?property ?value WHERE {
VALUES ?property { rdfs:label }
?entity ?any ?o .
FILTER NOT EXISTS {
?entity ?property ?value .
FILTER(str(?value) != "")
}
FILTER NOT EXISTS { ?entity a owl:Ontology }
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