Contents

Template: dpm:CreateComposition

URI: http://dipromag.de/ottr-templates/0.1/CreateComposition

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
2elementsNEList<ottr:IRI>noyesno
3stoichiometry_portion_unit_at_percentNEList<xsd:float>noyesno
4userottr:IRInoyesno
5datexsd:datenoyesno
6commentxsd:stringnoyes""^^http://www.w3.org/2001/XMLSchema#string
7verifiedxsd:booleannoyes"true"^^http://www.w3.org/2001/XMLSchema#boolean

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

dpm:CreateComposition[
    ottr:IRI ?material,
    NEList<ottr:IRI> ?elements,
    NEList<xsd:float> ?stoichiometry_portion_unit_at_percent,
    ottr:IRI ?user,
    xsd:date ?date,
    xsd:string ?comment="",
    xsd:boolean ?verified="true"^^xsd:boolean
] :: {
    zipMin | dpm:CompositionElement(?material, ++?elements, ++?stoichiometry_portion_unit_at_percent),
    dpm:HasMetaData(?material, ?user, ?date, ?comment, ?verified),
    o-rdf:Type(?material, pmd:ChemicalComposition)
} .

🛈 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:CreateComposition(x:argument1, (x:argument2-1, x:argument2-2), (_:argument3-1, _:argument3-2), x:argument4, _:argument5, _:argument6, _:argument7)
RDF/wOTTR
[ ottr:of      dpm:CreateComposition ;
  ottr:values  ( x:argument1 ( x:argument2-1 x:argument2-2 ) ( [] 
                                                               [] 
                                                             ) x:argument4
                 [] 
                 [] 
                 [] 
               )
] .

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> pmd:ChemicalComposition x:argument1 argument6 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument6 : LUB<rdfs:Resource> dpm:comment argument5 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource> dcterms:created http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> pmd:Operator x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> dcterms:creator argument7 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument7 : LUB<rdfs:Resource> dpm:isVerified blank569 : LUB<rdfs:Resource> pmd:Object, dpm:Element http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank569 : LUB<rdfs:Resource> pmd:composedOf blank571 : LUB<rdfs:Resource> pmd:Object, dpm:Element http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank571 : LUB<rdfs:Resource> pmd:composedOf http://dipromag.de/ottr-templates/0.1/instantiatedBy : LUB<ottr:IRI> dpm:instantiatedBy http://www.w3.org/ns/prov-o#wasAssociatedWith : LUB<ottr:IRI> prov:wasAssociatedWith http://dipromag.de/ottr-templates/0.1/instantiatedBy : LUB<ottr:IRI>->http://www.w3.org/ns/prov-o#wasAssociatedWith : LUB<ottr:IRI> rdfs:subPropertyOf http://dipromag.de/ottr-templates/0.1/comment : LUB<ottr:IRI> dpm:comment rdfs:comment : LUB<ottr:IRI> rdfs:comment http://dipromag.de/ottr-templates/0.1/comment : LUB<ottr:IRI>->rdfs:comment : LUB<ottr:IRI> rdfs:subPropertyOf http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI> dpm:hasStoichiometry http://www.w3.org/2002/07/emmohasProperty : LUB<ottr:IRI> emmo:hasProperty http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI>->http://www.w3.org/2002/07/emmohasProperty : LUB<ottr:IRI> rdfs:subPropertyOf https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> pmd:characteristic http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI>->https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> rdfs:subPropertyOf blank570 : LUB<rdfs:Resource> pmd:Metadata, pmd:Measurement blank569 : LUB<rdfs:Resource>->blank570 : LUB<rdfs:Resource> dpm:hasStoichiometry http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> x:argument2-1 blank569 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> pmd:relatesToElement argument3-1 : LUB<rdfs:Resource> blank570 : LUB<rdfs:Resource>->argument3-1 : LUB<rdfs:Resource> pmd:value http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> dpm:at_percent blank570 : LUB<rdfs:Resource>->http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> pmd:unit blank572 : LUB<rdfs:Resource> pmd:Metadata, pmd:Measurement blank571 : LUB<rdfs:Resource>->blank572 : LUB<rdfs:Resource> dpm:hasStoichiometry http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> x:argument2-2 blank571 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> pmd:relatesToElement blank572 : LUB<rdfs:Resource>->http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> pmd:unit argument3-2 : LUB<rdfs:Resource> blank572 : LUB<rdfs:Resource>->argument3-2 : LUB<rdfs:Resource> pmd:value
Hierarchical vertical layout (dot)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pmd:ChemicalComposition x:argument1 argument6 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument6 : LUB<rdfs:Resource> dpm:comment argument5 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource> dcterms:created http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> pmd:Operator x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> dcterms:creator argument7 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument7 : LUB<rdfs:Resource> dpm:isVerified blank569 : LUB<rdfs:Resource> pmd:Object, dpm:Element http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank569 : LUB<rdfs:Resource> pmd:composedOf blank571 : LUB<rdfs:Resource> pmd:Object, dpm:Element http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank571 : LUB<rdfs:Resource> pmd:composedOf http://dipromag.de/ottr-templates/0.1/instantiatedBy : LUB<ottr:IRI> dpm:instantiatedBy http://www.w3.org/ns/prov-o#wasAssociatedWith : LUB<ottr:IRI> prov:wasAssociatedWith http://dipromag.de/ottr-templates/0.1/instantiatedBy : LUB<ottr:IRI>->http://www.w3.org/ns/prov-o#wasAssociatedWith : LUB<ottr:IRI> rdfs:subPropertyOf http://dipromag.de/ottr-templates/0.1/comment : LUB<ottr:IRI> dpm:comment rdfs:comment : LUB<ottr:IRI> rdfs:comment http://dipromag.de/ottr-templates/0.1/comment : LUB<ottr:IRI>->rdfs:comment : LUB<ottr:IRI> rdfs:subPropertyOf http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI> dpm:hasStoichiometry http://www.w3.org/2002/07/emmohasProperty : LUB<ottr:IRI> emmo:hasProperty http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI>->http://www.w3.org/2002/07/emmohasProperty : LUB<ottr:IRI> rdfs:subPropertyOf https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> pmd:characteristic http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI>->https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> rdfs:subPropertyOf blank570 : LUB<rdfs:Resource> pmd:Metadata, pmd:Measurement blank569 : LUB<rdfs:Resource>->blank570 : LUB<rdfs:Resource> dpm:hasStoichiometry http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> x:argument2-1 blank569 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> pmd:relatesToElement argument3-1 : LUB<rdfs:Resource> blank570 : LUB<rdfs:Resource>->argument3-1 : LUB<rdfs:Resource> pmd:value http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> dpm:at_percent blank570 : LUB<rdfs:Resource>->http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> pmd:unit blank572 : LUB<rdfs:Resource> pmd:Metadata, pmd:Measurement blank571 : LUB<rdfs:Resource>->blank572 : LUB<rdfs:Resource> dpm:hasStoichiometry http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> x:argument2-2 blank571 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> pmd:relatesToElement blank572 : LUB<rdfs:Resource>->http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> pmd:unit argument3-2 : LUB<rdfs:Resource> blank572 : LUB<rdfs:Resource>->argument3-2 : LUB<rdfs:Resource> pmd:value
Spring model layout (neato)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pmd:ChemicalComposition x:argument1 argument6 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument6 : LUB<rdfs:Resource> dpm:comment argument5 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource> dcterms:created http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> pmd:Operator x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> dcterms:creator argument7 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument7 : LUB<rdfs:Resource> dpm:isVerified blank569 : LUB<rdfs:Resource> pmd:Object, dpm:Element http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank569 : LUB<rdfs:Resource> pmd:composedOf blank571 : LUB<rdfs:Resource> pmd:Object, dpm:Element http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank571 : LUB<rdfs:Resource> pmd:composedOf http://dipromag.de/ottr-templates/0.1/instantiatedBy : LUB<ottr:IRI> dpm:instantiatedBy http://www.w3.org/ns/prov-o#wasAssociatedWith : LUB<ottr:IRI> prov:wasAssociatedWith http://dipromag.de/ottr-templates/0.1/instantiatedBy : LUB<ottr:IRI>->http://www.w3.org/ns/prov-o#wasAssociatedWith : LUB<ottr:IRI> rdfs:subPropertyOf http://dipromag.de/ottr-templates/0.1/comment : LUB<ottr:IRI> dpm:comment rdfs:comment : LUB<ottr:IRI> rdfs:comment http://dipromag.de/ottr-templates/0.1/comment : LUB<ottr:IRI>->rdfs:comment : LUB<ottr:IRI> rdfs:subPropertyOf http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI> dpm:hasStoichiometry http://www.w3.org/2002/07/emmohasProperty : LUB<ottr:IRI> emmo:hasProperty http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI>->http://www.w3.org/2002/07/emmohasProperty : LUB<ottr:IRI> rdfs:subPropertyOf https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> pmd:characteristic http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI>->https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> rdfs:subPropertyOf blank570 : LUB<rdfs:Resource> pmd:Metadata, pmd:Measurement blank569 : LUB<rdfs:Resource>->blank570 : LUB<rdfs:Resource> dpm:hasStoichiometry http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> x:argument2-1 blank569 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> pmd:relatesToElement argument3-1 : LUB<rdfs:Resource> blank570 : LUB<rdfs:Resource>->argument3-1 : LUB<rdfs:Resource> pmd:value http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> dpm:at_percent blank570 : LUB<rdfs:Resource>->http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> pmd:unit blank572 : LUB<rdfs:Resource> pmd:Metadata, pmd:Measurement blank571 : LUB<rdfs:Resource>->blank572 : LUB<rdfs:Resource> dpm:hasStoichiometry http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> x:argument2-2 blank571 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> pmd:relatesToElement blank572 : LUB<rdfs:Resource>->http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> pmd:unit argument3-2 : LUB<rdfs:Resource> blank572 : LUB<rdfs:Resource>->argument3-2 : LUB<rdfs:Resource> pmd:value
Spring model layout (fdp)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pmd:ChemicalComposition x:argument1 argument6 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument6 : LUB<rdfs:Resource> dpm:comment argument5 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource> dcterms:created http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> pmd:Operator x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> dcterms:creator argument7 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument7 : LUB<rdfs:Resource> dpm:isVerified blank569 : LUB<rdfs:Resource> pmd:Object, dpm:Element http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank569 : LUB<rdfs:Resource> pmd:composedOf blank571 : LUB<rdfs:Resource> pmd:Object, dpm:Element http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank571 : LUB<rdfs:Resource> pmd:composedOf http://dipromag.de/ottr-templates/0.1/instantiatedBy : LUB<ottr:IRI> dpm:instantiatedBy http://www.w3.org/ns/prov-o#wasAssociatedWith : LUB<ottr:IRI> prov:wasAssociatedWith http://dipromag.de/ottr-templates/0.1/instantiatedBy : LUB<ottr:IRI>->http://www.w3.org/ns/prov-o#wasAssociatedWith : LUB<ottr:IRI> rdfs:subPropertyOf http://dipromag.de/ottr-templates/0.1/comment : LUB<ottr:IRI> dpm:comment rdfs:comment : LUB<ottr:IRI> rdfs:comment http://dipromag.de/ottr-templates/0.1/comment : LUB<ottr:IRI>->rdfs:comment : LUB<ottr:IRI> rdfs:subPropertyOf http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI> dpm:hasStoichiometry http://www.w3.org/2002/07/emmohasProperty : LUB<ottr:IRI> emmo:hasProperty http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI>->http://www.w3.org/2002/07/emmohasProperty : LUB<ottr:IRI> rdfs:subPropertyOf https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> pmd:characteristic http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI>->https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> rdfs:subPropertyOf blank570 : LUB<rdfs:Resource> pmd:Metadata, pmd:Measurement blank569 : LUB<rdfs:Resource>->blank570 : LUB<rdfs:Resource> dpm:hasStoichiometry http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> x:argument2-1 blank569 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> pmd:relatesToElement argument3-1 : LUB<rdfs:Resource> blank570 : LUB<rdfs:Resource>->argument3-1 : LUB<rdfs:Resource> pmd:value http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> dpm:at_percent blank570 : LUB<rdfs:Resource>->http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> pmd:unit blank572 : LUB<rdfs:Resource> pmd:Metadata, pmd:Measurement blank571 : LUB<rdfs:Resource>->blank572 : LUB<rdfs:Resource> dpm:hasStoichiometry http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> x:argument2-2 blank571 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> pmd:relatesToElement blank572 : LUB<rdfs:Resource>->http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> pmd:unit argument3-2 : LUB<rdfs:Resource> blank572 : LUB<rdfs:Resource>->argument3-2 : LUB<rdfs:Resource> pmd:value
Radial layout (twopi)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pmd:ChemicalComposition x:argument1 argument6 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument6 : LUB<rdfs:Resource> dpm:comment argument5 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource> dcterms:created http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> pmd:Operator x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> dcterms:creator argument7 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument7 : LUB<rdfs:Resource> dpm:isVerified blank569 : LUB<rdfs:Resource> pmd:Object, dpm:Element http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank569 : LUB<rdfs:Resource> pmd:composedOf blank571 : LUB<rdfs:Resource> pmd:Object, dpm:Element http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank571 : LUB<rdfs:Resource> pmd:composedOf http://dipromag.de/ottr-templates/0.1/instantiatedBy : LUB<ottr:IRI> dpm:instantiatedBy http://www.w3.org/ns/prov-o#wasAssociatedWith : LUB<ottr:IRI> prov:wasAssociatedWith http://dipromag.de/ottr-templates/0.1/instantiatedBy : LUB<ottr:IRI>->http://www.w3.org/ns/prov-o#wasAssociatedWith : LUB<ottr:IRI> rdfs:subPropertyOf http://dipromag.de/ottr-templates/0.1/comment : LUB<ottr:IRI> dpm:comment rdfs:comment : LUB<ottr:IRI> rdfs:comment http://dipromag.de/ottr-templates/0.1/comment : LUB<ottr:IRI>->rdfs:comment : LUB<ottr:IRI> rdfs:subPropertyOf http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI> dpm:hasStoichiometry http://www.w3.org/2002/07/emmohasProperty : LUB<ottr:IRI> emmo:hasProperty http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI>->http://www.w3.org/2002/07/emmohasProperty : LUB<ottr:IRI> rdfs:subPropertyOf https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> pmd:characteristic http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI>->https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> rdfs:subPropertyOf blank570 : LUB<rdfs:Resource> pmd:Metadata, pmd:Measurement blank569 : LUB<rdfs:Resource>->blank570 : LUB<rdfs:Resource> dpm:hasStoichiometry http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> x:argument2-1 blank569 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> pmd:relatesToElement argument3-1 : LUB<rdfs:Resource> blank570 : LUB<rdfs:Resource>->argument3-1 : LUB<rdfs:Resource> pmd:value http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> dpm:at_percent blank570 : LUB<rdfs:Resource>->http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> pmd:unit blank572 : LUB<rdfs:Resource> pmd:Metadata, pmd:Measurement blank571 : LUB<rdfs:Resource>->blank572 : LUB<rdfs:Resource> dpm:hasStoichiometry http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> x:argument2-2 blank571 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> pmd:relatesToElement blank572 : LUB<rdfs:Resource>->http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> pmd:unit argument3-2 : LUB<rdfs:Resource> blank572 : LUB<rdfs:Resource>->argument3-2 : LUB<rdfs:Resource> pmd:value
Circular layout (circo)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pmd:ChemicalComposition x:argument1 argument6 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument6 : LUB<rdfs:Resource> dpm:comment argument5 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource> dcterms:created http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> pmd:Operator x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> dcterms:creator argument7 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument7 : LUB<rdfs:Resource> dpm:isVerified blank569 : LUB<rdfs:Resource> pmd:Object, dpm:Element http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank569 : LUB<rdfs:Resource> pmd:composedOf blank571 : LUB<rdfs:Resource> pmd:Object, dpm:Element http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank571 : LUB<rdfs:Resource> pmd:composedOf http://dipromag.de/ottr-templates/0.1/instantiatedBy : LUB<ottr:IRI> dpm:instantiatedBy http://www.w3.org/ns/prov-o#wasAssociatedWith : LUB<ottr:IRI> prov:wasAssociatedWith http://dipromag.de/ottr-templates/0.1/instantiatedBy : LUB<ottr:IRI>->http://www.w3.org/ns/prov-o#wasAssociatedWith : LUB<ottr:IRI> rdfs:subPropertyOf http://dipromag.de/ottr-templates/0.1/comment : LUB<ottr:IRI> dpm:comment rdfs:comment : LUB<ottr:IRI> rdfs:comment http://dipromag.de/ottr-templates/0.1/comment : LUB<ottr:IRI>->rdfs:comment : LUB<ottr:IRI> rdfs:subPropertyOf http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI> dpm:hasStoichiometry http://www.w3.org/2002/07/emmohasProperty : LUB<ottr:IRI> emmo:hasProperty http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI>->http://www.w3.org/2002/07/emmohasProperty : LUB<ottr:IRI> rdfs:subPropertyOf https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> pmd:characteristic http://dipromag.de/ottr-templates/0.1/hasStoichiometry : LUB<ottr:IRI>->https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> rdfs:subPropertyOf blank570 : LUB<rdfs:Resource> pmd:Metadata, pmd:Measurement blank569 : LUB<rdfs:Resource>->blank570 : LUB<rdfs:Resource> dpm:hasStoichiometry http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> x:argument2-1 blank569 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> pmd:relatesToElement argument3-1 : LUB<rdfs:Resource> blank570 : LUB<rdfs:Resource>->argument3-1 : LUB<rdfs:Resource> pmd:value http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> dpm:at_percent blank570 : LUB<rdfs:Resource>->http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> pmd:unit blank572 : LUB<rdfs:Resource> pmd:Metadata, pmd:Measurement blank571 : LUB<rdfs:Resource>->blank572 : LUB<rdfs:Resource> dpm:hasStoichiometry http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> x:argument2-2 blank571 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> pmd:relatesToElement blank572 : LUB<rdfs:Resource>->http://dipromag.de/ottr-templates/0.1/at_percent : LUB<ottr:IRI> pmd:unit argument3-2 : LUB<rdfs:Resource> blank572 : LUB<rdfs:Resource>->argument3-2 : LUB<rdfs:Resource> pmd:value

