Comments (2)
Couldn't the same be achieved with 2 predicate object maps, each having a predicate map but a different graph map?
Wouldn't you achieve the same with the following?
rml:subjectMap [
rml:template "subject"
];
rml:predicateObjectMap [
rml:graph ex:graphA;
rml:graph ex:graphB;
rml:predicateMap [
rml:constant ex:predicateAB;
];
rml:object <object>
];
rml:predicateObjectMap [
rml:graph ex:graphC;
rml:predicateMap [
rml:constant ex:predicateC;
];
rml:object <object>
].
from rml-core.
It is indeed possible to do it as you proposed.
However, the complexity comes when I start using LogicalTargets and FnO functions.
According to the specs for LogicalTargets and RML-FnO, both of them could be defined at the TermMap level for SM, PM, and OM.
It is just a syntactic sugar at this point, however, as a user (especially a new RML user), I would expect to also be able to define GraphMaps at the level of PM, and OM too. Since it is in a sense a "grouping" operation on triples.
Furthermore, depending on the predicate or object, I would like to group the triples into a specific named graph.
Otherwise, as it stands, I have to think at POM level which makes it a little bit confusing when combining LogicalTargets and FnO functions.
from rml-core.
Related Issues (20)
- parent and child terminology HOT 5
- Testcases: port from RML testcases
- Some bad hyperlinks in the spec HOT 3
- Data error handling (e.g., lenient mode)
- Separate sections for ExpressionMap and TermMaps in spec
- rr:template: also provide an URI-unsafe alternative? HOT 1
- Ontology: rdfs:isDefinedBy using incorrect ontology IRI HOT 1
- Join specification when logical source is the same HOT 11
- Mistakes in the shapes HOT 6
- Joins in RML HOT 25
- Validity of template HOT 1
- The RML namespaces do not dereference HOT 6
- What about referencing object/term maps HOT 2
- Issues in test cases HOT 7
- Defining window operations in RML HOT 4
- Details lacking in datatype map HOT 1
- RML-Core test cases are too dependent on RML-IO HOT 3
- Bugs in shacl shapes HOT 2
- Section 6.6.1 Automatically deriving datatypes is underspecified HOT 6
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.