Pattern stOTTR 🛈 stOTTR serialisation of the template without annotation instances.
dpm:SampleThinFilmSample[
ottr:IRI ?tf_sample,
xsd:string ?sample_name,
? xsd:string ?lab_id,
NEList<ottr:IRI> ?tf_layer_type,
NEList<ottr:IRI> ?tf_layer_instance
] :: {
ottr:Triple(?tf_sample, rdfs:label, ?lab_id),
ottr:Triple(?tf_sample, rdfs:label, ?sample_name),
zipMin | ottr:Triple(?tf_sample, dpm:hasThinFilmLayer, ++?tf_layer_instance),
o-owl-ax:SubClassOf(dpm:SampleThinFilm, pmd:Sample),
o-owl-ax:SubPropertyOf(dpm:hasThinFilmLayer, pmd:composedOf),
o-rdf:Type(?tf_sample, dpm:SampleThinFilm),
zipMin | o-rdf:Type(++?tf_layer_instance, ++?tf_layer_type),
o-rdfs:Label(dpm:hasThinFilmLayer, "has Thin Film Layer"),
o-rdfs:Label(dpm:SampleThinFilm, "Sample Thin Film")
} . 🛈 The pattern of the template is illustrated by expanding a generated instance. Below the generated instance is shown in different serialisations, and its expansion is presented in different formats.
Generated instance stOTTR dpm:SampleThinFilmSample(x:argument1, _:argument2, _:argument3, (x:argument4-1, x:argument4-2), (x:argument5-1, x:argument5-2)) RDF/wOTTR
[ ottr:of dpm:SampleThinFilmSample ;
ottr:values ( x:argument1
[]
[]
( x:argument4-1 x:argument4-2 )
( x:argument5-1 x:argument5-2 )
)
] . Visualisation of expanded RDF graph 🛈 Each resource node is linked to its IRI. Type relationships are not visualised, rather each node contains its type.
Hierarchical horizontal layout (dot)
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>
dpm:hasThinFilmLayer
https://w3id.org/pmd/co/composedOf : LUB<ottr:IRI>
pmd:composedOf
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>->https://w3id.org/pmd/co/composedOf : LUB<ottr:IRI>
rdfs:subPropertyOf
"has Thin Film Layer"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
has Thin Film Layer
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>->"has Thin Film Layer"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
dpm:SampleThinFilm
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
x:argument4-1
x:argument5-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
dpm:hasThinFilmLayer
http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
x:argument4-2
x:argument5-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
dpm:hasThinFilmLayer
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
rdfs:label
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>
dpm:SampleThinFilm
"Sample Thin Film"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Sample Thin Film
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>->"Sample Thin Film"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
https://w3id.org/pmd/co/Sample : LUB<ottr:IRI>
pmd:Sample
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>->https://w3id.org/pmd/co/Sample : LUB<ottr:IRI>
rdfs:subClassOf
Hierarchical vertical layout (dot)
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>
dpm:hasThinFilmLayer
https://w3id.org/pmd/co/composedOf : LUB<ottr:IRI>
pmd:composedOf
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>->https://w3id.org/pmd/co/composedOf : LUB<ottr:IRI>
rdfs:subPropertyOf
"has Thin Film Layer"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
has Thin Film Layer
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>->"has Thin Film Layer"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
dpm:SampleThinFilm
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
x:argument4-1
x:argument5-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
dpm:hasThinFilmLayer
http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
x:argument4-2
x:argument5-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
dpm:hasThinFilmLayer
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
rdfs:label
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>
dpm:SampleThinFilm
"Sample Thin Film"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Sample Thin Film
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>->"Sample Thin Film"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
https://w3id.org/pmd/co/Sample : LUB<ottr:IRI>
pmd:Sample
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>->https://w3id.org/pmd/co/Sample : LUB<ottr:IRI>
rdfs:subClassOf
Spring model layout (neato)
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>
dpm:hasThinFilmLayer
https://w3id.org/pmd/co/composedOf : LUB<ottr:IRI>
pmd:composedOf
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>->https://w3id.org/pmd/co/composedOf : LUB<ottr:IRI>
rdfs:subPropertyOf
"has Thin Film Layer"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
has Thin Film Layer
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>->"has Thin Film Layer"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
dpm:SampleThinFilm
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
x:argument4-1
x:argument5-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
dpm:hasThinFilmLayer
http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
x:argument4-2
x:argument5-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
dpm:hasThinFilmLayer
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
rdfs:label
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>
dpm:SampleThinFilm
"Sample Thin Film"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Sample Thin Film
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>->"Sample Thin Film"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
https://w3id.org/pmd/co/Sample : LUB<ottr:IRI>
pmd:Sample
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>->https://w3id.org/pmd/co/Sample : LUB<ottr:IRI>
rdfs:subClassOf
Spring model layout (fdp)
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>
dpm:hasThinFilmLayer
https://w3id.org/pmd/co/composedOf : LUB<ottr:IRI>
pmd:composedOf
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>->https://w3id.org/pmd/co/composedOf : LUB<ottr:IRI>
rdfs:subPropertyOf
"has Thin Film Layer"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
has Thin Film Layer
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>->"has Thin Film Layer"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
dpm:SampleThinFilm
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
x:argument4-1
x:argument5-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
dpm:hasThinFilmLayer
http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
x:argument4-2
x:argument5-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
dpm:hasThinFilmLayer
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
rdfs:label
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>
dpm:SampleThinFilm
"Sample Thin Film"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Sample Thin Film
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>->"Sample Thin Film"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
https://w3id.org/pmd/co/Sample : LUB<ottr:IRI>
pmd:Sample
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>->https://w3id.org/pmd/co/Sample : LUB<ottr:IRI>
rdfs:subClassOf
Radial layout (twopi)
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>
dpm:hasThinFilmLayer
https://w3id.org/pmd/co/composedOf : LUB<ottr:IRI>
pmd:composedOf
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>->https://w3id.org/pmd/co/composedOf : LUB<ottr:IRI>
rdfs:subPropertyOf
"has Thin Film Layer"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
has Thin Film Layer
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>->"has Thin Film Layer"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
dpm:SampleThinFilm
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
x:argument4-1
x:argument5-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
dpm:hasThinFilmLayer
http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
x:argument4-2
x:argument5-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
dpm:hasThinFilmLayer
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
rdfs:label
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>
dpm:SampleThinFilm
"Sample Thin Film"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Sample Thin Film
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>->"Sample Thin Film"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
https://w3id.org/pmd/co/Sample : LUB<ottr:IRI>
pmd:Sample
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>->https://w3id.org/pmd/co/Sample : LUB<ottr:IRI>
rdfs:subClassOf
Circular layout (circo)
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>
dpm:hasThinFilmLayer
https://w3id.org/pmd/co/composedOf : LUB<ottr:IRI>
pmd:composedOf
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>->https://w3id.org/pmd/co/composedOf : LUB<ottr:IRI>
rdfs:subPropertyOf
"has Thin Film Layer"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
has Thin Film Layer
https://www.dipromag.de/dipromag_onto/0.1/hasThinFilmLayer : LUB<ottr:IRI>->"has Thin Film Layer"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
dpm:SampleThinFilm
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
x:argument4-1
x:argument5-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
dpm:hasThinFilmLayer
http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
x:argument4-2
x:argument5-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
dpm:hasThinFilmLayer
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
rdfs:label
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>
dpm:SampleThinFilm
"Sample Thin Film"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Sample Thin Film
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>->"Sample Thin Film"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
https://w3id.org/pmd/co/Sample : LUB<ottr:IRI>
pmd:Sample
https://www.dipromag.de/dipromag_onto/0.1/SampleThinFilm : LUB<ottr:IRI>->https://w3id.org/pmd/co/Sample : LUB<ottr:IRI>
rdfs:subClassOf
Expanded RDF graph
dpm:hasThinFilmLayer rdfs:label "has Thin Film Layer" ;
rdfs:subPropertyOf pmd:composedOf .
x:argument5-1 rdf:type x:argument4-1 .
x:argument1 rdf:type dpm:SampleThinFilm ;
rdfs:label [] ;
rdfs:label [] ;
dpm:hasThinFilmLayer x:argument5-2 , x:argument5-1 .
x:argument5-2 rdf:type x:argument4-2 .
dpm:SampleThinFilm rdfs:label "Sample Thin Film" ;
rdfs:subClassOf pmd:Sample . Interactive expansion 🛈 Click the list to expand/contract one list element. Click 'expand/contact all' to expand/contract all elements. Note that the interactive expansion is not correct for instances that are marked by list expanders.
dpm:SampleThinFilmSample(x:argument1, _:argument2, _:argument3, (x:argument4-1, x:argument4-2), (x:argument5-1, x:argument5-2))
ottr:Triple(x:argument1, rdfs:label, _:argument2)
zipMin | ottr:Triple(x:argument1, dpm:hasThinFilmLayer, ++(x:argument5-1, x:argument5-2))
ottr:Triple(x:argument1, rdfs:label, _:argument3)
o-owl-ax:SubClassOf(dpm:SampleThinFilm, pmd:Sample)
ottr:Triple(dpm:SampleThinFilm, rdfs:subClassOf, pmd:Sample)
o-owl-ax:SubPropertyOf(dpm:hasThinFilmLayer, pmd:composedOf)
ottr:Triple(dpm:hasThinFilmLayer, rdfs:subPropertyOf, pmd:composedOf)
zipMin | o-rdf:Type(++(x:argument5-1, x:argument5-2), ++(x:argument4-1, x:argument4-2))
ottr:Triple((x:argument5-1, x:argument5-2), rdf:type, (x:argument4-1, x:argument4-2))
o-rdf:Type(x:argument1, dpm:SampleThinFilm)
ottr:Triple(x:argument1, rdf:type, dpm:SampleThinFilm)
o-rdfs:Label(dpm:SampleThinFilm, "Sample Thin Film")
ottr:Triple(dpm:SampleThinFilm, rdfs:label, "Sample Thin Film")
o-rdfs:Label(dpm:hasThinFilmLayer, "has Thin Film Layer")
ottr:Triple(dpm:hasThinFilmLayer, rdfs:label, "has Thin Film Layer")
Serialisations stOTTR dpm:SampleThinFilmSample[
ottr:IRI ?tf_sample,
xsd:string ?sample_name,
? xsd:string ?lab_id,
NEList<ottr:IRI> ?tf_layer_type,
NEList<ottr:IRI> ?tf_layer_instance
] :: {
ottr:Triple(?tf_sample, rdfs:label, ?lab_id),
ottr:Triple(?tf_sample, rdfs:label, ?sample_name),
zipMin | ottr:Triple(?tf_sample, dpm:hasThinFilmLayer, ++?tf_layer_instance),
o-owl-ax:SubClassOf(dpm:SampleThinFilm, pmd:Sample),
o-owl-ax:SubPropertyOf(dpm:hasThinFilmLayer, pmd:composedOf),
o-rdf:Type(?tf_sample, dpm:SampleThinFilm),
zipMin | o-rdf:Type(++?tf_layer_instance, ++?tf_layer_type),
o-rdfs:Label(dpm:hasThinFilmLayer, "has Thin Film Layer"),
o-rdfs:Label(dpm:SampleThinFilm, "Sample Thin Film")
} . RDF/wOTTR
dpm:SampleThinFilmSample
rdf:type ottr:Template ;
ottr:parameters ( [ ottr:name "tf_sample" ;
ottr:type ottr:IRI ;
ottr:variable _:b0
]
[ ottr:name "sample_name" ;
ottr:type xsd:string ;
ottr:variable _:b1
]
[ ottr:modifier ottr:optional ;
ottr:name "lab_id" ;
ottr:type xsd:string ;
ottr:variable _:b2
]
[ ottr:name "tf_layer_type" ;
ottr:type ( ottr:NEList ottr:IRI ) ;
ottr:variable _:b3
]
[ ottr:name "tf_layer_instance" ;
ottr:type ( ottr:NEList ottr:IRI ) ;
ottr:variable _:b4
]
) ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
rdfs:label
_:b1
)
] ;
ottr:pattern [ ottr:of o-owl-ax:SubClassOf ;
ottr:values ( dpm:SampleThinFilm pmd:Sample )
] ;
ottr:pattern [ ottr:of o-rdfs:Label ;
ottr:values ( dpm:SampleThinFilm "Sample Thin Film" )
] ;
ottr:pattern [ ottr:of o-rdf:Type ;
ottr:values ( _:b0
dpm:SampleThinFilm
)
] ;
ottr:pattern [ ottr:of o-owl-ax:SubPropertyOf ;
ottr:values ( dpm:hasThinFilmLayer pmd:composedOf )
] ;
ottr:pattern [ ottr:arguments ( [ ottr:modifier ottr:listExpand ;
ottr:value _:b4
]
[ ottr:modifier ottr:listExpand ;
ottr:value _:b3
]
) ;
ottr:modifier ottr:zipMin ;
ottr:of o-rdf:Type
] ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
rdfs:label
_:b2
)
] ;
ottr:pattern [ ottr:arguments ( [ ottr:value _:b0 ]
[ ottr:value dpm:hasThinFilmLayer ]
[ ottr:modifier ottr:listExpand ;
ottr:value _:b4
]
) ;
ottr:modifier ottr:zipMin ;
ottr:of ottr:Triple
] ;
ottr:pattern [ ottr:of o-rdfs:Label ;
ottr:values ( dpm:hasThinFilmLayer "has Thin Film Layer" )
] .