1

このステートメント「Dataset(QuadPattern,μ,GS,GS)」が何を意味するのか、誰か説明してもらえますか?特に、DELETE DATA 操作 (DELETE DATA QuadData) のモデルを理解しようとしていますが、Dataset(QuadPattern ,{},GS,GS) を意味します。

4

1 に答える 1

2

あなたはSPARQL1.1アップデート仕様を参照しているようです:

Dataset(QuadPattern、μ、DS、GS) ... [an]補助関数は、ソリューションマッピングとRDFデータセットが与えられると、QuadPatternからRDFデータセットを構築します。

簡単に言えば、変数を含む可能性のあるグラフで大量のRDFを取得する関数です。例:

GRAPH ?g { ?person a Person ; ex:tel ?tel }
{ ?g ex:source ?source }

および解集合μ:

{ ?g => <http://example.com/graph1> , ?person => <http://example.com/alice> , ?tel => "0898 505050" , ?source => <http://192.com/> }
{ ?g => <http://example.com/graph2> , ?person => <http://example.com/bob> , ?tel => "117 117" , ?source => <http://192.com/> }

これらの値をバインドして、データセットを作成します。

{ 
  <http://example.com/graph1> ex:source <http://192.com/> .
  <http://example.com/graph2> ex:source <http://192.com/> .
}
GRAPH <http://example.com/graph1> { <http://example.com/alice> a Person ; ex:tel "0898 505050" }
GRAPH <http://example.com/graph2> { <http://example.com/bob> a Person ; ex:tel "117 117" }
于 2013-03-11T17:51:41.443 に答える