RMLio / yarrrml-parser

A YARRRML parser library and CLI in Javascript
MIT License
41 stars 17 forks source link

Cannot create named blank node as subject #198

Open bjdmeest opened 1 year ago

bjdmeest commented 1 year ago

Issue type: :bug: Bug

Description

I wanna build something like https://rml.io/test-cases/#rmltc0001b-csv , but YARRRML below doesn't contain the termtype

Steps

mappings:
  loc:
    s:
      value: $(ID)_$(loc)
      type: blank

becomes (snippet)

map:s_000 rml:reference "firstname" ;
    rdf:type rr:SubjectMap .

Environment

Matey, and latest yarrrml-parser (1.5.2)

Melchyore commented 1 year ago

Hey! I'm running into the same issue. It works for the objects, but not for the subjects.