Skip to content
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

IRI as object #19

Open
charta77 opened this issue Jan 19, 2016 · 2 comments
Open

IRI as object #19

charta77 opened this issue Jan 19, 2016 · 2 comments

Comments

@charta77
Copy link

Hi,
in our project we have mapping rule
rr:predicateObjectMap [
rr:predicate jup:seeAlso;
rr:objectMap [ rr:column "web_url" ; rr:termType rr:IRI; ];
];

so we expect something like this
[] jup:seeAlso http://www.another-example.org .

but the parser generates this :(
[] jup:seeAlso http://lod.mapybezbarier.cz/resource/http%3A%2F%2Fwww.another-example.org .

Can anybody help me please?

Thank you

Petr

@nkons
Copy link
Owner

nkons commented Jan 21, 2016

Hi Petr,

Thanks for bringing this up. I added one more property, default.forceURI in r2rml.properties that configures the tool to treat objects as URIs (even if they are explicitly declared as Literals).

See latest commit (960b099) and please let me know if this solves this issue.

Best,
Nikolaos

@charta77
Copy link
Author

Hi,
property default.forceURI in r2rml.properties works if there is a rr:template, not a rr:column.
In our case:
rr:predicateObjectMap [
rr:predicate jup:seeAlso;
rr:objectMap [ rr:template "{web_url}" ; ];
];

Thank you very much Nikos!
Petr

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

No branches or pull requests

2 participants