Re: shapes-ISSUE-172 (sh:nodeKind SPARQL definition): the sh:nodeKind SPARQL definition is unnecessarily complex [SHACL Spec]

This ISSUE has been resolved as part of this commit:

https://github.com/w3c/data-shapes/compare/d7654599af...11cec0b9fb

I consider this an editorial matter and have closed the corresponding 
ticket.

Holger


On 29/06/2016 22:39, RDF Data Shapes Working Group Issue Tracker wrote:
> shapes-ISSUE-172 (sh:nodeKind SPARQL definition): the sh:nodeKind SPARQL definition is unnecessarily complex [SHACL Spec]
>
> http://www.w3.org/2014/data-shapes/track/issues/172
>
> Raised by: Peter Patel-Schneider
> On product: SHACL Spec
>
> There is no need for EXISTS in
>
> SELECT $this ($this AS ?subject) $predicate (?value AS ?object)
> WHERE {
>  $this $predicate ?value .
>  FILTER NOT EXISTS {
>   FILTER ((isIRI(?value) && $nodeKind IN ( sh:IRI, sh:BlankNodeOrIRI, sh:IRIOrLiteral ) ) ||
>     (isLiteral(?value) && $nodeKind IN ( sh:Literal, sh:BlankNodeOrLiteral, sh:IRIOrLiteral ) ) ||
>     (isBlank(?value)   && $nodeKind IN ( sh:BlankNode, sh:BlankNodeOrIRI, sh:BlankNodeOrLiteral ) )) .
>  }
> }
>
>
>

Received on Tuesday, 5 July 2016 08:54:50 UTC