RocketRML icon indicating copy to clipboard operation
RocketRML copied to clipboard

termType rr:IRI in subjectMap

Open simeonackermann opened this issue 4 years ago • 2 comments

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?

simeonackermann avatar Dec 17 '20 11:12 simeonackermann