Contents

Template: dpm:CompositionElement

URI: https://www.dipromag.de/dipromag_onto/0.1/CompositionElement

Parameters

🛈 The parameters defined by the signature are listed here. Unfortunately parameter names are not informative; fixing it is a planned future feature. An optional parameter will accept the value ottr:none as an argument. A parameter which allows blanks will accept a blank node as argument value.

IndexNameTypeOptionalBlanks allowedDefault value
1materialottr:IRInoyesno
2elementottr:IRInoyesno
3stoichiometryxsd:floatnoyesno

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

dpm:CompositionElement[
    ottr:IRI ?material,
    ottr:IRI ?element,
    xsd:float ?stoichiometry
] :: {
    ottr:Triple(?material, pmd:composedOf, _:blank505),
    ottr:Triple(_:blank505, pmd:relatesToElement, ?element),
    o-rdf:Type(_:blank505, dpm:Element),
    o-rdf:Type(dpm:at_percent, qudt:MassFraction),
    dpm:HasCharacteristicNumerical(_:blank505, (pmd:Measurement, pmd:ChemicalComposition), ?stoichiometry, dpm:at_percent)
} .

🛈 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:CompositionElement(x:argument1, x:argument2, _:argument3)
RDF/wOTTR
[ ottr:of      dpm:CompositionElement ;
  ottr:values  ( x:argument1 x:argument2
                 [] 
               )
] .

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)
blank1745 : LUB<rdfs:Resource> pmd:Measurement, pmd:ChemicalComposition argument3 : LUB<rdfs:Resource> blank1745 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> pmd:value https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI> qudt:MassFraction dpm:at_percent blank1745 : LUB<rdfs:Resource>->https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI> pmd:unit http://qudt.org/vocab/Unit : LUB<ottr:IRI> qudt:Unit https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI>->http://qudt.org/vocab/Unit : LUB<ottr:IRI> rdfs:subClassOf blank1744 : LUB<rdfs:Resource> dpm:Element blank1744 : LUB<rdfs:Resource>->blank1745 : LUB<rdfs:Resource> pmd:characteristic http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 blank1744 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> pmd:relatesToElement http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank1744 : LUB<rdfs:Resource> pmd:composedOf
Hierarchical vertical layout (dot)
blank1745 : LUB<rdfs:Resource> pmd:Measurement, pmd:ChemicalComposition argument3 : LUB<rdfs:Resource> blank1745 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> pmd:value https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI> qudt:MassFraction dpm:at_percent blank1745 : LUB<rdfs:Resource>->https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI> pmd:unit http://qudt.org/vocab/Unit : LUB<ottr:IRI> qudt:Unit https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI>->http://qudt.org/vocab/Unit : LUB<ottr:IRI> rdfs:subClassOf blank1744 : LUB<rdfs:Resource> dpm:Element blank1744 : LUB<rdfs:Resource>->blank1745 : LUB<rdfs:Resource> pmd:characteristic http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 blank1744 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> pmd:relatesToElement http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank1744 : LUB<rdfs:Resource> pmd:composedOf
Spring model layout (neato)
blank1745 : LUB<rdfs:Resource> pmd:Measurement, pmd:ChemicalComposition argument3 : LUB<rdfs:Resource> blank1745 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> pmd:value https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI> qudt:MassFraction dpm:at_percent blank1745 : LUB<rdfs:Resource>->https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI> pmd:unit http://qudt.org/vocab/Unit : LUB<ottr:IRI> qudt:Unit https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI>->http://qudt.org/vocab/Unit : LUB<ottr:IRI> rdfs:subClassOf blank1744 : LUB<rdfs:Resource> dpm:Element blank1744 : LUB<rdfs:Resource>->blank1745 : LUB<rdfs:Resource> pmd:characteristic http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 blank1744 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> pmd:relatesToElement http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank1744 : LUB<rdfs:Resource> pmd:composedOf
Spring model layout (fdp)
blank1745 : LUB<rdfs:Resource> pmd:Measurement, pmd:ChemicalComposition argument3 : LUB<rdfs:Resource> blank1745 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> pmd:value https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI> qudt:MassFraction dpm:at_percent blank1745 : LUB<rdfs:Resource>->https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI> pmd:unit http://qudt.org/vocab/Unit : LUB<ottr:IRI> qudt:Unit https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI>->http://qudt.org/vocab/Unit : LUB<ottr:IRI> rdfs:subClassOf blank1744 : LUB<rdfs:Resource> dpm:Element blank1744 : LUB<rdfs:Resource>->blank1745 : LUB<rdfs:Resource> pmd:characteristic http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 blank1744 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> pmd:relatesToElement http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank1744 : LUB<rdfs:Resource> pmd:composedOf
Radial layout (twopi)
blank1745 : LUB<rdfs:Resource> pmd:Measurement, pmd:ChemicalComposition argument3 : LUB<rdfs:Resource> blank1745 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> pmd:value https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI> qudt:MassFraction dpm:at_percent blank1745 : LUB<rdfs:Resource>->https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI> pmd:unit http://qudt.org/vocab/Unit : LUB<ottr:IRI> qudt:Unit https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI>->http://qudt.org/vocab/Unit : LUB<ottr:IRI> rdfs:subClassOf blank1744 : LUB<rdfs:Resource> dpm:Element blank1744 : LUB<rdfs:Resource>->blank1745 : LUB<rdfs:Resource> pmd:characteristic http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 blank1744 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> pmd:relatesToElement http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank1744 : LUB<rdfs:Resource> pmd:composedOf
Circular layout (circo)
blank1745 : LUB<rdfs:Resource> pmd:Measurement, pmd:ChemicalComposition argument3 : LUB<rdfs:Resource> blank1745 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> pmd:value https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI> qudt:MassFraction dpm:at_percent blank1745 : LUB<rdfs:Resource>->https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI> pmd:unit http://qudt.org/vocab/Unit : LUB<ottr:IRI> qudt:Unit https://www.dipromag.de/dipromag_onto/0.1/at_percent : LUB<ottr:IRI>->http://qudt.org/vocab/Unit : LUB<ottr:IRI> rdfs:subClassOf blank1744 : LUB<rdfs:Resource> dpm:Element blank1744 : LUB<rdfs:Resource>->blank1745 : LUB<rdfs:Resource> pmd:characteristic http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 blank1744 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> pmd:relatesToElement http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank1744 : LUB<rdfs:Resource> pmd:composedOf

