Contents

Template: dpm:HasMetaData

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

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
1headottr:IRInoyesno
2userottr:IRInoyesno
3datexsd:datenoyesno
4commentxsd:stringnoyesno
5verifiedxsd:booleannoyesno

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

dpm:HasMetaData[
    ottr:IRI ?head,
    ottr:IRI ?user,
    xsd:date ?date,
    xsd:string ?comment,
    xsd:boolean ?verified
] :: {
    ottr:Triple(?head, dpm:comment, ?comment),
    ottr:Triple(?head, dpm:isVerified, ?verified),
    ottr:Triple(?head, dcterms:created, ?date),
    ottr:Triple(?head, dcterms:creator, ?user),
    o-owl-ax:SubPropertyOf(dpm:comment, rdfs:comment),
    o-owl-ax:SubPropertyOf(dpm:instantiatedBy, prov:wasAssociatedWith),
    o-rdf:Type(?user, pmd:Operator)
} .

🛈 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:HasMetaData(x:argument1, x:argument2, _:argument3, _:argument4, _:argument5)
RDF/wOTTR
[ ottr:of      dpm:HasMetaData ;
  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)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument4 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4 : LUB<rdfs:Resource> dpm:comment argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> dcterms:created http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> pmd:Operator x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> dcterms:creator argument5 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource> dpm:isVerified 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
Hierarchical vertical layout (dot)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument4 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4 : LUB<rdfs:Resource> dpm:comment argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> dcterms:created http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> pmd:Operator x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> dcterms:creator argument5 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource> dpm:isVerified 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
Spring model layout (neato)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument4 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4 : LUB<rdfs:Resource> dpm:comment argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> dcterms:created http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> pmd:Operator x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> dcterms:creator argument5 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource> dpm:isVerified 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
Spring model layout (fdp)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument4 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4 : LUB<rdfs:Resource> dpm:comment argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> dcterms:created http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> pmd:Operator x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> dcterms:creator argument5 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource> dpm:isVerified 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
Radial layout (twopi)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument4 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4 : LUB<rdfs:Resource> dpm:comment argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> dcterms:created http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> pmd:Operator x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> dcterms:creator argument5 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource> dpm:isVerified 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
Circular layout (circo)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument4 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4 : LUB<rdfs:Resource> dpm:comment argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> dcterms:created http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> pmd:Operator x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> dcterms:creator argument5 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource> dpm:isVerified 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

Expanded RDF graph

dpm:comment  rdfs:subPropertyOf  rdfs:comment .

dpm:instantiatedBy  rdfs:subPropertyOf  prov:wasAssociatedWith .

x:argument1  dpm:comment  []  ;
        dpm:isVerified   []  ;
        dcterms:created  []  ;
        dcterms:creator  x:argument2 .

x:argument2  rdf:type  pmd:Operator .

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:HasMetaData(x:argument1, x:argument2, _:argument3, _:argument4, _:argument5)ottr:Triple(x:argument1, dpm:comment, _:argument4)ottr:Triple(x:argument1, dcterms:created, _:argument3)ottr:Triple(x:argument1, dcterms:creator, x:argument2)ottr:Triple(x:argument1, dpm:isVerified, _:argument5)
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:argument2, pmd:Operator)ottr:Triple(x:argument2, rdf:type, pmd:Operator)

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:HasMetaData dpm:HasMetaData ottr:Triple ottr:Triple dpm:HasMetaData->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:HasMetaData->o-owl-ax:SubPropertyOf o-rdf:Type o-rdf:Type dpm:HasMetaData->o-rdf:Type o-owl-ax:SubPropertyOf->ottr:Triple o-rdf:Type->ottr:Triple
Hierarchical vertical layout (dot)
dpm:HasMetaData dpm:HasMetaData ottr:Triple ottr:Triple dpm:HasMetaData->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:HasMetaData->o-owl-ax:SubPropertyOf o-rdf:Type o-rdf:Type dpm:HasMetaData->o-rdf:Type o-owl-ax:SubPropertyOf->ottr:Triple o-rdf:Type->ottr:Triple
Spring model layout (neato)
dpm:HasMetaData dpm:HasMetaData ottr:Triple ottr:Triple dpm:HasMetaData->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:HasMetaData->o-owl-ax:SubPropertyOf o-rdf:Type o-rdf:Type dpm:HasMetaData->o-rdf:Type o-owl-ax:SubPropertyOf->ottr:Triple o-rdf:Type->ottr:Triple
Spring model layout (fdp)
dpm:HasMetaData dpm:HasMetaData ottr:Triple ottr:Triple dpm:HasMetaData->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:HasMetaData->o-owl-ax:SubPropertyOf o-rdf:Type o-rdf:Type dpm:HasMetaData->o-rdf:Type o-owl-ax:SubPropertyOf->ottr:Triple o-rdf:Type->ottr:Triple
Radial layout (twopi)
dpm:HasMetaData dpm:HasMetaData ottr:Triple ottr:Triple dpm:HasMetaData->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:HasMetaData->o-owl-ax:SubPropertyOf o-rdf:Type o-rdf:Type dpm:HasMetaData->o-rdf:Type o-owl-ax:SubPropertyOf->ottr:Triple o-rdf:Type->ottr:Triple
Circular layout (circo)
dpm:HasMetaData dpm:HasMetaData ottr:Triple ottr:Triple dpm:HasMetaData->ottr:Triple o-owl-ax:SubPropertyOf o-owl-ax:SubPropertyOf dpm:HasMetaData->o-owl-ax:SubPropertyOf o-rdf:Type o-rdf:Type dpm:HasMetaData->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:HasMetaDataottr:Triple (4)
o-owl-ax:SubPropertyOf (2)ottr:Triple (1)
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:HasMetaData[
    ottr:IRI ?head,
    ottr:IRI ?user,
    xsd:date ?date,
    xsd:string ?comment,
    xsd:boolean ?verified
] :: {
    ottr:Triple(?head, dpm:comment, ?comment),
    ottr:Triple(?head, dpm:isVerified, ?verified),
    ottr:Triple(?head, dcterms:created, ?date),
    ottr:Triple(?head, dcterms:creator, ?user),
    o-owl-ax:SubPropertyOf(dpm:comment, rdfs:comment),
    o-owl-ax:SubPropertyOf(dpm:instantiatedBy, prov:wasAssociatedWith),
    o-rdf:Type(?user, pmd:Operator)
} .

RDF/wOTTR

dpm:HasMetaData  rdf:type  ottr:Template ;
        ottr:parameters  ( [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b0
                           ]
                           [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b1
                           ]
                           [ ottr:type      xsd:date ;
                             ottr:variable  _:b2
                           ]
                           [ ottr:type      xsd:string ;
                             ottr:variable  _:b3
                           ]
                           [ ottr:type      xsd:boolean ;
                             ottr:variable  _:b4
                           ]
                         ) ;
        ottr:pattern     [ ottr:of      o-rdf:Type ;
                           ottr:values  ( _:b1
                                          pmd:Operator
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          dpm:isVerified
                                          _:b4
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      o-owl-ax:SubPropertyOf ;
                           ottr:values  ( dpm:comment rdfs:comment )
                         ] ;
        ottr:pattern     [ ottr:of      o-owl-ax:SubPropertyOf ;
                           ottr:values  ( dpm:instantiatedBy prov:wasAssociatedWith )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          dcterms:creator
                                          _:b1
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          dcterms:created
                                          _:b2
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          dpm:comment
                                          _:b3
                                        )
                         ] .

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