This example shows a tree that consists of a root that is called parent and has a single child that is called child. The identifiers that are used in this example are simple strings. Typically, longer unique and opaque values are used. (Import stores and transmits opaque values, but does not attempt to interpret them.)
The following Turtle file was imported through the Import Products screen.
@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"
].
After the import is completed, click the View Top-Level Products link to see the top-level products that were imported, as shown in the following image.