Expanded RDF graph

x:argument1  pmd:composedOf  [ rdf:type              dpm:Element ;
                               pmd:characteristic    [ rdf:type   pmd:ChemicalComposition , pmd:Measurement ;
                                                       pmd:unit   dpm:at_percent ;
                                                       pmd:value  [] 
                                                     ] ;
                               pmd:relatesToElement  x:argument2
                             ] .

dpm:at_percent  rdf:type  qudt:MassFraction ;
        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:CompositionElement(x:argument1, x:argument2, _:argument3)ottr:Triple(_:blank1740, pmd:relatesToElement, x:argument2)ottr:Triple(x:argument1, pmd:composedOf, _:blank1740)
o-rdf:Type(dpm:at_percent, qudt:MassFraction)ottr:Triple(dpm:at_percent, rdf:type, qudt:MassFraction)
o-rdf:Type(_:blank1740, dpm:Element)ottr:Triple(_:blank1740, rdf:type, dpm:Element)
dpm:HasCharacteristicNumerical(_:blank1740, (pmd:Measurement, pmd:ChemicalComposition), _:argument3, dpm:at_percent)ottr:Triple(_:blank1740, pmd:characteristic, _:blank1741)
o-owl-ax:SubClassOf(dpm:at_percent, qudt:Unit)ottr:Triple(dpm:at_percent, rdfs:subClassOf, qudt:Unit)
dpm:ValueObject(_:blank1741, (pmd:Measurement, pmd:ChemicalComposition), _:argument3, dpm:at_percent)ottr:Triple(_:blank1741, pmd:value, _:argument3)ottr:Triple(_:blank1741, pmd:unit, dpm:at_percent)
cross | o-rdf:Type(_:blank1741, ++(pmd:Measurement, pmd:ChemicalComposition))ottr:Triple(_:blank1741, rdf:type, (pmd:Measurement, pmd:ChemicalComposition))

Dependencies

Dependency graph

🛈 The graph shows all the templates that this template depends on. The colour of the node indicates its namespace. Each node is linked to its documentation page.

