o-docttr:Signature🛈 This section contains the data represented by the signature's annotation instances.
🛈 Provenance information about this fact:
o-docttr:Signature rdfs:seeAlso o-docttr: ;
ottr:status ottr:draft ;
dc:creator <http://folk.uio.no/martige/foaf.rdf#me> ;
dc:description "Use to documente a published template, providing descriptions and usage notes." ;
pav:createdOn "2020-08-21T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
owl:versionInfo "0.1.1" ;
skos:editorialNote "Suggest to refactor, keeping the signature, but put body in a more generic template as this template could be used for documenting any resource. Align refactoring with a possible refactoring of o-docttr:Parameter." ;
skos:example "The template uses an instance of itself to document itself" ;
skos:note "The template should be used in combination with other templates in the same package." .
[ rdf:type rdf:Statement ;
rdf:object "The template uses an instance of itself to document itself" ;
rdf:predicate skos:example ;
rdf:subject o-docttr:Signature ;
pav:createdBy <http://folk.uio.no/martige/foaf.rdf#me> ;
pav:createdOn "2020-08-21T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime>
] .🛈 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 | label | xsd:string | yes | yes | no |
| 3 | description | xsd:string | no | no | no |
| 4 | scope | xsd:string | yes | no | no |
| 5 | notes | NEList<xsd:string> | yes | yes | no |
| 6 | seeAlso | NEList<ottr:IRI> | yes | yes | no |
| 7 | editorialNote | NEList<xsd:string> | yes | yes | no |
🛈 stOTTR serialisation of the template without annotation instances.
o-docttr:Signature[
ottr:IRI ?resource,
? xsd:string ?label,
! xsd:string ?description,
!? xsd:string ?scope,
? NEList<xsd:string> ?notes,
? NEList<ottr:IRI> ?seeAlso,
? NEList<xsd:string> ?editorialNote
] :: {
ottr:Triple(?resource, dc:description, ?description),
ottr:Triple(?resource, dc:title, ?label),
ottr:Triple(?resource, skos:scopeNote, ?scope),
ottr:Triple(?resource, rdfs:label, ?label),
cross | ottr:Triple(?resource, skos:editorialNote, ++?editorialNote),
cross | ottr:Triple(?resource, skos:note, ++?notes),
cross | ottr:Triple(?resource, rdfs:seeAlso, ++?seeAlso)
} .🛈 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:Signature(x:argument1, _:argument2, _:argument3, _:argument4, (_:argument5-1, _:argument5-2), (x:argument6-1, x:argument6-2), (_:argument7-1, _:argument7-2))RDF/wOTTR
[ ottr:of o-docttr:Signature ;
ottr:values ( x:argument1
[]
[]
[]
( []
[]
)
( x:argument6-1 x:argument6-2 )
( []
[]
)
)
] .🛈 Each resource node is linked to its IRI. Type relationships are not visualised, rather each node contains its type.
x:argument1 rdfs:label _:b0 ;
rdfs:seeAlso x:argument6-1 , x:argument6-2 ;
dc:description [] ;
dc:title _:b0 ;
skos:editorialNote [] ;
skos:editorialNote [] ;
skos:note [] ;
skos:note [] ;
skos:scopeNote [] .🛈 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:Signature(x:argument1, _:argument2, _:argument3, _:argument4, (_:argument5-1, _:argument5-2), (x:argument6-1, x:argument6-2), (_:argument7-1, _:argument7-2))ottr:Triple(x:argument1, dc:description, _:argument3)cross | ottr:Triple(x:argument1, skos:editorialNote, ++(_:argument7-1, _:argument7-2))cross | ottr:Triple(x:argument1, rdfs:seeAlso, ++(x:argument6-1, x:argument6-2))ottr:Triple(x:argument1, rdfs:label, _:argument2)cross | ottr:Triple(x:argument1, skos:note, ++(_:argument5-1, _:argument5-2))ottr:Triple(x:argument1, dc:title, _:argument2)ottr:Triple(x:argument1, skos:scopeNote, _: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:Signature[
ottr:IRI ?resource,
? xsd:string ?label,
! xsd:string ?description,
!? xsd:string ?scope,
? NEList<xsd:string> ?notes,
? NEList<ottr:IRI> ?seeAlso,
? NEList<xsd:string> ?editorialNote
]
@@o-docttr:Example(
o-docttr:Signature,
"The template uses an instance of itself to document itself",
"2020-08-21T00:00:00Z"^^xsd:dateTime,
(<http://folk.uio.no/martige/foaf.rdf#me>),
none),
@@o-docttr:Provenance(
o-docttr:Signature,
"2020-08-21T00:00:00Z"^^xsd:dateTime,
none,
(<http://folk.uio.no/martige/foaf.rdf#me>),
none),
@@o-docttr:Signature(
o-docttr:Signature,
none,
"Use to documente a published template, providing descriptions and usage notes.",
none,
("The template should be used in combination with other templates in the same package."),
(<http://tpl.ottr.xyz/p/docttr/0.1/>),
("Suggest to refactor, keeping the signature, but put body in a more generic template as this template could be used for documenting any resource. Align refactoring with a possible refactoring of o-docttr:Parameter.")),
@@o-docttr:Version(
o-docttr:Signature,
ottr:draft,
"0.1.1",
none,
none)
:: {
ottr:Triple(?resource, dc:description, ?description),
ottr:Triple(?resource, dc:title, ?label),
ottr:Triple(?resource, skos:scopeNote, ?scope),
ottr:Triple(?resource, rdfs:label, ?label),
cross | ottr:Triple(?resource, skos:editorialNote, ++?editorialNote),
cross | ottr:Triple(?resource, skos:note, ++?notes),
cross | ottr:Triple(?resource, rdfs:seeAlso, ++?seeAlso)
} .
o-docttr:Signature rdf:type ottr:Template ;
ottr:annotation [ ottr:of o-docttr:Provenance ;
ottr:values ( o-docttr:Signature "2020-08-21T00:00:00Z"^^xsd:dateTime ottr:none ( <http://folk.uio.no/martige/foaf.rdf#me> ) ottr:none )
] ;
ottr:annotation [ ottr:of o-docttr:Signature ;
ottr:values ( o-docttr:Signature ottr:none "Use to documente a published template, providing descriptions and usage notes." ottr:none ( "The template should be used in combination with other templates in the same package." ) ( o-docttr: ) ( "Suggest to refactor, keeping the signature, but put body in a more generic template as this template could be used for documenting any resource. Align refactoring with a possible refactoring of o-docttr:Parameter." ) )
] ;
ottr:annotation [ ottr:of o-docttr:Version ;
ottr:values ( o-docttr:Signature ottr:draft "0.1.1" ottr:none ottr:none )
] ;
ottr:annotation [ ottr:of o-docttr:Example ;
ottr:values ( o-docttr:Signature "The template uses an instance of itself to document itself" "2020-08-21T00:00:00Z"^^xsd:dateTime ( <http://folk.uio.no/martige/foaf.rdf#me> ) ottr:none )
] ;
ottr:parameters ( [ ottr:type ottr:IRI ;
ottr:variable _:b0
]
[ ottr:modifier ottr:optional ;
ottr:type xsd:string ;
ottr:variable _:b1
]
[ ottr:modifier ottr:nonBlank ;
ottr:type xsd:string ;
ottr:variable _:b2
]
[ ottr:modifier ottr:nonBlank , ottr:optional ;
ottr:type xsd:string ;
ottr:variable _:b3
]
[ ottr:modifier ottr:optional ;
ottr:type ( ottr:NEList xsd:string ) ;
ottr:variable _:b4
]
[ ottr:modifier ottr:optional ;
ottr:type ( ottr:NEList ottr:IRI ) ;
ottr:variable _:b5
]
[ ottr:modifier ottr:optional ;
ottr:type ( ottr:NEList xsd:string ) ;
ottr:variable _:b6
]
) ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
skos:scopeNote
_:b3
)
] ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
dc:title
_:b1
)
] ;
ottr:pattern [ ottr:arguments ( [ ottr:value _:b0 ]
[ ottr:value skos:editorialNote ]
[ ottr:modifier ottr:listExpand ;
ottr:value _:b6
]
) ;
ottr:modifier ottr:cross ;
ottr:of ottr:Triple
] ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
dc:description
_:b2
)
] ;
ottr:pattern [ ottr:arguments ( [ ottr:value _:b0 ]
[ ottr:value skos:note ]
[ ottr:modifier ottr:listExpand ;
ottr:value _:b4
]
) ;
ottr:modifier ottr:cross ;
ottr:of ottr:Triple
] ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
rdfs:label
_:b1
)
] ;
ottr:pattern [ ottr:arguments ( [ ottr:value _:b0 ]
[ ottr:value rdfs:seeAlso ]
[ ottr:modifier ottr:listExpand ;
ottr:value _:b5
]
) ;
ottr:modifier ottr:cross ;
ottr:of ottr:Triple
] .🛈 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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>. @prefix xsd: <http://www.w3.org/2001/XMLSchema#>. @prefix skos: <http://www.w3.org/2004/02/skos/core#>.