-
Notifications
You must be signed in to change notification settings - Fork 35
Conversion vocabulary
timrdf edited this page Mar 18, 2011
·
14 revisions
namespace: http://purl.org/twc/vocab/conversion/
Debugging query: Which predicates have been used but not defined? (results):
PREFIX conversion: <http://purl.org/twc/vocab/conversion/>
PREFIX ov: <http://open.vocab.org/terms/>
SELECT DISTINCT ?predicate
WHERE {
GRAPH <http://purl.org/twc/vocab/conversion/ConversionProcess> {
[] ov:csvCol [] ; ?predicate [] .
FILTER REGEX(?predicate, "^http://purl.org/twc/vocab/conversion/")
}
OPTIONAL {
GRAPH <http://purl.org/twc/vocab/conversion/> {
?predicate ?p ?o
}
}
FILTER(!BOUND(?o))
}
(results):
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX conversion: <http://purl.org/twc/vocab/conversion/>
SELECT distinct ?s
WHERE {
GRAPH <http://purl.org/twc/vocab/conversion/> {
{ ?s a rdf:Property } union { ?s a rdfs:Class }
}
}
Terms defined in the vocab that are not resolvable: results