Answer by cygri for What does !a mean in SPARQL?
!a is a property path, and it means “a path of length one with a property other than rdf:type”.SELECT ?x { ?x a ?type. FILTER NOT EXISTS { ?x a :MyClass }}The query above will find the ?x where no...
View ArticleWhat does !a mean in SPARQL?
I'm using SPARQL to construct a query and would like to rule out certain results.I'm aware FILTER NOT EXISTS can be used to do the task. For example:SELECT * { ?sub a ?type . FILTER NOT EXISTS {?sub a...
View Article
More Pages to Explore .....