RocketRML
RocketRML copied to clipboard
termType rr:IRI in subjectMap
I'm trying to apply a YARRRML Condition in the subject. It should only create a subject on a specific condition, but the parser throws an ???
error from input-parser/parser.js. It seems the termType rr:IRI in subjectMaps are not (yet) supported?!
An example mapping to reproduce this error is:
prefixes:
schema: "http://schema.org/"
fn: "http://example.com/"
mappings:
person:
sources:
- ['input~jsonpath', '$.persons[*]']
s: http://example.com/$(firstname)
condition:
function: fn:isSet
parameters:
- [fn:input, $(public)]
po:
- [a, schema:Person]
Is there another way to apply conditions on subject generation?