nkons / r2rml-parser

R2RML Parser is an award-winning tool that can export relational database contents as RDF graphs, based on an R2RML mapping document.
Apache License 2.0
68 stars 21 forks source link

Problem with uri generation with ISWC sample #28

Open ofilangi opened 6 years ago

ofilangi commented 6 years ago

I test your application with the example provided (iscw). A bad uri is generated : <http://data.example.com/postalAddress/De Boelelaan 1081a 1081 HV The Netherlands>

this error can be find too in the iswc/iswc-dump.rdf file.

nkons commented 6 years ago

Thanks for spotting this.

Now, as r2rml-parser outputs the rdf model using Jena, I suppose the notion of a good or bad url in the tool is the same as in Jena.

Please note however, that in r2rml.properties you can set jena.encodeURLs=true This uses Java's URLEncoder.encode method, but I 'm not sure this will give you the result you 'd like.