ISSUE-172: the sh:nodeKind SPARQL definition is unnecessarily complex
sh:nodeKind SPARQL definition
the sh:nodeKind SPARQL definition is unnecessarily complex
- State:
- CLOSED
- Product:
- SHACL Spec
- Raised by:
- Peter Patel-Schneider
- Opened on:
- 2016-06-29
- Description:
- 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 ) )) .
}
} - Related Actions Items:
- No related actions
- Related emails:
- Re: shapes-ISSUE-172 (sh:nodeKind SPARQL definition): the sh:nodeKind SPARQL definition is unnecessarily complex [SHACL Spec] (from holger@topquadrant.com on 2016-07-05)
- Re: shapes-ISSUE-172 (sh:nodeKind SPARQL definition): the sh:nodeKind SPARQL definition is unnecessarily complex [SHACL Spec] (from pfpschneider@gmail.com on 2016-06-30)
- Re: shapes-ISSUE-172 (sh:nodeKind SPARQL definition): the sh:nodeKind SPARQL definition is unnecessarily complex [SHACL Spec] (from kcoyle@kcoyle.net on 2016-06-30)
- Re: shapes-ISSUE-172 (sh:nodeKind SPARQL definition): the sh:nodeKind SPARQL definition is unnecessarily complex [SHACL Spec] (from pfpschneider@gmail.com on 2016-06-29)
- Re: shapes-ISSUE-172 (sh:nodeKind SPARQL definition): the sh:nodeKind SPARQL definition is unnecessarily complex [SHACL Spec] (from kcoyle@kcoyle.net on 2016-06-29)
- Re: shapes-ISSUE-172 (sh:nodeKind SPARQL definition): the sh:nodeKind SPARQL definition is unnecessarily complex [SHACL Spec] (from pfpschneider@gmail.com on 2016-06-29)
- Re: shapes-ISSUE-172 (sh:nodeKind SPARQL definition): the sh:nodeKind SPARQL definition is unnecessarily complex [SHACL Spec] (from lehors@us.ibm.com on 2016-06-29)
- Re: shapes-ISSUE-172 (sh:nodeKind SPARQL definition): the sh:nodeKind SPARQL definition is unnecessarily complex [SHACL Spec] (from pfpschneider@gmail.com on 2016-06-29)
- Re: shapes-ISSUE-172 (sh:nodeKind SPARQL definition): the sh:nodeKind SPARQL definition is unnecessarily complex [SHACL Spec] (from kcoyle@kcoyle.net on 2016-06-29)
- shapes-ISSUE-172 (sh:nodeKind SPARQL definition): the sh:nodeKind SPARQL definition is unnecessarily complex [SHACL Spec] (from sysbot+tracker@w3.org on 2016-06-29)
Related notes:
No additional notes.
Display change log