Closed giorgialodi closed 3 years ago
I would like to specify that in the example above I call a specific function but the issue seems independent of the type of function: it happens even with others more complex.
@giorgialodi , we are looking into it, and will come back to you! :) Kind regards, G
@giorgialodi , we are looking into it, and will come back to you! :) Kind regards, G
Hi @gertjandemulder thanks a lot! Not sure if it can help you but it seems to us that the issue is here: https://github.com/RMLio/RMLStreamer/blob/592793b28224512cfffcda3fd3dacc7ff94440e5/src/main/scala/io/rml/framework/engine/statement/ObjectGeneratorAssembler.scala#L47
where
Uri(elem.toString) should be Uri(elem.value)
Hi @giorgialodi , that was the issue indeed. The code is pushed to the development branch.
Hi @gertjandemulder thanks a lot!
Hi guys @bjdmeest @gertjandemulder
I am trying to use the RML streamer but I am encountering a set of issues. One of these issues is the following.
I need to define a triple which is < subject > predicate < object > where object is not a literal but a URI. In order to construct the URI of the object, i need to invoke a function that returns rr:termType rr:IRI. The result is the following: < subject > predicate <"object">; so the URI is between <> and "" which is very strange.
To be more precise, an example is the following:
The output is the following:
<https://example.org/subject/A> <https://example.org/predicate> <"https://example.org/object/b"> .
The quotes in the output are strange. So it seems that it recognises the URI of the object but it puts the value between quotes.
In the RMLMapper the same code works perfectly.
Could you please help me to fix that URI? Thanks a lot!