o-docttr:Parameter🛈 This section contains the data represented by the signature's annotation instances.
o-docttr:Parameter rdfs:seeAlso o-docttr: ;
ottr:status ottr:draft ;
dc:creator <http://folk.uio.no/martige/foaf.rdf#me> ;
dc:description "Use for documenting each parameter of a published template, providing descriptions and examples." ;
pav:createdOn "2020-08-21T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
owl:versionInfo "0.1.1" ;
skos:editorialNote "Use of this template depends on parameters represented by IRIs, which they are usually not, but we expect this to change soon." ;
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 | no | no |
| 2 | description | xsd:string | no | no | no |
| 3 | example | xsd:string | yes | no | no |
| 4 | note | xsd:string | yes | no | no |
🛈 stOTTR serialisation of the template without annotation instances.
o-docttr:Parameter[
! ottr:IRI ?resource,
! xsd:string ?description,
!? xsd:string ?example,
!? xsd:string ?note
] :: {
ottr:Triple(?resource, dc:description, ?description),
ottr:Triple(?resource, skos:example, ?example),
ottr:Triple(?resource, skos:note, ?note)
} .🛈 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:Parameter(x:argument1, _:argument2, _:argument3, _:argument4)RDF/wOTTR
[ ottr:of o-docttr:Parameter ;
ottr:values ( x:argument1
[]
[]
[]
)
] .🛈 Each resource node is linked to its IRI. Type relationships are not visualised, rather each node contains its type.
x:argument1 dc:description [] ;
skos:example [] ;
skos:note [] .🛈 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:Parameter(x:argument1, _:argument2, _:argument3, _:argument4)ottr:Triple(x:argument1, dc:description, _:argument2)ottr:Triple(x:argument1, skos:note, _:argument4)ottr:Triple(x:argument1, skos:example, _:argument3)🛈 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:Parameter[
! ottr:IRI ?resource,
! xsd:string ?description,
!? xsd:string ?example,
!? xsd:string ?note
]
@@o-docttr:Provenance(
o-docttr:Parameter,
"2020-08-21T00:00:00Z"^^xsd:dateTime,
none,
(<http://folk.uio.no/martige/foaf.rdf#me>),
none),
@@o-docttr:Signature(
o-docttr:Parameter,
none,
"Use for documenting each parameter of a published template, providing descriptions and examples.",
none,
("The template should be used in combination with other templates in the same package."),
(<http://tpl.ottr.xyz/p/docttr/0.1/>),
("Use of this template depends on parameters represented by IRIs, which they are usually not, but we expect this to change soon.")),
@@o-docttr:Version(
o-docttr:Parameter,
ottr:draft,
"0.1.1",
none,
none)
:: {
ottr:Triple(?resource, dc:description, ?description),
ottr:Triple(?resource, skos:example, ?example),
ottr:Triple(?resource, skos:note, ?note)
} .
o-docttr:Parameter rdf:type ottr:Template ;
ottr:annotation [ ottr:of o-docttr:Signature ;
ottr:values ( o-docttr:Parameter ottr:none "Use for documenting each parameter of a published template, providing descriptions and examples." ottr:none ( "The template should be used in combination with other templates in the same package." ) ( o-docttr: ) ( "Use of this template depends on parameters represented by IRIs, which they are usually not, but we expect this to change soon." ) )
] ;
ottr:annotation [ ottr:of o-docttr:Version ;
ottr:values ( o-docttr:Parameter ottr:draft "0.1.1" ottr:none ottr:none )
] ;
ottr:annotation [ ottr:of o-docttr:Provenance ;
ottr:values ( o-docttr:Parameter "2020-08-21T00:00:00Z"^^xsd:dateTime ottr:none ( <http://folk.uio.no/martige/foaf.rdf#me> ) ottr:none )
] ;
ottr:parameters ( [ ottr:modifier ottr:nonBlank ;
ottr:type ottr:IRI ;
ottr:variable _:b0
]
[ ottr:modifier ottr:nonBlank ;
ottr:type xsd:string ;
ottr:variable _:b1
]
[ ottr:modifier ottr:nonBlank , ottr:optional ;
ottr:type xsd:string ;
ottr:variable _:b2
]
[ ottr:modifier ottr:nonBlank , ottr:optional ;
ottr:type xsd:string ;
ottr:variable _:b3
]
) ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
skos:example
_:b2
)
] ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
skos:note
_:b3
)
] ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
dc:description
_: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 dc: <http://purl.org/dc/elements/1.1/>. @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 skos: <http://www.w3.org/2004/02/skos/core#>.