SHACL support
See original GitHub issueThis 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 inSELECT ?this (<a> AS ?path) WHERE {...}
is not yet supported (planned to be). what can be done instead for now isSELECT ?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:
- Created 8 years ago
- Reactions:5
- Comments:5 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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
Great, we will try it out!