Pattern stOTTR 🛈 stOTTR serialisation of the template without annotation instances.
dpm:Element[
ottr:IRI ?element,
xsd:string ?name="",
xsd:string ?abbreviation="",
xsd:float ?standard_atomic_weight_unit_Da
] :: {
ottr:Triple(?element, pmd:abbreviation, ?abbreviation),
ottr:Triple(?element, rdfs:label, ?name),
ottr:Triple(dpm:Element, rdfs:comment, "Elements from the periodic table."),
o-owl-ax:SubClassOf(dpm:Element, pmd:BaseMaterial),
o-owl-ax:SubClassOf(dpm:Element, pmd:ChemicalEntity),
o-rdf:Type(?element, dpm:ChemicalElement),
o-rdfs:Label(dpm:Element, "Chemical Element"),
dpm:HasCharacteristicNumerical(?element, (pmd:Metadata, qudt:AMU), ?standard_atomic_weight_unit_Da, qudt:Dalton)
} . 🛈 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:Element(x:argument1, _:argument2, _:argument3, _:argument4) RDF/wOTTR
[ ottr:of dpm:Element ;
ottr:values ( x:argument1
[]
[]
[]
)
] . 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)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
dpm:ChemicalElement
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
pmd:abbreviation
blank886 : LUB<rdfs:Resource>
pmd:Metadata, qudt:AMU
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank886 : LUB<rdfs:Resource>
pmd:characteristic
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>
dpm:Element
"Chemical Element"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Chemical Element
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->"Chemical Element"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
https://w3id.org/pmd/co/BaseMaterial : LUB<ottr:IRI>
pmd:BaseMaterial
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->https://w3id.org/pmd/co/BaseMaterial : LUB<ottr:IRI>
rdfs:subClassOf
"Elements from the periodic table."^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Elements from the periodic table.
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->"Elements from the periodic table."^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:comment
https://w3id.org/pmd/co/ChemicalEntity : LUB<ottr:IRI>
pmd:ChemicalEntity
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->https://w3id.org/pmd/co/ChemicalEntity : LUB<ottr:IRI>
rdfs:subClassOf
argument4 : LUB<rdfs:Resource>
blank886 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource>
pmd:value
http://qudt.org/vocab/Dalton : LUB<ottr:IRI>
qudt:Dalton
blank886 : LUB<rdfs:Resource>->http://qudt.org/vocab/Dalton : LUB<ottr:IRI>
pmd:unit
http://qudt.org/vocab/Unit : LUB<ottr:IRI>
qudt:Unit
http://qudt.org/vocab/Dalton : LUB<ottr:IRI>->http://qudt.org/vocab/Unit : LUB<ottr:IRI>
rdfs:subClassOf
Hierarchical vertical layout (dot)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
dpm:ChemicalElement
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
pmd:abbreviation
blank886 : LUB<rdfs:Resource>
pmd:Metadata, qudt:AMU
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank886 : LUB<rdfs:Resource>
pmd:characteristic
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>
dpm:Element
"Chemical Element"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Chemical Element
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->"Chemical Element"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
https://w3id.org/pmd/co/BaseMaterial : LUB<ottr:IRI>
pmd:BaseMaterial
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->https://w3id.org/pmd/co/BaseMaterial : LUB<ottr:IRI>
rdfs:subClassOf
"Elements from the periodic table."^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Elements from the periodic table.
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->"Elements from the periodic table."^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:comment
https://w3id.org/pmd/co/ChemicalEntity : LUB<ottr:IRI>
pmd:ChemicalEntity
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->https://w3id.org/pmd/co/ChemicalEntity : LUB<ottr:IRI>
rdfs:subClassOf
argument4 : LUB<rdfs:Resource>
blank886 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource>
pmd:value
http://qudt.org/vocab/Dalton : LUB<ottr:IRI>
qudt:Dalton
blank886 : LUB<rdfs:Resource>->http://qudt.org/vocab/Dalton : LUB<ottr:IRI>
pmd:unit
http://qudt.org/vocab/Unit : LUB<ottr:IRI>
qudt:Unit
http://qudt.org/vocab/Dalton : LUB<ottr:IRI>->http://qudt.org/vocab/Unit : LUB<ottr:IRI>
rdfs:subClassOf
Spring model layout (neato)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
dpm:ChemicalElement
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
pmd:abbreviation
blank886 : LUB<rdfs:Resource>
pmd:Metadata, qudt:AMU
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank886 : LUB<rdfs:Resource>
pmd:characteristic
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>
dpm:Element
"Chemical Element"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Chemical Element
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->"Chemical Element"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
https://w3id.org/pmd/co/BaseMaterial : LUB<ottr:IRI>
pmd:BaseMaterial
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->https://w3id.org/pmd/co/BaseMaterial : LUB<ottr:IRI>
rdfs:subClassOf
"Elements from the periodic table."^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Elements from the periodic table.
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->"Elements from the periodic table."^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:comment
https://w3id.org/pmd/co/ChemicalEntity : LUB<ottr:IRI>
pmd:ChemicalEntity
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->https://w3id.org/pmd/co/ChemicalEntity : LUB<ottr:IRI>
rdfs:subClassOf
argument4 : LUB<rdfs:Resource>
blank886 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource>
pmd:value
http://qudt.org/vocab/Dalton : LUB<ottr:IRI>
qudt:Dalton
blank886 : LUB<rdfs:Resource>->http://qudt.org/vocab/Dalton : LUB<ottr:IRI>
pmd:unit
http://qudt.org/vocab/Unit : LUB<ottr:IRI>
qudt:Unit
http://qudt.org/vocab/Dalton : LUB<ottr:IRI>->http://qudt.org/vocab/Unit : LUB<ottr:IRI>
rdfs:subClassOf
Spring model layout (fdp)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
dpm:ChemicalElement
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
pmd:abbreviation
blank886 : LUB<rdfs:Resource>
pmd:Metadata, qudt:AMU
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank886 : LUB<rdfs:Resource>
pmd:characteristic
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>
dpm:Element
"Chemical Element"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Chemical Element
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->"Chemical Element"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
https://w3id.org/pmd/co/BaseMaterial : LUB<ottr:IRI>
pmd:BaseMaterial
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->https://w3id.org/pmd/co/BaseMaterial : LUB<ottr:IRI>
rdfs:subClassOf
"Elements from the periodic table."^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Elements from the periodic table.
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->"Elements from the periodic table."^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:comment
https://w3id.org/pmd/co/ChemicalEntity : LUB<ottr:IRI>
pmd:ChemicalEntity
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->https://w3id.org/pmd/co/ChemicalEntity : LUB<ottr:IRI>
rdfs:subClassOf
argument4 : LUB<rdfs:Resource>
blank886 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource>
pmd:value
http://qudt.org/vocab/Dalton : LUB<ottr:IRI>
qudt:Dalton
blank886 : LUB<rdfs:Resource>->http://qudt.org/vocab/Dalton : LUB<ottr:IRI>
pmd:unit
http://qudt.org/vocab/Unit : LUB<ottr:IRI>
qudt:Unit
http://qudt.org/vocab/Dalton : LUB<ottr:IRI>->http://qudt.org/vocab/Unit : LUB<ottr:IRI>
rdfs:subClassOf
Radial layout (twopi)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
dpm:ChemicalElement
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
pmd:abbreviation
blank886 : LUB<rdfs:Resource>
pmd:Metadata, qudt:AMU
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank886 : LUB<rdfs:Resource>
pmd:characteristic
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>
dpm:Element
"Chemical Element"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Chemical Element
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->"Chemical Element"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
https://w3id.org/pmd/co/BaseMaterial : LUB<ottr:IRI>
pmd:BaseMaterial
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->https://w3id.org/pmd/co/BaseMaterial : LUB<ottr:IRI>
rdfs:subClassOf
"Elements from the periodic table."^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Elements from the periodic table.
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->"Elements from the periodic table."^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:comment
https://w3id.org/pmd/co/ChemicalEntity : LUB<ottr:IRI>
pmd:ChemicalEntity
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->https://w3id.org/pmd/co/ChemicalEntity : LUB<ottr:IRI>
rdfs:subClassOf
argument4 : LUB<rdfs:Resource>
blank886 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource>
pmd:value
http://qudt.org/vocab/Dalton : LUB<ottr:IRI>
qudt:Dalton
blank886 : LUB<rdfs:Resource>->http://qudt.org/vocab/Dalton : LUB<ottr:IRI>
pmd:unit
http://qudt.org/vocab/Unit : LUB<ottr:IRI>
qudt:Unit
http://qudt.org/vocab/Dalton : LUB<ottr:IRI>->http://qudt.org/vocab/Unit : LUB<ottr:IRI>
rdfs:subClassOf
Circular layout (circo)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
dpm:ChemicalElement
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
pmd:abbreviation
blank886 : LUB<rdfs:Resource>
pmd:Metadata, qudt:AMU
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank886 : LUB<rdfs:Resource>
pmd:characteristic
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>
dpm:Element
"Chemical Element"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Chemical Element
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->"Chemical Element"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:label
https://w3id.org/pmd/co/BaseMaterial : LUB<ottr:IRI>
pmd:BaseMaterial
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->https://w3id.org/pmd/co/BaseMaterial : LUB<ottr:IRI>
rdfs:subClassOf
"Elements from the periodic table."^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
Elements from the periodic table.
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->"Elements from the periodic table."^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:comment
https://w3id.org/pmd/co/ChemicalEntity : LUB<ottr:IRI>
pmd:ChemicalEntity
https://www.dipromag.de/dipromag_onto/0.1/Element : LUB<ottr:IRI>->https://w3id.org/pmd/co/ChemicalEntity : LUB<ottr:IRI>
rdfs:subClassOf
argument4 : LUB<rdfs:Resource>
blank886 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource>
pmd:value
http://qudt.org/vocab/Dalton : LUB<ottr:IRI>
qudt:Dalton
blank886 : LUB<rdfs:Resource>->http://qudt.org/vocab/Dalton : LUB<ottr:IRI>
pmd:unit
http://qudt.org/vocab/Unit : LUB<ottr:IRI>
qudt:Unit
http://qudt.org/vocab/Dalton : LUB<ottr:IRI>->http://qudt.org/vocab/Unit : LUB<ottr:IRI>
rdfs:subClassOf
Expanded RDF graph
x:argument1 rdf:type dpm:ChemicalElement ;
rdfs:label [] ;
pmd:abbreviation [] ;
pmd:characteristic [ rdf:type qudt:AMU , pmd:Metadata ;
pmd:unit qudt:Dalton ;
pmd:value []
] .
dpm:Element rdfs:comment "Elements from the periodic table." ;
rdfs:label "Chemical Element" ;
rdfs:subClassOf pmd:ChemicalEntity , pmd:BaseMaterial .
qudt:Dalton rdfs:subClassOf qudt:Unit . 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:Element(x:argument1, _:argument2, _:argument3, _:argument4)
ottr:Triple(x:argument1, rdfs:label, _:argument2)
ottr:Triple(dpm:Element, rdfs:comment, "Elements from the periodic table.")
ottr:Triple(x:argument1, pmd:abbreviation, _:argument3)
o-owl-ax:SubClassOf(dpm:Element, pmd:BaseMaterial)
ottr:Triple(dpm:Element, rdfs:subClassOf, pmd:BaseMaterial)
o-owl-ax:SubClassOf(dpm:Element, pmd:ChemicalEntity)
ottr:Triple(dpm:Element, rdfs:subClassOf, pmd:ChemicalEntity)
o-rdf:Type(x:argument1, dpm:ChemicalElement)
ottr:Triple(x:argument1, rdf:type, dpm:ChemicalElement)
o-rdfs:Label(dpm:Element, "Chemical Element")
ottr:Triple(dpm:Element, rdfs:label, "Chemical Element")
dpm:HasCharacteristicNumerical(x:argument1, (pmd:Metadata, qudt:AMU), _:argument4, qudt:Dalton)
ottr:Triple(x:argument1, pmd:characteristic, _:blank884)
o-owl-ax:SubClassOf(qudt:Dalton, qudt:Unit)
ottr:Triple(qudt:Dalton, rdfs:subClassOf, qudt:Unit)
dpm:ValueObject(_:blank884, (pmd:Metadata, qudt:AMU), _:argument4, qudt:Dalton)
ottr:Triple(_:blank884, pmd:value, _:argument4)
ottr:Triple(_:blank884, pmd:unit, qudt:Dalton)
cross | o-rdf:Type(_:blank884, ++(pmd:Metadata, qudt:AMU))
ottr:Triple(_:blank884, rdf:type, (pmd:Metadata, qudt:AMU))
Serialisations stOTTR dpm:Element[
ottr:IRI ?element,
xsd:string ?name="",
xsd:string ?abbreviation="",
xsd:float ?standard_atomic_weight_unit_Da
] :: {
ottr:Triple(?element, pmd:abbreviation, ?abbreviation),
ottr:Triple(?element, rdfs:label, ?name),
ottr:Triple(dpm:Element, rdfs:comment, "Elements from the periodic table."),
o-owl-ax:SubClassOf(dpm:Element, pmd:BaseMaterial),
o-owl-ax:SubClassOf(dpm:Element, pmd:ChemicalEntity),
o-rdf:Type(?element, dpm:ChemicalElement),
o-rdfs:Label(dpm:Element, "Chemical Element"),
dpm:HasCharacteristicNumerical(?element, (pmd:Metadata, qudt:AMU), ?standard_atomic_weight_unit_Da, qudt:Dalton)
} . RDF/wOTTR
dpm:Element rdf:type ottr:Template ;
ottr:parameters ( [ ottr:name "element" ;
ottr:type ottr:IRI ;
ottr:variable _:b0
]
[ ottr:default "" ;
ottr:name "name" ;
ottr:type xsd:string ;
ottr:variable _:b1
]
[ ottr:default "" ;
ottr:name "abbreviation" ;
ottr:type xsd:string ;
ottr:variable _:b2
]
[ ottr:name "standard_atomic_weight_unit_Da" ;
ottr:type xsd:float ;
ottr:variable _:b3
]
) ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( dpm:Element rdfs:comment "Elements from the periodic table." )
] ;
ottr:pattern [ ottr:of dpm:HasCharacteristicNumerical ;
ottr:values ( _:b0
( pmd:Metadata qudt:AMU )
_:b3
qudt:Dalton
)
] ;
ottr:pattern [ ottr:of o-owl-ax:SubClassOf ;
ottr:values ( dpm:Element pmd:ChemicalEntity )
] ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
pmd:abbreviation
_:b2
)
] ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
rdfs:label
_:b1
)
] ;
ottr:pattern [ ottr:of o-rdfs:Label ;
ottr:values ( dpm:Element "Chemical Element" )
] ;
ottr:pattern [ ottr:of o-rdf:Type ;
ottr:values ( _:b0
dpm:ChemicalElement
)
] ;
ottr:pattern [ ottr:of o-owl-ax:SubClassOf ;
ottr:values ( dpm:Element pmd:BaseMaterial )
] .