Contents

Template: dpm:HasCharacteristicRefData

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

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
1thingottr:IRInoyesno
2typesList<owl:Class>noyesno
3urlxsd:stringnoyesno

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

dpm:HasCharacteristicRefData[
    ottr:IRI ?thing,
    List<owl:Class> ?types,
    xsd:string ?url
] :: {
    ottr:Triple(?thing, pmd:characteristic, _:blank505),
    ottr:Triple(?thing, pmd:resource, _:blank502),
    ottr:Triple(_:blank502, dcat:distribution, _:blank506),
    ottr:Triple(_:blank506, dcat:downloadUrl, ?url),
    o-rdf:Type(_:blank506, dcat:Distribution),
    cross | o-rdf:Type(_:blank502, ++(pmd:Dataset, dcat:Dataset)),
    cross | o-rdf:Type(_:blank505, ++?types)
} .

🛈 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:HasCharacteristicRefData(x:argument1, (x:argument2-1, x:argument2-2), _:argument3)
RDF/wOTTR
[ ottr:of      dpm:HasCharacteristicRefData ;
  ottr:values  ( x:argument1 ( x:argument2-1 x:argument2-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)
blank813 : LUB<rdfs:Resource> pmd:Dataset, dcat:Dataset blank814 : LUB<rdfs:Resource> dcat:Distribution blank813 : LUB<rdfs:Resource>->blank814 : LUB<rdfs:Resource> dcat:distribution argument3 : LUB<rdfs:Resource> blank814 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> dcat:downloadUrl http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank813 : LUB<rdfs:Resource> pmd:resource blank815 : LUB<rdfs:Resource> x:argument2-1 , x:argument2-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank815 : LUB<rdfs:Resource> pmd:characteristic
Hierarchical vertical layout (dot)
blank813 : LUB<rdfs:Resource> pmd:Dataset, dcat:Dataset blank814 : LUB<rdfs:Resource> dcat:Distribution blank813 : LUB<rdfs:Resource>->blank814 : LUB<rdfs:Resource> dcat:distribution argument3 : LUB<rdfs:Resource> blank814 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> dcat:downloadUrl http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank813 : LUB<rdfs:Resource> pmd:resource blank815 : LUB<rdfs:Resource> x:argument2-1 , x:argument2-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank815 : LUB<rdfs:Resource> pmd:characteristic
Spring model layout (neato)
blank813 : LUB<rdfs:Resource> pmd:Dataset, dcat:Dataset blank814 : LUB<rdfs:Resource> dcat:Distribution blank813 : LUB<rdfs:Resource>->blank814 : LUB<rdfs:Resource> dcat:distribution argument3 : LUB<rdfs:Resource> blank814 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> dcat:downloadUrl http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank813 : LUB<rdfs:Resource> pmd:resource blank815 : LUB<rdfs:Resource> x:argument2-1 , x:argument2-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank815 : LUB<rdfs:Resource> pmd:characteristic
Spring model layout (fdp)
blank813 : LUB<rdfs:Resource> pmd:Dataset, dcat:Dataset blank814 : LUB<rdfs:Resource> dcat:Distribution blank813 : LUB<rdfs:Resource>->blank814 : LUB<rdfs:Resource> dcat:distribution argument3 : LUB<rdfs:Resource> blank814 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> dcat:downloadUrl http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank813 : LUB<rdfs:Resource> pmd:resource blank815 : LUB<rdfs:Resource> x:argument2-1 , x:argument2-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank815 : LUB<rdfs:Resource> pmd:characteristic
Radial layout (twopi)
blank813 : LUB<rdfs:Resource> pmd:Dataset, dcat:Dataset blank814 : LUB<rdfs:Resource> dcat:Distribution blank813 : LUB<rdfs:Resource>->blank814 : LUB<rdfs:Resource> dcat:distribution argument3 : LUB<rdfs:Resource> blank814 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> dcat:downloadUrl http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank813 : LUB<rdfs:Resource> pmd:resource blank815 : LUB<rdfs:Resource> x:argument2-1 , x:argument2-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank815 : LUB<rdfs:Resource> pmd:characteristic
Circular layout (circo)
blank813 : LUB<rdfs:Resource> pmd:Dataset, dcat:Dataset blank814 : LUB<rdfs:Resource> dcat:Distribution blank813 : LUB<rdfs:Resource>->blank814 : LUB<rdfs:Resource> dcat:distribution argument3 : LUB<rdfs:Resource> blank814 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> dcat:downloadUrl http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank813 : LUB<rdfs:Resource> pmd:resource blank815 : LUB<rdfs:Resource> x:argument2-1 , x:argument2-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->blank815 : LUB<rdfs:Resource> pmd:characteristic

Expanded RDF graph

x:argument1  pmd:characteristic  [ rdf:type  x:argument2-2 , x:argument2-1 ] ;
        pmd:resource        [ rdf:type           dcat:Dataset , pmd:Dataset ;
                              dcat:distribution  [ rdf:type          dcat:Distribution ;
                                                   dcat:downloadUrl  [] 
                                                 ]
                            ] .

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:HasCharacteristicRefData(x:argument1, (x:argument2-1, x:argument2-2), _:argument3)ottr:Triple(_:blank807, dcat:distribution, _:blank808)ottr:Triple(x:argument1, pmd:characteristic, _:blank809)ottr:Triple(_:blank808, dcat:downloadUrl, _:argument3)ottr:Triple(x:argument1, pmd:resource, _:blank807)
cross | o-rdf:Type(_:blank809, ++(x:argument2-1, x:argument2-2))ottr:Triple(_:blank809, rdf:type, (x:argument2-1, x:argument2-2))
cross | o-rdf:Type(_:blank807, ++(pmd:Dataset, dcat:Dataset))ottr:Triple(_:blank807, rdf:type, (pmd:Dataset, dcat:Dataset))
o-rdf:Type(_:blank808, dcat:Distribution)ottr:Triple(_:blank808, rdf:type, dcat:Distribution)

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

List of dependencies

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

dpm:HasCharacteristicRefDataottr:Triple (4)
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:HasCharacteristicRefData[
    ottr:IRI ?thing,
    List<owl:Class> ?types,
    xsd:string ?url
] :: {
    ottr:Triple(?thing, pmd:characteristic, _:blank505),
    ottr:Triple(?thing, pmd:resource, _:blank502),
    ottr:Triple(_:blank502, dcat:distribution, _:blank506),
    ottr:Triple(_:blank506, dcat:downloadUrl, ?url),
    o-rdf:Type(_:blank506, dcat:Distribution),
    cross | o-rdf:Type(_:blank502, ++(pmd:Dataset, dcat:Dataset)),
    cross | o-rdf:Type(_:blank505, ++?types)
} .

RDF/wOTTR

dpm:HasCharacteristicRefData
        rdf:type         ottr:Template ;
        ottr:parameters  ( [ ottr:name      "thing" ;
                             ottr:type      ottr:IRI ;
                             ottr:variable  _:b0
                           ]
                           [ ottr:name      "types" ;
                             ottr:type      ( rdf:List owl:Class ) ;
                             ottr:variable  _:b1
                           ]
                           [ ottr:name      "url" ;
                             ottr:type      xsd:string ;
                             ottr:variable  _:b2
                           ]
                         ) ;
        ottr:pattern     [ ottr:of      o-rdf:Type ;
                           ottr:values  ( _:b3
                                          dcat:Distribution
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          pmd:resource
                                          _:b4
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b3
                                          dcat:downloadUrl
                                          _:b2
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          pmd:characteristic
                                          _:b5
                                        )
                         ] ;
        ottr:pattern     [ ottr:arguments  ( [ ottr:value  _:b4 ]
                                             [ ottr:modifier  ottr:listExpand ;
                                               ottr:value     ( pmd:Dataset dcat:Dataset )
                                             ]
                                           ) ;
                           ottr:modifier   ottr:cross ;
                           ottr:of         o-rdf:Type
                         ] ;
        ottr:pattern     [ ottr:arguments  ( [ ottr:value  _:b5 ]
                                             [ ottr:modifier  ottr:listExpand ;
                                               ottr:value     _:b1
                                             ]
                                           ) ;
                           ottr:modifier   ottr:cross ;
                           ottr:of         o-rdf:Type
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b4
                                          dcat:distribution
                                          _:b3
                                        )
                         ] .

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 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 owl:        <http://www.w3.org/2002/07/owl#>.
@prefix dcat:       <http://www.w3.org/ns/dcat#>.
@prefix pmd:        <https://w3id.org/pmd/co/>.
@prefix dpm:        <https://www.dipromag.de/dipromag_onto/0.1/>.