Contents

Template: o-docttr:Provenance

URI: http://tpl.ottr.xyz/p/docttr/0.1/Provenance

Metadata

🛈 This section contains the data represented by the signature's annotation instances.

ottr:status
ottr:draft
owl:versionInfo
0.1.1
dc:description
Provenance data for templates. The '?created' parameter should denote the time of creation of the template and should be updated only for new major or minor versions of the template. Timestamps for patch updates are indicated with the '?updated' parameter.
skos:note
The template should be used in combination with other templates in the same package.
pav:createdOn
2020-08-21T00:00:00Z^^xsd:dateTime
dc:creator
http://folk.uio.no/martige/foaf.rdf#me
rdfs:seeAlso
o-docttr:
Metadata as RDF graph
o-docttr:Provenance  rdfs:seeAlso  o-docttr: ;
        ottr:status      ottr:draft ;
        dc:creator       <http://folk.uio.no/martige/foaf.rdf#me> ;
        dc:description   "Provenance data for templates. The '?created' parameter should denote the time of creation of the template and should be updated only for new major or minor versions of the template. Timestamps for patch updates are indicated with the '?updated' parameter." ;
        pav:createdOn    "2020-08-21T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
        owl:versionInfo  "0.1.1" ;
        skos:note        "The template should be used in combination with other templates in the same package." .

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
1resourceottr:IRInoyesno
2createdxsd:dateTimenonono
3updatedxsd:dateTimeyesnono
4authorsNEList<ottr:IRI>noyesno
5contributorsNEList<ottr:IRI>yesyesno

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

o-docttr:Provenance[
    ottr:IRI ?resource,
    ! xsd:dateTime ?created,
    !? xsd:dateTime ?updated,
    NEList<ottr:IRI> ?authors,
    ? NEList<ottr:IRI> ?contributors
] :: {
    ottr:Triple(?resource, pav:createdOn, ?created),
    ottr:Triple(?resource, pav:lastUpdateOn, ?updated),
    cross | ottr:Triple(?resource, dc:contributor, ++?contributors),
    cross | ottr:Triple(?resource, dc:creator, ++?authors)
} .

