yarrrml-parser icon indicating copy to clipboard operation
yarrrml-parser copied to clipboard

parentTermMap instead of reference

Open ghsnd opened this issue 2 years ago • 0 comments

Issue type: :bug: Bug

Description

When using references in functions, a rml:parentTermap gets generated instead of a rml:reference.

Steps

Generate RML from test/condition-function-on-po/mapping.rml.ttl

The resulting RML looks like:

:om_007 rdf:type rr:ObjectMap ;
	rml:parentTermMap :ptm_000 .

:ptm_000 rml:reference "firstname" .

While it should look like:

:om_007 rdf:type rr:ObjectMap ;
	rml:reference "firstname" .

(This also makes test test/condition-function-on-po invalid)

ghsnd avatar Jul 07 '22 14:07 ghsnd