o-docttr:Version
🛈 This section contains the data represented by the signature's annotation instances.
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." .
🛈 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.
Index | Name | Type | Optional | Blanks allowed | Default value |
---|---|---|---|---|---|
1 | resource | ottr:IRI | no | yes | no |
2 | status | ottr:IRI | no | no | ottr:incomplete |
3 | version | xsd:string | no | no | no |
4 | previousVersion | ottr:IRI | yes | no | no |
5 | nextVersion | ottr:IRI | yes | no | no |
🛈 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.
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 ) ] .
🛈 Each resource node is linked to its IRI. Type relationships are not visualised, rather each node contains its type.
x:argument5 pav:hasPreviousVersion x:argument1 . x:argument1 ottr:status x:argument2 ; pav:hasPreviousVersion x:argument4 ; owl:versionInfo [] .
🛈 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)
🛈 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.
🛈 The number in parenthesis is the number of instances of each template.
🛈 The templates in this library that depend on this template.
None found.
🛈 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.
Direct dependencies
| Complete expansion
|
Direct dependencies
| Complete expansion
|
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) } .
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 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#>.