question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

This issue tracks SHACL support in RDFUnit

Scopes

  • sh:targetNode
  • sh:targetClass
  • sh:targetSubjecsOf
  • sh:targetObjects

SHACL Core Constraint Components

  • sh:class
  • sh:datatype
  • sh:nodeKind
  • sh:minCount
  • sh:maxCount
  • sh:minExclusive
  • sh:minInclusive
  • sh:maxExclusive
  • sh:maxInclusive
  • sh:minLength
  • sh:maxLength
  • sh:pattern
  • sh:languageIn (does not yet match cases like @en / @en-us, only works for exact matches for now)
  • sh:uniqueLang
  • sh:equals
  • sh:disjoint
  • sh:lessThan
  • sh:lessThanOrEquals
  • sh:not
  • sh:and (partial support in top-level sh:and constraints)
  • sh:or
  • sh:xone
  • sh:node
  • sh:property
  • sh:qualifiedValueShape, sh:qualifiedMinCount, sh:qualifiedMaxCount
  • sh:closed, sh:ignoredProperties
  • sh:hasValue
  • sh:in

SPARQL-based Constraints

  • Almost fully supported
    • shapesGraph prebinding is not supported
    • currentShape prebinding is not supported
    • projection expressions in SPARQL queries are not yet supported e.g. the path variable in SELECT ?this (<a> AS ?path) WHERE {...} is not yet supported (planned to be). what can be done instead for now is SELECT ?this ?path WHERE { BIND(<a> AS ?path) ...}

SPARQL-based Constraint Components

  • Supported
    • noticed some strange behavior in complex ASK-based validators and node constraints that is investigated. simple ASK-based validators that contain only a filter clause are well supported.

Actually, all of the supported SHACL-Core is defined in this document which are SPARQL-based Constraint Components

Some pre-binding corner cases are not covered yet and are under development (see implementation report (to be submitted soon))

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:5
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jimkontcommented, Aug 19, 2017

Hi, for those following this issue (cc/ @akuckartz , @nandana , @chile12 , @gcpdev, @seebi) the description is now updated to the latest SHACL support from RDFUnit. Thanks to @neradis an implementation report will be submitted soon and a new artifact will be published to maven central after some polishing. Until then, you can use latest master branch for testing.

Any feedback / bug reports are more than welcome

0reactions
tomas-knapcommented, Aug 21, 2017

Great, we will try it out!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shapes Constraint Language (SHACL) - W3C
SHACL -SPARQL processors as processors that support validation with the SHACL-SPARQL Language. This document includes syntactic rules that shapes ...
Read more >
SHACL - Wikipedia
Shapes Constraint Language (SHACL) is a World Wide Web Consortium (W3C) standard language for describing Resource Description Framework (RDF) graphs.
Read more >
SHACL Validation — GraphDB 10.1.0 documentation
W3C standard Shapes Constraint Language (SHACL) validation is a valuable tool for efficient data consistency checking, and is supported by GraphDB via ...
Read more >
SHACL (Shapes Constraint Language) | AllegroGraph 7.3.0
SHACL is a SHApe Constraint Language. It specifies a vocabularly (using triples) to describe the shape that data should have.
Read more >
SHACL Playground
In a nutshell, a SHACL processor takes a shapes graph and a data graph as input. ... No SHACL-SPARQL support; No dynamic loading...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found