kg-construct / rml-questions

The place for your RML questions and examples
2 stars 0 forks source link

Call to slugify for subjectMap? #29

Closed GenEars closed 2 years ago

GenEars commented 2 years ago

Dear RML team/users,

With the rmlmapper-java tool, I wish I could generate subjects with a rr:subjectMap [ rr:template "http://example.org/doc/{id}" ; ] ; structure where {id} would be slugified with rmlmapper/default-functions#slugify.

However it seems that functions results cannot be passed to a rr:template structure. There on, I thought of using the concat default function (not handy for complex URIs !) or generate complex slugified URIs thorugh an adhoc fno:Function.

... do you have any piece of advice about this?

dachafra commented 2 years ago

@GenEars If this is a problem with the engine please, open an issue in its repo. If it is a problem on how to create the mapping, please open a discussion here

GenEars commented 2 years ago

My question looks similar to https://github.com/kg-construct/rml-questions/discussions/15 Thanks for the discussion link.