Skip to content

feature request: mapping on simple paths #419

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

Open
bertvannuffelen opened this issue Oct 3, 2023 · 0 comments
Open

feature request: mapping on simple paths #419

bertvannuffelen opened this issue Oct 3, 2023 · 0 comments

Comments

@bertvannuffelen
Copy link

Is there a possibility to add a path to a property mapping?

In my target RDF structure I have

ex:123 <https://dvl.be/ns/model#prop1> _:b0 .
_:b0 <https://dvl.be/ns/model#prop2> "AAAB" .

which would correspond to a json structure (one-to-one) as follows

 "prop1" : {
   "prop2" : "AAAB"
 },

But now I have the challenge that I would like to create a json structure:

"prop3" : "AAAB"

where thus the nesting in RDF is lifted.

It would be nice if I could map prop3 as follows in a path:

"prop3" : {
     "@id" : "<https://dvl.be/ns/model#prop1>/<https://dvl.be/ns/model#prop2>"
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Future Work
Development

No branches or pull requests

1 participant