Comments (5)
This construct you mention is to enforce that any of these options is picked (so minCount == 1) and also that you don't put multiple of these options (maxCount == 1).
allow no such thing for subject maps and object maps (and arguably graph maps)
I cannot follow here. Each of these maps must have exactly one of these options right? A subject map must have a template/constant/reference/... right?
You can enforce it more strict in the specific maps though if needed.
from rml-core.
Rethinking this issue: is this when you have rml:termType rml:BlankNode
without a template?
If that's the only 'exception' to the rule, we should maybe define this restriction:
IF termType == BlankNode
minCount = 0
ELSE
minCount = 1
?
from rml-core.
Yes, but what if no rml:termType
is provided? I'm also thinking about the Gather Maps, and it is difficult (impossible?) to "overwrite" shapes in SHACL. My approach is more: if no rml:template
, rml:reference
, and rml:constant
, then the rml:termType
is assumed to be rml:BlankNode
. This rule would work with predicate maps as well as the inferred term type blank node violates the rml:termType rr:IRI
constraint.
from rml-core.
Yes, but what if no rml:termType is provided?
There should be a default which should be used. For SubjectMaps this is IRI. It will be a 'fun' job to actually check this in SHACL shapes...
and it is difficult (impossible?) to "overwrite" shapes in SHACL.
I'm not sure how you can overwrite things I'm afraid... It is purely an AND/OR/XOR story AFAIK. Correct me if I'm wrong.
from rml-core.
I would argue that the default when no constant, template, or reference is provided should be blank nodes. That's the only thing that you can generate based on the iteration. Defaults can be "inferred" once you have one of them.
from rml-core.
Related Issues (20)
- Bugs in shacl shapes HOT 2
- Section 6.6.1 Automatically deriving datatypes is underspecified HOT 6
- Issue in test case 10b-JSON HOT 3
- Should RML engines always output valid RDF? HOT 6
- Issues with MySQL test cases HOT 10
- RFC: RMLTC0002c-JSON & RMLTC0002c-XML (bis) HOT 2
- Error in spec about referencing attributes when processing XML HOT 1
- Issues with XML test cases HOT 3
- Missing test cases for multi-valued reference maps
- Inconsistencies, errors, ... in SHACL shapes
- Implementation notes HOT 14
- Should DatatypeMap be defined as a TermMap?
- Result of expressions should be an array/list instead of set
- Use RFC 9535 JSONPath compliant query expressions in spec and test cases
- capture a piece of JSON/XML as a literal HOT 1
- Issue with Postgres test cases RMLTC0005a-PostgreSQL and RMLTC0005b-PostgreSQL
- SQL join on different data types should be ill-defined HOT 1
- Enabling conditions on functions HOT 3
- Define Logical Source in RML-Core instead of RML-IO
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 rml-core.