Hierarchical horizontal layout (dot)
dpm:CompositionElement dpm:CompositionElement ottr:Triple ottr:Triple dpm:CompositionElement->ottr:Triple o-rdf:Type o-rdf:Type dpm:CompositionElement->o-rdf:Type dpm:HasCharacteristicNumerical dpm:HasCharacteristicNumerical dpm:CompositionElement->dpm:HasCharacteristicNumerical o-rdf:Type->ottr:Triple dpm:HasCharacteristicNumerical->ottr:Triple o-owl-ax:SubClassOf o-owl-ax:SubClassOf dpm:HasCharacteristicNumerical->o-owl-ax:SubClassOf dpm:ValueObject dpm:ValueObject dpm:HasCharacteristicNumerical->dpm:ValueObject o-owl-ax:SubClassOf->ottr:Triple dpm:ValueObject->ottr:Triple dpm:ValueObject->o-rdf:Type
Hierarchical vertical layout (dot)
dpm:CompositionElement dpm:CompositionElement ottr:Triple ottr:Triple dpm:CompositionElement->ottr:Triple o-rdf:Type o-rdf:Type dpm:CompositionElement->o-rdf:Type dpm:HasCharacteristicNumerical dpm:HasCharacteristicNumerical dpm:CompositionElement->dpm:HasCharacteristicNumerical o-rdf:Type->ottr:Triple dpm:HasCharacteristicNumerical->ottr:Triple o-owl-ax:SubClassOf o-owl-ax:SubClassOf dpm:HasCharacteristicNumerical->o-owl-ax:SubClassOf dpm:ValueObject dpm:ValueObject dpm:HasCharacteristicNumerical->dpm:ValueObject o-owl-ax:SubClassOf->ottr:Triple dpm:ValueObject->ottr:Triple dpm:ValueObject->o-rdf:Type
Spring model layout (neato)
dpm:CompositionElement dpm:CompositionElement ottr:Triple ottr:Triple dpm:CompositionElement->ottr:Triple o-rdf:Type o-rdf:Type dpm:CompositionElement->o-rdf:Type dpm:HasCharacteristicNumerical dpm:HasCharacteristicNumerical dpm:CompositionElement->dpm:HasCharacteristicNumerical o-rdf:Type->ottr:Triple dpm:HasCharacteristicNumerical->ottr:Triple o-owl-ax:SubClassOf o-owl-ax:SubClassOf dpm:HasCharacteristicNumerical->o-owl-ax:SubClassOf dpm:ValueObject dpm:ValueObject dpm:HasCharacteristicNumerical->dpm:ValueObject o-owl-ax:SubClassOf->ottr:Triple dpm:ValueObject->ottr:Triple dpm:ValueObject->o-rdf:Type
Spring model layout (fdp)
dpm:CompositionElement dpm:CompositionElement ottr:Triple ottr:Triple dpm:CompositionElement->ottr:Triple o-rdf:Type o-rdf:Type dpm:CompositionElement->o-rdf:Type dpm:HasCharacteristicNumerical dpm:HasCharacteristicNumerical dpm:CompositionElement->dpm:HasCharacteristicNumerical o-rdf:Type->ottr:Triple dpm:HasCharacteristicNumerical->ottr:Triple o-owl-ax:SubClassOf o-owl-ax:SubClassOf dpm:HasCharacteristicNumerical->o-owl-ax:SubClassOf dpm:ValueObject dpm:ValueObject dpm:HasCharacteristicNumerical->dpm:ValueObject o-owl-ax:SubClassOf->ottr:Triple dpm:ValueObject->ottr:Triple dpm:ValueObject->o-rdf:Type
Radial layout (twopi)
dpm:CompositionElement dpm:CompositionElement ottr:Triple ottr:Triple dpm:CompositionElement->ottr:Triple o-rdf:Type o-rdf:Type dpm:CompositionElement->o-rdf:Type dpm:HasCharacteristicNumerical dpm:HasCharacteristicNumerical dpm:CompositionElement->dpm:HasCharacteristicNumerical o-rdf:Type->ottr:Triple dpm:HasCharacteristicNumerical->ottr:Triple o-owl-ax:SubClassOf o-owl-ax:SubClassOf dpm:HasCharacteristicNumerical->o-owl-ax:SubClassOf dpm:ValueObject dpm:ValueObject dpm:HasCharacteristicNumerical->dpm:ValueObject o-owl-ax:SubClassOf->ottr:Triple dpm:ValueObject->ottr:Triple dpm:ValueObject->o-rdf:Type
Circular layout (circo)
dpm:CompositionElement dpm:CompositionElement ottr:Triple ottr:Triple dpm:CompositionElement->ottr:Triple o-rdf:Type o-rdf:Type dpm:CompositionElement->o-rdf:Type dpm:HasCharacteristicNumerical dpm:HasCharacteristicNumerical dpm:CompositionElement->dpm:HasCharacteristicNumerical o-rdf:Type->ottr:Triple dpm:HasCharacteristicNumerical->ottr:Triple o-owl-ax:SubClassOf o-owl-ax:SubClassOf dpm:HasCharacteristicNumerical->o-owl-ax:SubClassOf dpm:ValueObject dpm:ValueObject dpm:HasCharacteristicNumerical->dpm:ValueObject o-owl-ax:SubClassOf->ottr:Triple dpm:ValueObject->ottr:Triple dpm:ValueObject->o-rdf:Type

