Comments (5)
Oki, then summing up the proposed changes in this issue:
- Add two subclasses of
:ExpressionMap
::ParentMap
and:ChildMap
- Add two new properties:
:parentMap
and:childMap
; adjusting:parent
and:child
to be the shortcuts
Then instead of:
ex:po rml:joincondition [ rml:child [ rml:reference "foreignId" ] ; rml:parent [ rml:reference "Id" ] ] .
We would have without shortcuts:
ex:po rml:joincondition [
rml:childMap [
rml:reference "foreignId"
] ;
rml:parentMap [
rml:reference "Id"
]
] .
And with shortcuts:
ex:po rml:joincondition [
rml:child "foreignId";
rml:parent "Id"
] .
from rml-core.
To fully match with #53, I'd suggest to use the names rml:parentMap
and rml:childMap
to refer to parent expression and child expression, and maybe have rml:parent
and rml:child
as their reference shortcut property (so they actually refer to parent reference and child reference).
If we don't do that I assume the most simple join will be of form below, as an expression means that the object should be an ExpressionMap?
ex:po rml:joincondition [
rml:child [
rml:reference "foreignId"
] ;
rml:parent [
rml:reference "Id"
]
] .
from rml-core.
I believe it's called parent column and child column right now. I think we should change this to parent expression and child expression. I think this matches well with the proposal in #53
from rml-core.
If I combine #59 and #53 I would think that there is no problem if we call them ParentMap
and ChildMap
as long as we clarify that they inherit from the ExpressionMap
and not the TermMap
. Namely that would allow us to use references, templates and constants but not termtype, language and datatype which feels reasonable.
cc/ @anaigmo
from rml-core.
This issue had a proposal and is done. Closing.
from rml-core.
Related Issues (20)
- 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 8
- Missing test cases for multi-valued reference maps HOT 4
- Inconsistencies, errors, ... in SHACL shapes
- OM, SM, and GM may have no reference, template, or constant HOT 6
- Implementation notes HOT 18
- Should DatatypeMap be defined as a TermMap? HOT 3
- Result of expressions should be an array/list instead of set
- Use RFC 9535 JSONPath compliant query expressions in spec and test cases
- Define ill-formed joins in the spec HOT 4
- capture a piece of JSON/XML as a literal HOT 2
- Define Logical Source in RML-Core instead of RML-IO HOT 1
- Miss-Alignment between the shapes in https://kg-construct.github.io/rml-core/ontology/rml-core-bc.ttl and R2RML specification HOT 4
- There is no notion of order in RDF mappings, and this has implications for the RDF output HOT 2
- How to construct graph object HOT 2
- Replace `sh:name` and `sh:description` in SHACL shapes HOT 2
- Issue in test case 10b-JSON HOT 3
- Enhance validation and generation error description in the spec HOT 8
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.