shapes-ISSUE-134 (knowing inverse): does SHACL syntax distinguish inverse property constraints [SHACL Spec]

shapes-ISSUE-134 (knowing inverse): does SHACL syntax distinguish inverse property constraints [SHACL Spec]

http://www.w3.org/2014/data-shapes/track/issues/134

Raised by: Peter Patel-Schneider
On product: SHACL Spec

>From https://lists.w3.org/Archives/Public/public-data-shapes-wg/2016Mar/0106.html

Some constraint types require different SPARQL queries (or JavaScript or whatever) depending on the direction of a property (or even worse, for an arbitrary path). For example sh:minCount needs to count subjects versus objects.

Is it possible to determine whether a sh:minCount constraint is an inverse or not?  Consider

ex:s a sh:Shape ;
  sh:property _:c ;
  sh:inverseProperty _:c .
_:c [ sh:predicate ex:p ;
      sh:minCount 5 ] .

Received on Thursday, 10 March 2016 21:15:53 UTC