RMLio / RMLio/MappingWeaver-java
Templates not working without TermType
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 3
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
描述
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" .
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
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.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- data
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 65/100