The IRI directive should ignore empty cells
Having this transformation rule, for example
Class: @A*
Annotations: foaf:depiction @B*(IRI)
will throw an error if there are empty cells in column B
is there a possibility to use nesting with mm:SkipIfEmptyLocation in this case? I don't know what the right notation is (and if this is even possible)...
I think the issue is that an error is thrown even if this directive is used.
In general, this directive can be used to seamlessly handle empty cells.
Well, I had a case where I could use the following successfully:
Class: @A*
Annotations: foaf:depiction @B*(mm:SkipIfEmptyLocation)
but the result is then that the object of foaf:depiction is stored as a string (not an IRI). So we need (mm:SkipIfEmptyLocation) followed by (IRI) as the last one used on its own will throw an error if the cell is empty
But like I said, I don't know if this kind of nesting is possible... I tried several combinations without success, e.g.
Class: @A*
Annotations: foaf:depiction @B*(IRI)@B*(mm:SkipIfEmptyLocation)
You can use multiple processing directives in a reference. e.g.,
Class: @A*
Annotations: foaf:depiction @B*(IRI mm:SkipIfEmptyLocation)
Indeed, this is throwing the "no value present" error