Comments (4)
From that same paragraph, the next sentence:
A shape has at most one value for sh:path
I thought this meant that it's fine without sh:path
. For comparison, here's the same example running Top Quadrant's engine: https://s.zazuko.com/2KuNiJa
I would like to hear @HolgerKnublauch's opinon. From what I understand, the shapes from the sh:or
are merged in runtime, forming a valid property shape effectively. Parse time would too early to determine correctness of such a shape
Maybe
sh:or
should be on the node shape by removing the sh:property (line 25) and its closing]
?
This my actually work. I always forget that skipping sh:property
altogether is also valid in some scenarios
from jena.
https://www.w3.org/TR/shacl/#property-shapes
A property shape is a shape in the shapes graph that is the subject of a triple that has sh:path as its predicate.
A property shape must have an sh:path
.
The stacktrace is at parse time. Line 25 (which should be indented?) has sh:property with no sh:path. The sh:or
, each with a sh:path
does not fulfil the definition.
Maybe sh:or
should be on the node shape by removing the sh:property (line 25) and its closing ]
?
from jena.
That text isn't wrong but it does not override or modify the previous text. "Exactly one" would be better. Elsewhere it says
Each value of sh:property in a shape must be a well-formed property shape.
If the code walks from the target start point it is encountered as a node shape. I can't see text that then makes the sh:or
apply because it is not attached to the node shape (obviously, the code is interpreting sh:property with no sh:path
as having no path step).
Jena parses all the shapes, not just reachable ones from targets, or ones encountered while validating the data.of the data.
from jena.
SEMICeu/DCAT-AP has made changes.
from jena.
Related Issues (20)
- RRX: Make unqualified, unrecognized attributes an error.
- ontapi: cleanup javadocs - remove legacy model references
- Clean the build HOT 4
- Should jena-geosparql be shaded be downloadable without dependencies? HOT 4
- QueryExecBuilder.substitution() doesn't replace references in aggregation expressions HOT 5
- How to set rdf:parseType="Literal" ? HOT 4
- Tooling to produce HTML for SHACL-C
- ontapi: several defects in profiles support (RL, QL)
- Missing Maven Prometheus dependency in 5.1.0 HOT 5
- Consolidate NullIterator and SingletonIterator around Iter functions
- Rename XMLLiteralType.theXMLLiteralType as XMLLiteralType.rdfXMLLiteral
- RDF/XML: The presence of both rdf:parseType and rdf:datatype on a property element should be an error
- ontapi: do not allow OntDisjoints with less than 2 members
- ontapi: InverseObjectProperties should be disabled for EL
- RDFConnectionHTTP may cause an initialization NPE
- Logging SPARQL Updates
- Allow custom serialization formats in Fuseki HOT 8
- API call to get a snapshot of running queries
- Add support for configurable indentation length in turtle serialization HOT 1
- Parsing of double and decimal fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jena.