RMLio / RMLio/MappingWeaver-java
Templates not working without TermType
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- Java
- Estrellas
- 3
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
When using rml:template to construct an expression value without a corresponding rml:termType, the triples in question are missing from the output, except when they result in a well-formed HTTP URI. According to the RML spec however, any resulting string (not NULL) needs to be mapped to its canonical RDF/XSD form.
Minimal example:
:mapping a rml:TriplesMap ;
rml:logicalSource [
# JSONPath root iterator over { "key": "value" }
] ;
rml:subjectMap [ rml:termType rml:BlankNode ] ;
rml:predicateObjectMap [
rml:predicate <urn:example:typeless> ;
rml:objectMap [ rml:template "key" ] ;
], [
rml:predicate <urn:example:typed> ;
rml:objectMap [
rml:termType rml:Literal ;
rml:template "key"
] ;
] .
Output:
_:Blank1 <urn:example:typed> "key" .
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.
Línea de trabajo
Start by reproducing the minimal JSONPath and RML mapping example from the issue, then locate the code that handles rml:template values when rml:termType is absent. Done means the typeless template produces the expected canonical RDF/XSD value instead of omitting the triple, while the explicitly literal case remains unchanged.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- java
- Área
- data
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 65/100