RMLio / RMLio/MappingWeaver-java
Templates not working for non-http IRIs
オープン
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 3
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
When using rml:template to construct an IRI, explicitly indicated with rml:termType, the triples in question are missing from the output, except when they result in a well-formed HTTP URI.
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:http> ;
rml:objectMap [
rml:termType rml:IRI ;
rml:template "http://example.org/{key}"
]
], [
rml:predicate <urn:example:file> ;
rml:objectMap [
rml:termType rml:IRI ;
rml:template "file:///example/{key}"
]
], [
rml:predicate <urn:example:urn> ;
rml:objectMap [
rml:termType rml:IRI ;
rml:template "urn:example:{key}"
]
], [
rml:predicate <urn:example:relative> ;
rml:objectMap [
rml:termType rml:IRI ;
rml:template "./{key}"
]
] .
Output:
_:Blank1 <urn:example:http> <http://example.org/value> .
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Start by running the minimal mapping example and tracing how rml:termType rml:IRI with rml:template is handled. Compare the HTTP, file, URN, and relative templates to find why only the HTTP result is emitted. Done means all four expected triples appear in the output.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- data-engineering
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100