Expanded RDF graph

x:argument1  rdf:type    pmd:ChemicalComposition ;
        dpm:comment      []  ;
        dpm:isVerified   []  ;
        dcterms:created  []  ;
        dcterms:creator  x:argument4 ;
        pmd:composedOf   [ rdf:type              dpm:Element , pmd:Object ;
                           dpm:hasStoichiometry  [ rdf:type   pmd:Measurement , pmd:Metadata ;
                                                   pmd:unit   dpm:at_percent ;
                                                   pmd:value  [] 
                                                 ] ;
                           pmd:relatesToElement  x:argument2-2
                         ] ;
        pmd:composedOf   [ rdf:type              dpm:Element , pmd:Object ;
                           dpm:hasStoichiometry  [ rdf:type   pmd:Measurement , pmd:Metadata ;
                                                   pmd:unit   dpm:at_percent ;
                                                   pmd:value  [] 
                                                 ] ;
                           pmd:relatesToElement  x:argument2-1
                         ] .

dpm:ATPercent  rdf:type  <http://www.w3.org/2002/07/emmoMeasurementUnit> , qudt:MassFraction .

dpm:hasStoichiometry  rdfs:subPropertyOf
                pmd:characteristic , <http://www.w3.org/2002/07/emmohasProperty> .

dpm:comment  rdfs:subPropertyOf  rdfs:comment .

