SHACL features #2

Open
labra opened this Issue Aug 9, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@labra
Owner

labra commented Aug 9, 2016

SHACL features based on: Current Working draft

Target selection

Feature Supported Pending
Target Node sh:targetNode
Class-based targets sh:targetClass
Implicit class targets
Subjects of targets sh:targetSubjectsOf
Objects of targets sh:targetObjectsOf

Shapes

Feature Supported Comments
sh:message It depends on validation report
sh:severity It depends on validation report
sh:deactivated
owl:imports

Validation report

At this moment we don't generate an RDF validation report.
However, we report the different errors following SHACL spec and in the future we will convert our result format to an RDF validation report. Also, in case of positive validation, SHACL gives more information about which nodes have been validated and the evidences for their validation.

Constraints

Feature Supported Pending
Node constraints
Property shapes (sh:path)
Path constraints

Constraint components

Feature Supported Pending Comments
sh:class
sh:datatype Not implemented yet the check of ill-typed literals
sh:nodeKind
sh:minCount
sh:maxCount
sh:minInclusive, sh:maxInclusive, sh:minExclusive, sh:maxExclusive
sh:minLength
sh:maxLength
sh:pattern Based on Scala's regex
sh:flags
sh:languageIn
sh:uniqueLang
sh:equals The comparison is not based on XPath
sh:disjoint The comparison is not based on XPath
sh:lessThan The comparison is not based on XPath
sh:lessThanOrEquals The comparison is not based on XPath
sh:not
sh:and
sh:or
sh:xone
sh:node
sh:qualifiedValueshape, qualifiedMinCount, qualifiedMaxCount :
sh:qualifiedValueshapesDisjoint
sh:closed
sh:ignoredProperties
sh:hasValue
sh:in

SPARQL based constraints

() Non-supported: The core implementation is defined in Scala. Under the hood, it uses Jena and SPARQL, so it could also implement the SPARQL based extension mechanism in the future.

@labra labra changed the title from Cover all SHACL features to SHACL features Aug 9, 2016

@labra labra added the SHACL label Dec 2, 2016

@kelevr4

This comment has been minimized.

Show comment
Hide comment
@kelevr4

kelevr4 Dec 30, 2016

Is sh:path supported yet? Property constraints contains sh:predicate and also sh:path.

kelevr4 commented Dec 30, 2016

Is sh:path supported yet? Property constraints contains sh:predicate and also sh:path.

@labra

This comment has been minimized.

Show comment
Hide comment
@labra

labra Dec 31, 2016

Owner

Not yet. The row path constraints was the one that indicated that it didn't support sh:path yet. I have added a specific row to clarify that better. It is intended to add support for them once SHACL gets more stable.

Owner

labra commented Dec 31, 2016

Not yet. The row path constraints was the one that indicated that it didn't support sh:path yet. I have added a specific row to clarify that better. It is intended to add support for them once SHACL gets more stable.

@labra

This comment has been minimized.

Show comment
Hide comment
@labra

labra Feb 12, 2017

Owner

I have added support for sh:path and updated the table accordingly.

Also removed some features that are no longer part of the spec.

Owner

labra commented Feb 12, 2017

I have added support for sh:path and updated the table accordingly.

Also removed some features that are no longer part of the spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment