다음 예제는 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"
].
가져오기가 완료된 후 최상위 레벨 제품 보기 링크를 클릭하면 다음 이미지에 표시된 대로 가져온 최상위 레벨 제품이 표시됩니다.