🛈 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
o-docttr:Provenance(x:argument1, _:argument2, _:argument3, (x:argument4-1, x:argument4-2), (x:argument5-1, x:argument5-2))
RDF/wOTTR
[ ottr:of      o-docttr:Provenance ;
  ottr:values  ( x:argument1
                 [] 
                 [] 
                 ( x:argument4-1 x:argument4-2 )
                 ( x:argument5-1 x:argument5-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)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> pav:lastUpdateOn http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI> x:argument5-1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI> dc:contributor http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI> x:argument5-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI> dc:contributor argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> pav:createdOn http://example.ottr.xyz/argument/argument4-1 : LUB<ottr:IRI> x:argument4-1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4-1 : LUB<ottr:IRI> dc:creator http://example.ottr.xyz/argument/argument4-2 : LUB<ottr:IRI> x:argument4-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4-2 : LUB<ottr:IRI> dc:creator
Hierarchical vertical layout (dot)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> pav:lastUpdateOn http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI> x:argument5-1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI> dc:contributor http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI> x:argument5-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI> dc:contributor argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> pav:createdOn http://example.ottr.xyz/argument/argument4-1 : LUB<ottr:IRI> x:argument4-1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4-1 : LUB<ottr:IRI> dc:creator http://example.ottr.xyz/argument/argument4-2 : LUB<ottr:IRI> x:argument4-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4-2 : LUB<ottr:IRI> dc:creator
Spring model layout (neato)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> pav:lastUpdateOn http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI> x:argument5-1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI> dc:contributor http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI> x:argument5-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI> dc:contributor argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> pav:createdOn http://example.ottr.xyz/argument/argument4-1 : LUB<ottr:IRI> x:argument4-1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4-1 : LUB<ottr:IRI> dc:creator http://example.ottr.xyz/argument/argument4-2 : LUB<ottr:IRI> x:argument4-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4-2 : LUB<ottr:IRI> dc:creator
Spring model layout (fdp)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> pav:lastUpdateOn http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI> x:argument5-1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI> dc:contributor http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI> x:argument5-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI> dc:contributor argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> pav:createdOn http://example.ottr.xyz/argument/argument4-1 : LUB<ottr:IRI> x:argument4-1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4-1 : LUB<ottr:IRI> dc:creator http://example.ottr.xyz/argument/argument4-2 : LUB<ottr:IRI> x:argument4-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4-2 : LUB<ottr:IRI> dc:creator
Radial layout (twopi)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> pav:lastUpdateOn http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI> x:argument5-1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI> dc:contributor http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI> x:argument5-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI> dc:contributor argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> pav:createdOn http://example.ottr.xyz/argument/argument4-1 : LUB<ottr:IRI> x:argument4-1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4-1 : LUB<ottr:IRI> dc:creator http://example.ottr.xyz/argument/argument4-2 : LUB<ottr:IRI> x:argument4-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4-2 : LUB<ottr:IRI> dc:creator
Circular layout (circo)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> pav:lastUpdateOn http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI> x:argument5-1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI> dc:contributor http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI> x:argument5-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI> dc:contributor argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> pav:createdOn http://example.ottr.xyz/argument/argument4-1 : LUB<ottr:IRI> x:argument4-1 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4-1 : LUB<ottr:IRI> dc:creator http://example.ottr.xyz/argument/argument4-2 : LUB<ottr:IRI> x:argument4-2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4-2 : LUB<ottr:IRI> dc:creator

Expanded RDF graph

x:argument1  dc:contributor  x:argument5-2 , x:argument5-1 ;
        dc:creator        x:argument4-2 , x:argument4-1 ;
        pav:createdOn     []  ;
        pav:lastUpdateOn  []  .

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.

o-docttr:Provenance(x:argument1, _:argument2, _:argument3, (x:argument4-1, x:argument4-2), (x:argument5-1, x:argument5-2))ottr:Triple(x:argument1, pav:lastUpdateOn, _:argument3)cross | ottr:Triple(x:argument1, dc:contributor, ++(x:argument5-1, x:argument5-2))ottr:Triple(x:argument1, pav:createdOn, _:argument2)cross | ottr:Triple(x:argument1, dc:creator, ++(x:argument4-1, x:argument4-2))

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)
%3 o-docttr:Provenance o-docttr:Provenance ottr:Triple ottr:Triple o-docttr:Provenance->ottr:Triple
Hierarchical vertical layout (dot)
%3 o-docttr:Provenance o-docttr:Provenance ottr:Triple ottr:Triple o-docttr:Provenance->ottr:Triple
Spring model layout (neato)
%3 o-docttr:Provenance o-docttr:Provenance ottr:Triple ottr:Triple o-docttr:Provenance->ottr:Triple
Spring model layout (fdp)
%3 o-docttr:Provenance o-docttr:Provenance ottr:Triple ottr:Triple o-docttr:Provenance->ottr:Triple
Radial layout (twopi)
%3 o-docttr:Provenance o-docttr:Provenance ottr:Triple ottr:Triple o-docttr:Provenance->ottr:Triple
Circular layout (circo)
%3 o-docttr:Provenance o-docttr:Provenance ottr:Triple ottr:Triple o-docttr:Provenance->ottr:Triple

List of dependencies

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

o-docttr:Provenanceottr:Triple (4)

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 dependencies
  • Number of instances: 4
  • Templates used: (1 templates)
Complete expansion

Vocabulary introduced

Direct dependenciesComplete expansion

Serialisations

stOTTR

o-docttr:Provenance[
    ottr:IRI ?resource,
    ! xsd:dateTime ?created,
    !? xsd:dateTime ?updated,
    NEList<ottr:IRI> ?authors,
    ? NEList<ottr:IRI> ?contributors
]
@@o-docttr:Provenance(
    o-docttr:Provenance,
    "2020-08-21T00:00:00Z"^^xsd:dateTime,
    none,
    (<http://folk.uio.no/martige/foaf.rdf#me>),
    none),
@@o-docttr:Signature(
    o-docttr:Provenance,
    none,
    "Provenance data for templates. The '?created' parameter should denote the time of creation of the template and should be updated only for new major or minor versions of the template. Timestamps for patch updates are indicated with the '?updated' parameter.",
    none,
    ("The template should be used in combination with other templates in the same package."),
    (<http://tpl.ottr.xyz/p/docttr/0.1/>),
    none),
@@o-docttr:Version(
    o-docttr:Provenance,
    ottr:draft,
    "0.1.1",
    none,
    none)
 :: {
    ottr:Triple(?resource, pav:createdOn, ?created),
    ottr:Triple(?resource, pav:lastUpdateOn, ?updated),
    cross | ottr:Triple(?resource, dc:contributor, ++?contributors),
    cross | ottr:Triple(?resource, dc:creator, ++?authors)
} .

RDF/wOTTR

o-docttr:Provenance  rdf:type  ottr:Template ;
        ottr:annotation  [ ottr:of      o-docttr:Version ;
                           ottr:values  ( o-docttr:Provenance ottr:draft "0.1.1" ottr:none ottr:none )
                         ] ;
        ottr:annotation  [ ottr:of      o-docttr:Signature ;
                           ottr:values  ( o-docttr:Provenance ottr:none "Provenance data for templates. The '?created' parameter should denote the time of creation of the template and should be updated only for new major or minor versions of the template. Timestamps for patch updates are indicated with the '?updated' parameter." ottr:none ( "The template should be used in combination with other templates in the same package." ) ( o-docttr: ) ottr:none )
                         ] ;
        ottr:annotation  [ ottr:of      o-docttr:Provenance ;
                           ottr:values  ( o-docttr:Provenance "2020-08-21T00:00:00Z"^^xsd:dateTime ottr:none ( <http://folk.uio.no/martige/foaf.rdf#me> ) ottr:none )
                         ] ;
        ottr:parameters  ( [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b0
                           ]
                           [ ottr:modifier  ottr:nonBlank ;
                             ottr:type      xsd:dateTime ;
                             ottr:variable  _:b1
                           ]
                           [ ottr:modifier  ottr:nonBlank , ottr:optional ;
                             ottr:type      xsd:dateTime ;
                             ottr:variable  _:b2
                           ]
                           [ ottr:type      ( ottr:NEList ottr:IRI ) ;
                             ottr:variable  _:b3
                           ]
                           [ ottr:modifier  ottr:optional ;
                             ottr:type      ( ottr:NEList ottr:IRI ) ;
                             ottr:variable  _:b4
                           ]
                         ) ;
        ottr:pattern     [ ottr:arguments  ( [ ottr:value  _:b0 ]
                                             [ ottr:value  dc:creator ]
                                             [ ottr:modifier  ottr:listExpand ;
                                               ottr:value     _:b3
                                             ]
                                           ) ;
                           ottr:modifier   ottr:cross ;
                           ottr:of         ottr:Triple
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          pav:createdOn
                                          _:b1
                                        )
                         ] ;
        ottr:pattern     [ ottr:arguments  ( [ ottr:value  _:b0 ]
                                             [ ottr:value  dc:contributor ]
                                             [ ottr:modifier  ottr:listExpand ;
                                               ottr:value     _:b4
                                             ]
                                           ) ;
                           ottr:modifier   ottr:cross ;
                           ottr:of         ottr:Triple
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          pav:lastUpdateOn
                                          _:b2
                                        )
                         ] .

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 dc:         <http://purl.org/dc/elements/1.1/>.
@prefix pav:        <http://purl.org/pav/>.
@prefix o-docttr:   <http://tpl.ottr.xyz/p/docttr/0.1/>.
@prefix rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix xsd:        <http://www.w3.org/2001/XMLSchema#>.