- From: Solbrig, Harold R. <Solbrig.Harold@mayo.edu>
- Date: Thu, 24 Sep 2015 16:55:42 +0000
- To: RDF Data Shapes Working Group <public-data-shapes-wg@w3.org>
Received on Thursday, 24 September 2015 16:56:06 UTC
Folks, I'm looking over the property constraints and trying to understand the behavior if (a) there are not triples in the graph whose subject is the supplied focus node or (b) there are no triples in the graph with the propertyConstraint predicate. I am not an expert in SPARQL, but it would appear that: SELECT $this ($this AS ?subject) $predicate (?value AS ?object) WHERE { $this $predicate ?value . FILTER NOT EXISTS { GRAPH $shapesGraph { $allowedValues (rdf:rest*)/rdf:first ?value . } } } Would pass (not return any triples) in either case. Is this true, or am I just misreading the SPARQL? If it is true, is this what is intended? Harold Solbrig
Received on Thursday, 24 September 2015 16:56:06 UTC