-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inverse predicates in RML #40
Comments
Overall I agree with this, but isn't it more a core issue rather than an fno issue? Only a clarification, with the following
you mean we can have a POM which only has an inverse predicate map but not a regular predicate map? or do you see more flexibility than this? |
Agreed, but we don't have a separate repository for core yet as far as I know.
Indeed, that is exactly what I meant. |
I like this! Implementation-wise this should be straightforward as well, no additional complexity. |
This is a very old issue and I don't know if we will implement or leave it for the Working Group. I'd like to hear opinions from @andimou @pmaria @DylanVanAssche @anaigmo |
I would like to see this, but depends on RML-Core to add it to the spec. Also needs test cases and SHACL shapes of course. |
IMHO, I would mark it as |
We can leave it on working group, unless I have time to add it beforehand :) |
This feature would come handy. I support it, unless it adds extra complexity in the RML engine. |
An aspect missing from RML is the ability to generate a triple using an inverse predicate.
Specifiying the generation of triples with an inverse predicate would allow you to generate a triple in the inverse direction so
object -> predicate -> subject
in the context of the subject generating triples map.Proposal:
rml:InversePredicateMap
which is a term map that can be referenced from arml:PredicateObjectMap
usingrml:inversePredicateMap
.rml:inversePredicate
forrml:inversePredicateMap
, analogous torr:predicate
.rml:PredicateObjectMap
such that it should have at least onerml:PredicateMap
orrml:InversePredicateMap
. This will allow for maximum flexibility in use.rml:PredicateObjectMap
which also rererences anrml:InversePredicateMap
to IRIs and blank nodes.Example:
or using shortcut properties:
would generate:
The text was updated successfully, but these errors were encountered: