-
Notifications
You must be signed in to change notification settings - Fork 62
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
Function composition in subject URI template #231
Comments
the indentation of prefixes:
ex: "http://example.com/"
grel: "http://users.ugent.be/~bjdmeest/function/grel.ttl#"
mappings:
person:
sources:
- ['data.json~jsonpath', '$.persons[*]']
s:
function: grel:array_join
parameters:
- [ grel:p_array_a, "https://example.org/" ]
- parameter: grel:p_array_a
value:
function: grel:string_md5
parameters:
- [ grel:valueParameter, $(firstname)]
po:
- [a, foaf:Person] |
Thank you! |
Hmm.. I tried applying the same logic to graph:
function: grel:array_join
parameters:
- [ grel:p_array_a, "bridgestone-qualifications:" ]
- parameter: grel:p_array_a
value:
function: grel:string_md5
parameters:
- [ grel:valueParameter, $(label) ] I get "Could not generate RML rules." in Matey. |
This is the
|
That's probably a small bug of the parser, we'll fix it, but in the meantime I think you can just put the graph object in an a array:
|
tracking in RMLio/yarrrml-parser#206 |
Thanks, this works. |
This YARRRML generates RML in Matey but does not generate any RDF using the default
data.json
with persons:What are we doing wrong?
The text was updated successfully, but these errors were encountered: