Very different behavior on iterators compared to RMLViewer + RMLMapper
还没有人认领这个 Issue。
评估
调研方向
Start by reproducing the supplied LogicalViews scaffolding and the iterator/reference cases, then trace how MappingWeaver handles nested fields and array values. Compare the results with RMLViewer and RMLMapper; done means the differing cases have an agreed, tested behavior or the incompatibility is clearly documented.
由索引模型根据 Issue 内容生成。
描述
Following up on #3, but using LogicalViews, there's a big gap between what MappingWeaver allows to access array values, versus what RMLViewer + RMLMapper allow.
Given the following scaffolding:
:view a rml:LogicalView ;
rml:viewOn [
# JSONPath root iterator over { "key": [ "1", "2" ] }
] ;
rml:field [
rml:fieldName "key"
# insert field definition from list below
] .
:mapping a rml:TriplesMap ;
rml:logicalSource :view ;
rml:subjectMap [ rml:termType rml:BlankNode ] ;
rml:predicateObjectMap [
rml:predicate <urn:example:hasValue> ;
rml:objectMap [
# insert corresponding reference from field definitions below
]
] .
A. With direct reference rml:reference "key" in the mapping:
rml:reference "key[*]"in the view's field worksrml:reference "$.key[*]"in the view's field worksrml:reference "key"in the view's field fails in MappingWeaverrml:reference "$.key"in the view's field fails in MappingWeaverrml:iterator "$.key[*]"(without nested field) fails in MappingWeaver and RMLViewer+RMLMapper
B. With nested reference rml:reference "key.value" in the mapping:
- Using
rml:iterator "$.key[*]" ; rml:field [ rml:fieldName "value" ; ... ]in the view:
rml:reference "@"in the nested field works (and MappingWeaver adds canonical type)rml:reference "[*]"in the nested field fails in MappingWeaverrml:reference "$"in the nested field fails in MappingWeaver
-
Using
rml:iterator "key[*]" [ rml:fieldName "value" ; ... ]in the view, all of the references above (@,[*],$) fail in MappingWeaver -
Using
rml:iterator "$.key" [ rml:fieldName "value" ; ... ], in the view, all of the references above fail in MappingWeaver -
Using
rml:iterator "key" [ rml:fieldName "value" ; ... ], in the view, all of the references above fail in MappingWeaver
- 主要语言
- Java
- 星标
- 3
- 派生
- 1
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
RMLio/MappingWeaver-java 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
RMLio/MappingWeaver-java#11 ·
-
难度 3/5 1-2 天 新手友好度 55/100
RMLio/MappingWeaver-java#13 ·
-
难度 3/5 1-2 天 新手友好度 58/100
RMLio/MappingWeaver-java#12 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 55/100
RMLio/MappingWeaver-java#10 ·
-
难度 3/5 1-2 天 新手友好度 55/100
查看 RMLio/MappingWeaver-java 的全部 Issue
相似的 Issue
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
apache/flink-agents#1152 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 70/100
jenkinsci/blueocean-plugin#5417 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
objectionary/eo-graphs#75 ·