RMLio / RMLio/MappingWeaver-java
Templates not working without TermType
Nessuno ha ancora preso questa issue.
- Lingua principale
- Java
- Stelle
- 3
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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" .
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- data
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 65/100