以下の例は、parent という名前のルートと child という名前の単一の子で構成されたツリーを示しています。この例で使用されている ID は単純なストリングです。通常は、これより長い不透明な値が使用されます。(インポートでは不透明な値が保管および送信されますが、それらの解釈は試行されません。)
以下の Turtle ファイルは、「製品のインポート」画面を使用してインポートされました。
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix pd_ext: <http://jazz.net/ns/pd/extensions#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<>
pd_ext:product _:resource1 ;
pd_ext:product _:resource2 .
_:resource1
dcterms:identifier "abcd" ;
dcterms:title "parent" ;
pd_ext:conceptIdentifier "item1" ;
pd_ext:property [
dcterms:title "weight" ;
rdf:value "1.6"
];
pd_ext:property [
dcterms:title "material" ;
rdf:value "steel"
];
dcterms:references <https://machine1:9443/workItem/3456> ;
pd_ext:childIdentifier "efgh" .
_:resource2
dcterms:identifier "efgh" ;
dcterms:title "child" ;
pd_ext:conceptIdentifier "item2" ;
pd_ext:dimensionValuePair [
pd_ext:dimensionTitle "geo" ;
pd_ext:shared "true" ^^xsd:boolean ;
rdf:value "uk"
];
pd_ext:dimensionValuePair [
pd_ext:dimensionTitle "volts" ;
rdf:value "230"
].
インポートが完了したら、以下のイメージに示すように、「トップレベル製品の表示」リンクをクリックして、インポートされたトップレベル製品を表示します。
