Data quality aspect
There is sometimes an inconsistency between the defined range for properties (
rdfs:range) and the object terms that are used with those properties in the data.
This query identifies the use of properties in the data (
[ ?p ?o].) and identifies the classes of the corresponding object terms. These classes can either be asserted through
rdf:type for IRIs, or be part of the term itself (extracted with
datatype/1) for literals.
rdfs:Resource is used as a fallback if no class is specified in the data.
- The same consistency check can be done for domains: query