List of dependencies

🛈 The number in parenthesis is the number of instances of each template.

dpm:CompositionElementottr:Triple (2)
o-rdf:Type (2)ottr:Triple (1)
dpm:HasCharacteristicNumerical (1)ottr:Triple (1)
o-owl-ax:SubClassOf (1)ottr:Triple (1)
dpm:ValueObject (1)ottr:Triple (2)
o-rdf:Type (1)ottr:Triple (1)

Depending templates

🛈 The templates in this library that depend on this template.

Metrics

🛈 Dependency graph metrics. Depth is the number of steps to a leaf node in the dependency graph. Branching is the number of outgoing edges from a node.

Templates used

Direct dependenciesComplete expansion

Vocabulary introduced

Direct dependenciesComplete expansion

Serialisations

stOTTR

dpm:CompositionElement[
    ottr:IRI ?material,
    ottr:IRI ?element,
    xsd:float ?stoichiometry
] :: {
    ottr:Triple(?material, pmd:composedOf, _:blank505),
    ottr:Triple(_:blank505, pmd:relatesToElement, ?element),
    o-rdf:Type(_:blank505, dpm:Element),
    o-rdf:Type(dpm:at_percent, qudt:MassFraction),
    dpm:HasCharacteristicNumerical(_:blank505, (pmd:Measurement, pmd:ChemicalComposition), ?stoichiometry, dpm:at_percent)
} .

RDF/wOTTR

dpm:CompositionElement
        rdf:type         ottr:Template ;
        ottr:parameters  ( [ ottr:name      "material" ;
                             ottr:type      ottr:IRI ;
                             ottr:variable  _:b0
                           ]
                           [ ottr:name      "element" ;
                             ottr:type      ottr:IRI ;
                             ottr:variable  _:b1
                           ]
                           [ ottr:name      "stoichiometry" ;
                             ottr:type      xsd:float ;
                             ottr:variable  _:b2
                           ]
                         ) ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          pmd:composedOf
                                          _:b3
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b3
                                          pmd:relatesToElement
                                          _:b1
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      o-rdf:Type ;
                           ottr:values  ( _:b3
                                          dpm:Element
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      o-rdf:Type ;
                           ottr:values  ( dpm:at_percent qudt:MassFraction )
                         ] ;
        ottr:pattern     [ ottr:of      dpm:HasCharacteristicNumerical ;
                           ottr:values  ( _:b3
                                          ( pmd:Measurement pmd:ChemicalComposition )
                                          _:b2
                                          dpm:at_percent
                                        )
                         ] .

Prefixes

🛈 Prefixes are removed from all listings on this page for readability, but are listed here in RDF Turtle format.

@prefix ottr:       <http://ns.ottr.xyz/0.4/>.
@prefix qudt:       <http://qudt.org/vocab/>.
@prefix o-rdf:      <http://tpl.ottr.xyz/rdf/0.1/>.
@prefix rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix xsd:        <http://www.w3.org/2001/XMLSchema#>.
@prefix pmd:        <https://w3id.org/pmd/co/>.
@prefix dpm:        <https://www.dipromag.de/dipromag_onto/0.1/>.