x:argument4  rdf:type  pmd:Operator .

dpm:instantiatedBy  rdfs:subPropertyOf  prov:wasAssociatedWith .

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:CreateComposition(x:argument1, (x:argument2-1, x:argument2-2), (_:argument3-1, _:argument3-2), x:argument4, _:argument5, _:argument6, _:argument7)
zipMin | dpm:CompositionElement(x:argument1, ++(x:argument2-1, x:argument2-2), ++(_:argument3-1, _:argument3-2))
dpm:HasQuantityValue(_:blank563, pmd:Metadata, dpm:hasStoichiometry, (_:argument3-1, _:argument3-2), dpm:at_percent)ottr:Triple(_:blank563, dpm:hasStoichiometry, _:blank564)ottr:Triple(_:blank564, pmd:value, (_:argument3-1, _:argument3-2))ottr:Triple(_:blank564, pmd:unit, dpm:at_percent)
o-owl-ax:SubPropertyOf(dpm:hasStoichiometry, pmd:characteristic)ottr:Triple(dpm:hasStoichiometry, rdfs:subPropertyOf, pmd:characteristic)
o-rdf:Type(_:blank564, pmd:Metadata)ottr:Triple(_:blank564, rdf:type, pmd:Metadata)
o-rdf:Type(_:blank564, pmd:Measurement)ottr:Triple(_:blank564, rdf:type, pmd:Measurement)
o-rdf:Type(_:blank563, pmd:Object)ottr:Triple(_:blank563, rdf:type, pmd:Object)
ottr:Triple(x:argument1, pmd:composedOf, _:blank563)ottr:Triple(_:blank563, pmd:relatesToElement, (x:argument2-1, x:argument2-2))
o-owl-ax:SubPropertyOf(dpm:hasStoichiometry, <http://www.w3.org/2002/07/emmohasProperty>)ottr:Triple(dpm:hasStoichiometry, rdfs:subPropertyOf, <http://www.w3.org/2002/07/emmohasProperty>)
o-owl-ax:SubPropertyOf(dpm:hasStoichiometry, pmd:characteristic)ottr:Triple(dpm:hasStoichiometry, rdfs:subPropertyOf, pmd:characteristic)
o-rdf:Type(dpm:ATPercent, qudt:MassFraction)ottr:Triple(dpm:ATPercent, rdf:type, qudt:MassFraction)
o-rdf:Type(dpm:ATPercent, <http://www.w3.org/2002/07/emmoMeasurementUnit>)ottr:Triple(dpm:ATPercent, rdf:type, <http://www.w3.org/2002/07/emmoMeasurementUnit>)
o-rdf:Type(_:blank563, dpm:Element)ottr:Triple(_:blank563, rdf:type, dpm:Element)
dpm:HasMetaData(x:argument1, x:argument4, _:argument5, _:argument6, _:argument7)ottr:Triple(x:argument1, dpm:comment, _:argument6)ottr:Triple(x:argument1, dcterms:created, _:argument5)ottr:Triple(x:argument1, dcterms:creator, x:argument4)ottr:Triple(x:argument1, dpm:isVerified, _:argument7)
o-owl-ax:SubPropertyOf(dpm:instantiatedBy, prov:wasAssociatedWith)ottr:Triple(dpm:instantiatedBy, rdfs:subPropertyOf, prov:wasAssociatedWith)
o-owl-ax:SubPropertyOf(dpm:comment, rdfs:comment)ottr:Triple(dpm:comment, rdfs:subPropertyOf, rdfs:comment)
o-rdf:Type(x:argument4, pmd:Operator)ottr:Triple(x:argument4, rdf:type, pmd:Operator)
o-rdf:Type(x:argument1, pmd:ChemicalComposition)ottr:Triple(x:argument1, rdf:type, 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:CreateComposition dpm:CreateComposition dpm:CompositionElement dpm:CompositionElement dpm:CreateComposition->dpm:CompositionElement dpm:HasMetaData dpm:HasMetaData dpm:CreateComposition->dpm:HasMetaData o-rdf:Type o-rdf:Type dpm:CreateComposition->o-rdf:Type dpm:CompositionElement->o-rdf:Type dpm:HasQuantityValue dpm:HasQuantityValue dpm:CompositionElement->dpm:HasQuantityValue ottr:Triple ottr:Triple dpm:CompositionElement->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:CompositionElement->o-owl-ax:SubPropertyOf dpm:HasMetaData->o-rdf:Type dpm:HasMetaData->ottr:Triple dpm:HasMetaData->o-owl-ax:SubPropertyOf o-rdf:Type->ottr:Triple dpm:HasQuantityValue->o-rdf:Type dpm:HasQuantityValue->ottr:Triple dpm:HasQuantityValue->o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf->ottr:Triple
Hierarchical vertical layout (dot)
dpm:CreateComposition dpm:CreateComposition dpm:CompositionElement dpm:CompositionElement dpm:CreateComposition->dpm:CompositionElement dpm:HasMetaData dpm:HasMetaData dpm:CreateComposition->dpm:HasMetaData o-rdf:Type o-rdf:Type dpm:CreateComposition->o-rdf:Type dpm:CompositionElement->o-rdf:Type dpm:HasQuantityValue dpm:HasQuantityValue dpm:CompositionElement->dpm:HasQuantityValue ottr:Triple ottr:Triple dpm:CompositionElement->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:CompositionElement->o-owl-ax:SubPropertyOf dpm:HasMetaData->o-rdf:Type dpm:HasMetaData->ottr:Triple dpm:HasMetaData->o-owl-ax:SubPropertyOf o-rdf:Type->ottr:Triple dpm:HasQuantityValue->o-rdf:Type dpm:HasQuantityValue->ottr:Triple dpm:HasQuantityValue->o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf->ottr:Triple
Spring model layout (neato)
dpm:CreateComposition dpm:CreateComposition dpm:CompositionElement dpm:CompositionElement dpm:CreateComposition->dpm:CompositionElement dpm:HasMetaData dpm:HasMetaData dpm:CreateComposition->dpm:HasMetaData o-rdf:Type o-rdf:Type dpm:CreateComposition->o-rdf:Type dpm:CompositionElement->o-rdf:Type dpm:HasQuantityValue dpm:HasQuantityValue dpm:CompositionElement->dpm:HasQuantityValue ottr:Triple ottr:Triple dpm:CompositionElement->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:CompositionElement->o-owl-ax:SubPropertyOf dpm:HasMetaData->o-rdf:Type dpm:HasMetaData->ottr:Triple dpm:HasMetaData->o-owl-ax:SubPropertyOf o-rdf:Type->ottr:Triple dpm:HasQuantityValue->o-rdf:Type dpm:HasQuantityValue->ottr:Triple dpm:HasQuantityValue->o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf->ottr:Triple
Spring model layout (fdp)
dpm:CreateComposition dpm:CreateComposition dpm:CompositionElement dpm:CompositionElement dpm:CreateComposition->dpm:CompositionElement dpm:HasMetaData dpm:HasMetaData dpm:CreateComposition->dpm:HasMetaData o-rdf:Type o-rdf:Type dpm:CreateComposition->o-rdf:Type dpm:CompositionElement->o-rdf:Type dpm:HasQuantityValue dpm:HasQuantityValue dpm:CompositionElement->dpm:HasQuantityValue ottr:Triple ottr:Triple dpm:CompositionElement->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:CompositionElement->o-owl-ax:SubPropertyOf dpm:HasMetaData->o-rdf:Type dpm:HasMetaData->ottr:Triple dpm:HasMetaData->o-owl-ax:SubPropertyOf o-rdf:Type->ottr:Triple dpm:HasQuantityValue->o-rdf:Type dpm:HasQuantityValue->ottr:Triple dpm:HasQuantityValue->o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf->ottr:Triple
Radial layout (twopi)
dpm:CreateComposition dpm:CreateComposition dpm:CompositionElement dpm:CompositionElement dpm:CreateComposition->dpm:CompositionElement dpm:HasMetaData dpm:HasMetaData dpm:CreateComposition->dpm:HasMetaData o-rdf:Type o-rdf:Type dpm:CreateComposition->o-rdf:Type dpm:CompositionElement->o-rdf:Type dpm:HasQuantityValue dpm:HasQuantityValue dpm:CompositionElement->dpm:HasQuantityValue ottr:Triple ottr:Triple dpm:CompositionElement->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:CompositionElement->o-owl-ax:SubPropertyOf dpm:HasMetaData->o-rdf:Type dpm:HasMetaData->ottr:Triple dpm:HasMetaData->o-owl-ax:SubPropertyOf o-rdf:Type->ottr:Triple dpm:HasQuantityValue->o-rdf:Type dpm:HasQuantityValue->ottr:Triple dpm:HasQuantityValue->o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf->ottr:Triple
Circular layout (circo)
dpm:CreateComposition dpm:CreateComposition dpm:CompositionElement dpm:CompositionElement dpm:CreateComposition->dpm:CompositionElement dpm:HasMetaData dpm:HasMetaData dpm:CreateComposition->dpm:HasMetaData o-rdf:Type o-rdf:Type dpm:CreateComposition->o-rdf:Type dpm:CompositionElement->o-rdf:Type dpm:HasQuantityValue dpm:HasQuantityValue dpm:CompositionElement->dpm:HasQuantityValue ottr:Triple ottr:Triple dpm:CompositionElement->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:CompositionElement->o-owl-ax:SubPropertyOf dpm:HasMetaData->o-rdf:Type dpm:HasMetaData->ottr:Triple dpm:HasMetaData->o-owl-ax:SubPropertyOf o-rdf:Type->ottr:Triple dpm:HasQuantityValue->o-rdf:Type dpm:HasQuantityValue->ottr:Triple dpm:HasQuantityValue->o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf->ottr:Triple

List of dependencies

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

dpm:CreateComposition
dpm:CompositionElement (1)
dpm:HasQuantityValue (1)ottr:Triple (3)
o-owl-ax:SubPropertyOf (1)ottr:Triple (1)
o-rdf:Type (3)ottr:Triple (1)
ottr:Triple (2)
o-owl-ax:SubPropertyOf (2)ottr:Triple (1)
o-rdf:Type (3)ottr:Triple (1)
dpm:HasMetaData (1)ottr:Triple (4)
o-owl-ax:SubPropertyOf (2)ottr:Triple (1)
o-rdf:Type (1)ottr:Triple (1)
o-rdf:Type (1)ottr:Triple (1)

Depending templates

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

None found.

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:CreateComposition[
    ottr:IRI ?material,
    NEList<ottr:IRI> ?elements,
    NEList<xsd:float> ?stoichiometry_portion_unit_at_percent,
    ottr:IRI ?user,
    xsd:date ?date,
    xsd:string ?comment="",
    xsd:boolean ?verified="true"^^xsd:boolean
] :: {
    zipMin | dpm:CompositionElement(?material, ++?elements, ++?stoichiometry_portion_unit_at_percent),
    dpm:HasMetaData(?material, ?user, ?date, ?comment, ?verified),
    o-rdf:Type(?material, pmd:ChemicalComposition)
} .

RDF/wOTTR

dpm:CreateComposition
        rdf:type         ottr:Template ;
        ottr:parameters  ( [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b0
                           ]
                           [ ottr:type      ( ottr:NEList ottr:IRI ) ;
                             ottr:variable  _:b1
                           ]
                           [ ottr:type      ( ottr:NEList xsd:float ) ;
                             ottr:variable  _:b2
                           ]
                           [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b3
                           ]
                           [ ottr:type      xsd:date ;
                             ottr:variable  _:b4
                           ]
                           [ ottr:default   "" ;
                             ottr:type      xsd:string ;
                             ottr:variable  _:b5
                           ]
                           [ ottr:default   true ;
                             ottr:type      xsd:boolean ;
                             ottr:variable  _:b6
                           ]
                         ) ;
        ottr:pattern     [ ottr:arguments  ( [ ottr:value  _:b0 ]
                                             [ ottr:modifier  ottr:listExpand ;
                                               ottr:value     _:b1
                                             ]
                                             [ ottr:modifier  ottr:listExpand ;
                                               ottr:value     _:b2
                                             ]
                                           ) ;
                           ottr:modifier   ottr:zipMin ;
                           ottr:of         dpm:CompositionElement
                         ] ;
        ottr:pattern     [ ottr:of      dpm:HasMetaData ;
                           ottr:values  ( _:b0
                                          _:b3
                                          _:b4
                                          _:b5
                                          _:b6
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      o-rdf:Type ;
                           ottr:values  ( _:b0
                                          pmd:ChemicalComposition
                                        )
                         ] .

Prefixes

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

@prefix dpm:        <http://dipromag.de/ottr-templates/0.1/>.
@prefix dcterms:    <http://dublincore.org/specifications/dublin-core/dcmi-terms/2020-01-20/>.
@prefix x:          <http://example.ottr.xyz/argument/>.
@prefix ottr:       <http://ns.ottr.xyz/0.4/>.
@prefix qb:         <http://purl.org/linked-data/cube#>.
@prefix sdmx-concept:<http://purl.org/linked-data/sdmx/2009/concept#>.
@prefix sdmx-dimension:<http://purl.org/linked-data/sdmx/2009/dimension#>.
@prefix sdmx-measure:<http://purl.org/linked-data/sdmx/2009/measure#>.
@prefix qudt:       <http://qudt.org/2.1/schema/qudt/>.
@prefix interval:   <http://reference.data.gov.uk/def/intervals/>.
@prefix o-owl-ax:   <http://tpl.ottr.xyz/owl/axiom/0.1/>.
@prefix o-owl-ma:   <http://tpl.ottr.xyz/owl/macro/0.1/>.
@prefix o-owl-re:   <http://tpl.ottr.xyz/owl/restriction/0.1/>.
@prefix o-owl-ut:   <http://tpl.ottr.xyz/owl/util/0.1/>.
@prefix o-docttr:   <http://tpl.ottr.xyz/p/docttr/0.1/>.
@prefix o-pizza:    <http://tpl.ottr.xyz/pizza/0.1/>.
@prefix o-rdf:      <http://tpl.ottr.xyz/rdf/0.1/>.
@prefix o-rdfs:     <http://tpl.ottr.xyz/rdfs/0.2/>.
@prefix rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs:       <http://www.w3.org/2000/01/rdf-schema#>.
@prefix xsd:        <http://www.w3.org/2001/XMLSchema#>.
@prefix emmo:       <http://www.w3.org/2002/07/emmo>.
@prefix owl:        <http://www.w3.org/2002/07/owl#>.
@prefix prov:       <http://www.w3.org/ns/prov-o#>.
@prefix foaf:       <http://xmlns.com/foaf/0.1/>.
@prefix pmd:        <https://w3id.org/pmd/co/>.