Open SvenLieber opened 2 years ago
@SvenLieber I will have a look at it. Is this urgent?
Hi @pheyvaer thanks!
I would say medium priority, but given my late answer probably even low.
For now I use a workaround in such cases with some pre-processing and an additional mapping avoding str_split
.
Instead of one mapping with the single input
id,prop1,prop2
myID,val1,val2.1;val2.2;val2.3
to create myID prop1 val1
and myID prop2 val2.1
, myID prop2 val2.2
and myID prop2 val2.3
,
I have one mapping for all "regular" columns (i.e. myID prop1 val1
) and create a separate input like this
id,prop2
myID,val2.1
myID,val2.2
myID,val2.3
with a separate mapping where I do not have to use the str_split
function
Issue type: :bug: Bug
Description
grel:str_split
function on a semicolon-separated value from a CSV file everything works fine: all values are pickedNot a valid (absolute) IRI:
is throwngrel:str_split
is takenSteps
Following YARRRML does not produce
http://example.org/nonFiction
Test data to reproduce
Result with missing
http://example.org/nonFiction
In case the source data is not empty, no condition is needed and the mapping with split produces all values.
The RML produced looks like the following:
Environment