o-docttr:SaysWho🛈 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 | statement | ottr:IRI | no | yes | no |
| 2 | when | xsd:dateTime | no | yes | no |
| 3 | who | NEList<rdfs:Resource> | no | yes | no |
| 4 | why | List<xsd:string> | yes | yes | no |
🛈 stOTTR serialisation of the template without annotation instances.
o-docttr:SaysWho[
ottr:IRI ?statement,
xsd:dateTime ?when,
NEList<rdfs:Resource> ?who,
? List<xsd:string> ?why
] :: {
ottr:Triple(?statement, pav:createdOn, ?when),
cross | ottr:Triple(?statement, pav:createdBy, ++?who),
cross | ottr:Triple(?statement, skos:note, ++?why)
} .🛈 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:SaysWho(x:argument1, _:argument2, (_:argument3-1, _:argument3-2), (_:argument4-1, _:argument4-2))RDF/wOTTR
[ ottr:of o-docttr:SaysWho ;
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 pav:createdBy [] ;
pav:createdBy [] ;
pav:createdOn [] ;
skos:note [] ;
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:SaysWho(x:argument1, _:argument2, (_:argument3-1, _:argument3-2), (_:argument4-1, _:argument4-2))ottr:Triple(x:argument1, pav:createdOn, _:argument2)cross | ottr:Triple(x:argument1, pav:createdBy, ++(_:argument3-1, _:argument3-2))cross | ottr:Triple(x:argument1, skos:note, ++(_:argument4-1, _:argument4-2))🛈 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.
🛈 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:SaysWho[
ottr:IRI ?statement,
xsd:dateTime ?when,
NEList<rdfs:Resource> ?who,
? List<xsd:string> ?why
] :: {
ottr:Triple(?statement, pav:createdOn, ?when),
cross | ottr:Triple(?statement, pav:createdBy, ++?who),
cross | ottr:Triple(?statement, skos:note, ++?why)
} .
o-docttr:SaysWho rdf:type ottr:Template ;
ottr:parameters ( [ ottr:type ottr:IRI ;
ottr:variable _:b0
]
[ ottr:type xsd:dateTime ;
ottr:variable _:b1
]
[ ottr:type ( ottr:NEList rdfs:Resource ) ;
ottr:variable _:b2
]
[ ottr:modifier ottr:optional ;
ottr:type ( rdf:List xsd:string ) ;
ottr:variable _:b3
]
) ;
ottr:pattern [ ottr:arguments ( [ ottr:value _:b0 ]
[ ottr:value skos:note ]
[ ottr:modifier ottr:listExpand ;
ottr:value _:b3
]
) ;
ottr:modifier ottr:cross ;
ottr:of ottr:Triple
] ;
ottr:pattern [ ottr:arguments ( [ ottr:value _:b0 ]
[ ottr:value pav:createdBy ]
[ ottr:modifier ottr:listExpand ;
ottr:value _:b2
]
) ;
ottr:modifier ottr:cross ;
ottr:of ottr:Triple
] ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
pav:createdOn
_: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 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#>.