Iterating over single value fails
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start by reproducing issue #9 with the minimal RML mapping and JSON value shown in the report, then trace how MappingWeaver handles the [*] reference when the referenced value is not an array. Done means the single JSON value is returned consistently with the behavior described for RMLViewer/RMLMapper, with coverage for this example.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Related to the difference in iterating over arrays (cf. #6), I also noticed that MappingWeaver fails when using the index wildcard [*] in a reference to a JSON value that is not an array. Again, I don't know what the RML spec would prescribe in such cases, but RMLViewer/RMLMapper nevertheless return the single JSON value instead.
Minimal example:
:view a rml:LogicalView ;
rml:viewOn [
# JSONPath root iterator over { "key": "value" }
] ;
rml:field [ rml:fieldName "key" ; rml:reference "key[*]" ]
.
:mapping a rml:TriplesMap ;
rml:logicalSource :view ;
rml:subjectMap [ rml:termType rml:BlankNode ] ;
rml:predicateObjectMap [
rml:predicate <urn:example:hasValue> ;
rml:objectMap [ rml:reference "key" ]
] .
- Lenguaje dominante
- Java
- Estrellas
- 3
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de RMLio/MappingWeaver-java
-
Bulk output flag throws error Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
RMLio/MappingWeaver-java#11 ·
-
FilePath root ignored Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
RMLio/MappingWeaver-java#13 ·
-
Absolute paths not allowed Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 58/100
RMLio/MappingWeaver-java#12 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
RMLio/MappingWeaver-java#10 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Todos los issues de RMLio/MappingWeaver-java
Issues similares
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
Cannot differ own consent and managed consents in My Consents view and detailed consent view. Abierto1.0.0-alpha2 Type/Improvement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
wso2/dpdp-accelerator#272 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
infinispan/infinispan#18150 ·
-
area/frontend
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100