Contents

Template: o-docttr:Version

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

Metadata

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

ottr:status
ottr:draft
owl:versionInfo
0.1.1
dc:description
Use to specify the current and related version of a template. The '?version' parameter expects a string version number using the format [major.minor.patch] (see https://semver.org/), while the parameters '?previousVersion' and '?nextVersion' expects a resolving template IRI.
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
Metadata as RDF graph
o-docttr:Version  rdfs:seeAlso  <https://semver.org/> , o-docttr: ;
        ottr:status      ottr:draft ;
        dc:creator       <http://folk.uio.no/martige/foaf.rdf#me> ;
        dc:description   "Use to specify the current and related version of a template. The '?version' parameter expects a string version number using the format [major.minor.patch] (see https://semver.org/), while the parameters '?previousVersion' and '?nextVersion' expects a resolving template IRI." ;
        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
2statusottr:IRInonoottr:incomplete
3versionxsd:stringnonono
4previousVersionottr:IRIyesnono
5nextVersionottr:IRIyesnono

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

o-docttr:Version[
    ottr:IRI ?resource,
    ! ottr:IRI ?status=ottr:incomplete,
    ! xsd:string ?version,
    !? ottr:IRI ?previousVersion,
    !? ottr:IRI ?nextVersion
] :: {
    ottr:Triple(?nextVersion, pav:hasPreviousVersion, ?resource),
    ottr:Triple(?resource, pav:hasPreviousVersion, ?previousVersion),
    ottr:Triple(?resource, ottr:status, ?status),
    ottr:Triple(?resource, owl:versionInfo, ?version)
} .

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

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 http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> ottr:status argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> owl:versionInfo http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> pav:hasPreviousVersion http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI> x:argument5 http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pav:hasPreviousVersion
Hierarchical vertical layout (dot)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> ottr:status argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> owl:versionInfo http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> pav:hasPreviousVersion http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI> x:argument5 http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pav:hasPreviousVersion
Spring model layout (neato)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> ottr:status argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> owl:versionInfo http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> pav:hasPreviousVersion http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI> x:argument5 http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pav:hasPreviousVersion
Spring model layout (fdp)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> ottr:status argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> owl:versionInfo http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> pav:hasPreviousVersion http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI> x:argument5 http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pav:hasPreviousVersion
Radial layout (twopi)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> ottr:status argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> owl:versionInfo http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> pav:hasPreviousVersion http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI> x:argument5 http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pav:hasPreviousVersion
Circular layout (circo)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> ottr:status argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> owl:versionInfo http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> pav:hasPreviousVersion http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI> x:argument5 http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> pav:hasPreviousVersion

Expanded RDF graph

x:argument5  pav:hasPreviousVersion  x:argument1 .

x:argument1  ottr:status        x:argument2 ;
        pav:hasPreviousVersion  x:argument4 ;
        owl:versionInfo         []  .

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:Version(x:argument1, x:argument2, _:argument3, x:argument4, x:argument5)ottr:Triple(x:argument1, ottr:status, x:argument2)ottr:Triple(x:argument5, pav:hasPreviousVersion, x:argument1)ottr:Triple(x:argument1, owl:versionInfo, _:argument3)ottr:Triple(x:argument1, pav:hasPreviousVersion, x:argument4)

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

List of dependencies

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

o-docttr:Versionottr: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:Version[
    ottr:IRI ?resource,
    ! ottr:IRI ?status=ottr:incomplete,
    ! xsd:string ?version,
    !? ottr:IRI ?previousVersion,
    !? ottr:IRI ?nextVersion
]
@@o-docttr:Provenance(
    o-docttr:Version,
    "2020-08-21T00:00:00Z"^^xsd:dateTime,
    none,
    (<http://folk.uio.no/martige/foaf.rdf#me>),
    none),
@@o-docttr:Signature(
    o-docttr:Version,
    none,
    "Use to specify the current and related version of a template. The '?version' parameter expects a string version number using the format [major.minor.patch] (see https://semver.org/), while the parameters '?previousVersion' and '?nextVersion' expects a resolving template IRI.",
    none,
    ("The template should be used in combination with other templates in the same package."),
    (<http://tpl.ottr.xyz/p/docttr/0.1/>, <https://semver.org/>),
    none),
@@o-docttr:Version(
    o-docttr:Version,
    ottr:draft,
    "0.1.1",
    none,
    none)
 :: {
    ottr:Triple(?nextVersion, pav:hasPreviousVersion, ?resource),
    ottr:Triple(?resource, pav:hasPreviousVersion, ?previousVersion),
    ottr:Triple(?resource, ottr:status, ?status),
    ottr:Triple(?resource, owl:versionInfo, ?version)
} .

RDF/wOTTR

o-docttr:Version  rdf:type  ottr:Template ;
        ottr:annotation  [ ottr:of      o-docttr:Version ;
                           ottr:values  ( o-docttr:Version ottr:draft "0.1.1" ottr:none ottr:none )
                         ] ;
        ottr:annotation  [ ottr:of      o-docttr:Signature ;
                           ottr:values  ( o-docttr:Version ottr:none "Use to specify the current and related version of a template. The '?version' parameter expects a string version number using the format [major.minor.patch] (see https://semver.org/), while the parameters '?previousVersion' and '?nextVersion' expects a resolving template IRI." ottr:none ( "The template should be used in combination with other templates in the same package." ) ( o-docttr: <https://semver.org/> ) ottr:none )
                         ] ;
        ottr:annotation  [ ottr:of      o-docttr:Provenance ;
                           ottr:values  ( o-docttr:Version "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:default   ottr:incomplete ;
                             ottr:modifier  ottr:nonBlank ;
                             ottr:type      ottr:IRI ;
                             ottr:variable  _:b1
                           ]
                           [ ottr:modifier  ottr:nonBlank ;
                             ottr:type      xsd:string ;
                             ottr:variable  _:b2
                           ]
                           [ ottr:modifier  ottr:nonBlank , ottr:optional ;
                             ottr:type      ottr:IRI ;
                             ottr:variable  _:b3
                           ]
                           [ ottr:modifier  ottr:nonBlank , ottr:optional ;
                             ottr:type      ottr:IRI ;
                             ottr:variable  _:b4
                           ]
                         ) ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          pav:hasPreviousVersion
                                          _:b3
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          owl:versionInfo
                                          _:b2
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b4
                                          pav:hasPreviousVersion
                                          _:b0
                                        )
                         ] ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          ottr:status
                                          _:b1
                                        )
                         ] .

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 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#>.
@prefix owl:        <http://www.w3.org/2002/07/owl#>.