Repeated XML NUTS
elements not creating mapping from JSON vocabulary
#228
Labels
bug
Something isn't working
NUTS
elements not creating mapping from JSON vocabulary
#228
Environment
rmlmapper v6.2.2 (reproducible also as far back as v6.1.3 and even older)
Linux/WSL2
Java 11
Problem
Given the following kind of input XML:
and the following kind of subject mapping:
and the following kind of predicate-object mapping:
with the following kind of value mapping vocabulary in
JSON
format:Actual
Results in no mapping created for
epo:hasNutsCode
.Expected
Should result in as many instances of
epo:hasNutsCode
with values as there areNUTS
elements withCODE
values, matching terms in the given vocabularynuts.json
.Workaround
Removing all but one
NUTS
element results in a successful mapping ofepo:hasNutsCode
.Input:
Output:
MWE
rml-mwe-nuts-json.zip
Context
This was discovered while troubleshooting #226, a result reproducibility issue pertaining to the mapping of OP TED XML notices to generate RDF.
P.S: The issue described in #226 for reproduction actually is about a partial, incomplete original result, i.e. multiple values created only one mapping, which is no longer reproducible (as in turn evidenced in this ticket).
The text was updated successfully, but these errors were encountered: