RMLio / RMLio/MappingWeaver-java

Templates not working for non-http IRIs

オープン
#5 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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> .

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。