ROBOT

- - - - - - - - - -
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

Deprecated Boolean Datatype

Problem: When an entity is deprecated using the owl:deprecated annotation property, the value of the annotation must be a boolean data type.

Solution: Replace deprecated value with a boolean data type.

PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?entity ?property ?value WHERE {
  VALUES ?property {
    owl:deprecated
  }
  ?entity ?property ?value .
  FILTER (datatype(?value) != xsd:boolean)
  FILTER (!isBlank(?entity))
}
ORDER BY ?entity