-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error translating functions in RML that contain join string #77
Comments
Hi, I am also expriencing this issue. Additionally, does yatter parse YARRRML with functions into RML-FNML? Thanks, |
Hi @neobernad, |
Hi @dachafra, Thank you for your quick response. Happy to hear that out! :-) Best, |
Hi @neobernad @jatoledo |
btw, remember that in yatter you can specify the join conditions in a shortcut way:
|
Hi @dachafra, Sorry for commenting in a closed issue, I do not know if I should open a new one as it is still an issue regarding the YARRRML translation. I have the following YARRRML file (actually it is longer and I have anonymized it): prefixes:
ds_data: https://example.com/data/MyData/
ds_property: https://example.com/MyProperty/
rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
rdfs: http://www.w3.org/2000/01/rdf-schema#
grel: http://users.ugent.be/~bjdmeest/function/grel.ttl#
morph-kgc: https://github.com/morph-kgc/morph-kgc/function/built-in.ttl#
sources:
MyDataSource:
- data.xlsx
mappings:
PersonMappings:
sources: MyDataSource
s: ds_data:$(person_name)
po:
- [rdf:type, ds_property:Person]
- [rdfs:label, $(person_name), xsd:string]
The execution of the translation of the file above raises an exception yaml = YAML(typ='safe', pure=True)
rml_content = yatter.translate(yaml.load(open("mappings.yml"))) Here, What could be wrong? After having a quick look debugging yatter, it seems that the YARRRML file is being properly opened and parsed, but something in the Thanks, |
Please, can you open a new issue so I can maintain a proper tracing of everything? Thanks! I'll take a look right now, in any case |
Error translating YARRRML to RML:
IndexError: list index out of range
Yarrrml mapping:
The text was updated successfully, but these errors were encountered: