Contents

Template: dpm:HasQuantityValue

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

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
1objectottr:IRInoyesno
2data_scopeottr:IRInonopmd:PrimaryData
3propertyottr:IRInonono
4valuerdfs:Resourcenoyesno
5unitrdfs:Resourcenoyesno

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

dpm:HasQuantityValue[
    ottr:IRI ?object,
    ! ottr:IRI ?data_scope=pmd:PrimaryData,
    ! ottr:IRI ?property,
    rdfs:Resource ?value,
    rdfs:Resource ?unit
] :: {
    ottr:Triple(?object, ?property, _:blank520),
    ottr:Triple(_:blank520, pmd:unit, ?unit),
    ottr:Triple(_:blank520, pmd:value, ?value),
    o-owl-ax:SubPropertyOf(?property, pmd:characteristic),
    o-rdf:Type(?object, pmd:Object),
    o-rdf:Type(_:blank520, ?data_scope),
    o-rdf:Type(_:blank520, pmd:Measurement)
} .

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

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/argument3 : LUB<ottr:IRI> x:argument3 https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> pmd:characteristic http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>->https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> rdfs:subPropertyOf http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pmd:Object x:argument1 blank575 : LUB<rdfs:Resource> x:argument2 , pmd:Measurement http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank575 : LUB<rdfs:Resource> x:argument3 argument4 : LUB<rdfs:Resource> blank575 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource> pmd:value argument5 : LUB<rdfs:Resource> blank575 : LUB<rdfs:Resource>->argument5 : LUB<rdfs:Resource> pmd:unit
Hierarchical vertical layout (dot)
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> x:argument3 https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> pmd:characteristic http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>->https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> rdfs:subPropertyOf http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pmd:Object x:argument1 blank575 : LUB<rdfs:Resource> x:argument2 , pmd:Measurement http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank575 : LUB<rdfs:Resource> x:argument3 argument4 : LUB<rdfs:Resource> blank575 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource> pmd:value argument5 : LUB<rdfs:Resource> blank575 : LUB<rdfs:Resource>->argument5 : LUB<rdfs:Resource> pmd:unit
Spring model layout (neato)
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> x:argument3 https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> pmd:characteristic http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>->https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> rdfs:subPropertyOf http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pmd:Object x:argument1 blank575 : LUB<rdfs:Resource> x:argument2 , pmd:Measurement http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank575 : LUB<rdfs:Resource> x:argument3 argument4 : LUB<rdfs:Resource> blank575 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource> pmd:value argument5 : LUB<rdfs:Resource> blank575 : LUB<rdfs:Resource>->argument5 : LUB<rdfs:Resource> pmd:unit
Spring model layout (fdp)
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> x:argument3 https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> pmd:characteristic http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>->https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> rdfs:subPropertyOf http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pmd:Object x:argument1 blank575 : LUB<rdfs:Resource> x:argument2 , pmd:Measurement http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank575 : LUB<rdfs:Resource> x:argument3 argument4 : LUB<rdfs:Resource> blank575 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource> pmd:value argument5 : LUB<rdfs:Resource> blank575 : LUB<rdfs:Resource>->argument5 : LUB<rdfs:Resource> pmd:unit
Radial layout (twopi)
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> x:argument3 https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> pmd:characteristic http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>->https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> rdfs:subPropertyOf http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pmd:Object x:argument1 blank575 : LUB<rdfs:Resource> x:argument2 , pmd:Measurement http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank575 : LUB<rdfs:Resource> x:argument3 argument4 : LUB<rdfs:Resource> blank575 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource> pmd:value argument5 : LUB<rdfs:Resource> blank575 : LUB<rdfs:Resource>->argument5 : LUB<rdfs:Resource> pmd:unit
Circular layout (circo)
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> x:argument3 https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> pmd:characteristic http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>->https://w3id.org/pmd/co/characteristic : LUB<ottr:IRI> rdfs:subPropertyOf http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pmd:Object x:argument1 blank575 : LUB<rdfs:Resource> x:argument2 , pmd:Measurement http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank575 : LUB<rdfs:Resource> x:argument3 argument4 : LUB<rdfs:Resource> blank575 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource> pmd:value argument5 : LUB<rdfs:Resource> blank575 : LUB<rdfs:Resource>->argument5 : LUB<rdfs:Resource> pmd:unit

Expanded RDF graph

x:argument1  rdf:type  pmd:Object ;
        x:argument3  [ rdf:type   pmd:Measurement , x:argument2 ;
                       pmd:unit   []  ;
                       pmd:value  [] 
                     ] .

x:argument3  rdfs:subPropertyOf  pmd:characteristic .

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:HasQuantityValue(x:argument1, x:argument2, x:argument3, _:argument4, _:argument5)ottr:Triple(x:argument1, x:argument3, _:blank573)ottr:Triple(_:blank573, pmd:value, _:argument4)ottr:Triple(_:blank573, pmd:unit, _:argument5)
o-owl-ax:SubPropertyOf(x:argument3, pmd:characteristic)ottr:Triple(x:argument3, rdfs:subPropertyOf, pmd:characteristic)
o-rdf:Type(_:blank573, x:argument2)ottr:Triple(_:blank573, rdf:type, x:argument2)
o-rdf:Type(_:blank573, pmd:Measurement)ottr:Triple(_:blank573, rdf:type, pmd:Measurement)
o-rdf:Type(x:argument1, pmd:Object)ottr:Triple(x:argument1, rdf:type, pmd:Object)

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:HasQuantityValue dpm:HasQuantityValue ottr:Triple ottr:Triple dpm:HasQuantityValue->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:HasQuantityValue->o-owl-ax:SubPropertyOf o-rdf:Type o-rdf:Type dpm:HasQuantityValue->o-rdf:Type o-owl-ax:SubPropertyOf->ottr:Triple o-rdf:Type->ottr:Triple
Hierarchical vertical layout (dot)
dpm:HasQuantityValue dpm:HasQuantityValue ottr:Triple ottr:Triple dpm:HasQuantityValue->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:HasQuantityValue->o-owl-ax:SubPropertyOf o-rdf:Type o-rdf:Type dpm:HasQuantityValue->o-rdf:Type o-owl-ax:SubPropertyOf->ottr:Triple o-rdf:Type->ottr:Triple
Spring model layout (neato)
dpm:HasQuantityValue dpm:HasQuantityValue ottr:Triple ottr:Triple dpm:HasQuantityValue->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:HasQuantityValue->o-owl-ax:SubPropertyOf o-rdf:Type o-rdf:Type dpm:HasQuantityValue->o-rdf:Type o-owl-ax:SubPropertyOf->ottr:Triple o-rdf:Type->ottr:Triple
Spring model layout (fdp)
dpm:HasQuantityValue dpm:HasQuantityValue ottr:Triple ottr:Triple dpm:HasQuantityValue->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:HasQuantityValue->o-owl-ax:SubPropertyOf o-rdf:Type o-rdf:Type dpm:HasQuantityValue->o-rdf:Type o-owl-ax:SubPropertyOf->ottr:Triple o-rdf:Type->ottr:Triple
Radial layout (twopi)
dpm:HasQuantityValue dpm:HasQuantityValue ottr:Triple ottr:Triple dpm:HasQuantityValue->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:HasQuantityValue->o-owl-ax:SubPropertyOf o-rdf:Type o-rdf:Type dpm:HasQuantityValue->o-rdf:Type o-owl-ax:SubPropertyOf->ottr:Triple o-rdf:Type->ottr:Triple
Circular layout (circo)
dpm:HasQuantityValue dpm:HasQuantityValue ottr:Triple ottr:Triple dpm:HasQuantityValue->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:HasQuantityValue->o-owl-ax:SubPropertyOf o-rdf:Type o-rdf:Type dpm:HasQuantityValue->o-rdf:Type o-owl-ax:SubPropertyOf->ottr:Triple o-rdf:Type->ottr:Triple

List of dependencies

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

dpm:HasQuantityValueottr:Triple (3)
o-owl-ax:SubPropertyOf (1)ottr:Triple (1)
o-rdf:Type (3)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:HasQuantityValue[
    ottr:IRI ?object,
    ! ottr:IRI ?data_scope=pmd:PrimaryData,
    ! ottr:IRI ?property,
    rdfs:Resource ?value,
    rdfs:Resource ?unit
] :: {
    ottr:Triple(?object, ?property, _:blank520),
    ottr:Triple(_:blank520, pmd:unit, ?unit),
    ottr:Triple(_:blank520, pmd:value, ?value),
    o-owl-ax:SubPropertyOf(?property, pmd:characteristic),
    o-rdf:Type(?object, pmd:Object),
    o-rdf:Type(_:blank520, ?data_scope),
    o-rdf:Type(_:blank520, pmd:Measurement)
} .

RDF/wOTTR

dpm:HasQuantityValue  rdf:type  ottr:Template ;
        ottr:parameters  ( [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b0
                           ]
                           [ ottr:default   pmd:PrimaryData ;
                             ottr:modifier  ottr:nonBlank ;
                             ottr:type      ottr:IRI ;
                             ottr:variable  _:b1
                           ]
                           [ ottr:modifier  ottr:nonBlank ;
                             ottr:type      ottr:IRI ;
                             ottr:variable  _:b2
                           ]
                           [ ottr:type      rdfs:Resource ;
                             ottr:variable  _:b3
                           ]
                           [ ottr:type      rdfs:Resource ;
                             ottr:variable  _:b4
                           ]
                         ) ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b5
                                          pmd:unit
                                          _:b4
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b5
                                          pmd:value
                                          _:b3
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      o-rdf:Type ;
                           ottr:values  ( _:b0
                                          pmd:Object
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          _:b2
                                          _:b5
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      o-rdf:Type ;
                           ottr:values  ( _:b5
                                          pmd:Measurement
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      o-owl-ax:SubPropertyOf ;
                           ottr:values  ( _:b2
                                          pmd:characteristic
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      o-rdf:Type ;
                           ottr:values  ( _:b5
                                          _:b1
                                        )
                         ] .

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/>.