Contents

Template: o-docttr:Example

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

Metadata

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

ottr:status
ottr:draft
owl:versionInfo
0.1.1
dc:description
Provide examples for any resource.
skos:scopeNote
Use to explain resources by giving examples, including provenance data for the example
pav:createdOn
2020-08-21T00:00:00Z^^xsd:dateTime
dc:creator
http://folk.uio.no/martige/foaf.rdf#me
rdfs:seeAlso
o-docttr:
Metadata as RDF graph
o-docttr:Example  rdfs:seeAlso  o-docttr: ;
        ottr:status      ottr:draft ;
        dc:creator       <http://folk.uio.no/martige/foaf.rdf#me> ;
        dc:description   "Provide examples for any resource." ;
        pav:createdOn    "2020-08-21T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
        owl:versionInfo  "0.1.1" ;
        skos:scopeNote   "Use to explain resources by giving examples, including provenance data for the example" .

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
2examplexsd:stringnoyesno
3whenxsd:dateTimenoyesno
4whoNEList<rdfs:Resource>noyesno
5whyList<xsd:string>yesyesno

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

o-docttr:Example[
    ottr:IRI ?resource,
    xsd:string ?example,
    xsd:dateTime ?when,
    NEList<rdfs:Resource> ?who,
    ? List<xsd:string> ?why
] :: {
    o-docttr:SaysWhoTriple(_:blank503, ?resource, skos:example, ?example, ?when, ?who, ?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.

Generated instance

stOTTR
o-docttr:Example(x:argument1, _:argument2, _:argument3, (_:argument4-1, _:argument4-2), (_:argument5-1, _:argument5-2))
RDF/wOTTR
[ ottr:of      o-docttr:Example ;
  ottr:values  ( x:argument1
                 [] 
                 [] 
                 ( [] 
                   [] 
                 )
                 ( [] 
                   [] 
                 )
               )
] .

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 argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> skos:example blank627 : LUB<rdfs:Resource> rdf:Statement blank627 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> rdf:subject blank627 : LUB<rdfs:Resource>->argument2 : LUB<rdfs:Resource> rdf:object http://www.w3.org/2004/02/skos/core#example : LUB<ottr:IRI> skos:example blank627 : LUB<rdfs:Resource>->http://www.w3.org/2004/02/skos/core#example : LUB<ottr:IRI> rdf:predicate argument3 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> pav:createdOn argument4-1 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument4-1 : LUB<rdfs:Resource> pav:createdBy argument4-2 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument4-2 : LUB<rdfs:Resource> pav:createdBy argument5-1 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument5-1 : LUB<rdfs:Resource> skos:note argument5-2 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument5-2 : LUB<rdfs:Resource> skos:note
Hierarchical vertical layout (dot)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> skos:example blank627 : LUB<rdfs:Resource> rdf:Statement blank627 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> rdf:subject blank627 : LUB<rdfs:Resource>->argument2 : LUB<rdfs:Resource> rdf:object http://www.w3.org/2004/02/skos/core#example : LUB<ottr:IRI> skos:example blank627 : LUB<rdfs:Resource>->http://www.w3.org/2004/02/skos/core#example : LUB<ottr:IRI> rdf:predicate argument3 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> pav:createdOn argument4-1 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument4-1 : LUB<rdfs:Resource> pav:createdBy argument4-2 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument4-2 : LUB<rdfs:Resource> pav:createdBy argument5-1 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument5-1 : LUB<rdfs:Resource> skos:note argument5-2 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument5-2 : LUB<rdfs:Resource> skos:note
Spring model layout (neato)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> skos:example blank627 : LUB<rdfs:Resource> rdf:Statement blank627 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> rdf:subject blank627 : LUB<rdfs:Resource>->argument2 : LUB<rdfs:Resource> rdf:object http://www.w3.org/2004/02/skos/core#example : LUB<ottr:IRI> skos:example blank627 : LUB<rdfs:Resource>->http://www.w3.org/2004/02/skos/core#example : LUB<ottr:IRI> rdf:predicate argument3 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> pav:createdOn argument4-1 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument4-1 : LUB<rdfs:Resource> pav:createdBy argument4-2 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument4-2 : LUB<rdfs:Resource> pav:createdBy argument5-1 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument5-1 : LUB<rdfs:Resource> skos:note argument5-2 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument5-2 : LUB<rdfs:Resource> skos:note
Spring model layout (fdp)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> skos:example blank627 : LUB<rdfs:Resource> rdf:Statement blank627 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> rdf:subject blank627 : LUB<rdfs:Resource>->argument2 : LUB<rdfs:Resource> rdf:object http://www.w3.org/2004/02/skos/core#example : LUB<ottr:IRI> skos:example blank627 : LUB<rdfs:Resource>->http://www.w3.org/2004/02/skos/core#example : LUB<ottr:IRI> rdf:predicate argument3 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> pav:createdOn argument4-1 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument4-1 : LUB<rdfs:Resource> pav:createdBy argument4-2 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument4-2 : LUB<rdfs:Resource> pav:createdBy argument5-1 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument5-1 : LUB<rdfs:Resource> skos:note argument5-2 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument5-2 : LUB<rdfs:Resource> skos:note
Radial layout (twopi)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> skos:example blank627 : LUB<rdfs:Resource> rdf:Statement blank627 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> rdf:subject blank627 : LUB<rdfs:Resource>->argument2 : LUB<rdfs:Resource> rdf:object http://www.w3.org/2004/02/skos/core#example : LUB<ottr:IRI> skos:example blank627 : LUB<rdfs:Resource>->http://www.w3.org/2004/02/skos/core#example : LUB<ottr:IRI> rdf:predicate argument3 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> pav:createdOn argument4-1 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument4-1 : LUB<rdfs:Resource> pav:createdBy argument4-2 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument4-2 : LUB<rdfs:Resource> pav:createdBy argument5-1 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument5-1 : LUB<rdfs:Resource> skos:note argument5-2 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument5-2 : LUB<rdfs:Resource> skos:note
Circular layout (circo)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> x:argument1 argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> skos:example blank627 : LUB<rdfs:Resource> rdf:Statement blank627 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> rdf:subject blank627 : LUB<rdfs:Resource>->argument2 : LUB<rdfs:Resource> rdf:object http://www.w3.org/2004/02/skos/core#example : LUB<ottr:IRI> skos:example blank627 : LUB<rdfs:Resource>->http://www.w3.org/2004/02/skos/core#example : LUB<ottr:IRI> rdf:predicate argument3 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument3 : LUB<rdfs:Resource> pav:createdOn argument4-1 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument4-1 : LUB<rdfs:Resource> pav:createdBy argument4-2 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument4-2 : LUB<rdfs:Resource> pav:createdBy argument5-1 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument5-1 : LUB<rdfs:Resource> skos:note argument5-2 : LUB<rdfs:Resource> blank627 : LUB<rdfs:Resource>->argument5-2 : LUB<rdfs:Resource> skos:note

Expanded RDF graph

x:argument1  skos:example  _:b0 .

[ rdf:type       rdf:Statement ;
  rdf:object     _:b0 ;
  rdf:predicate  skos:example ;
  rdf:subject    x:argument1 ;
  pav:createdBy  []  ;
  pav:createdBy  []  ;
  pav:createdOn  []  ;
  skos:note      []  ;
  skos:note      [] 
] .

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:Example(x:argument1, _:argument2, _:argument3, (_:argument4-1, _:argument4-2), (_:argument5-1, _:argument5-2))
o-docttr:SaysWhoTriple(_:blank625, x:argument1, skos:example, _:argument2, _:argument3, (_:argument4-1, _:argument4-2), (_:argument5-1, _:argument5-2))
o-docttr:SaysWho(_:blank625, _:argument3, (_:argument4-1, _:argument4-2), (_:argument5-1, _:argument5-2))ottr:Triple(_:blank625, pav:createdOn, _:argument3)cross | ottr:Triple(_:blank625, pav:createdBy, ++(_:argument4-1, _:argument4-2))cross | ottr:Triple(_:blank625, skos:note, ++(_:argument5-1, _:argument5-2))
o-rdf:StatementTriple(_:blank625, x:argument1, skos:example, _:argument2)ottr:Triple(x:argument1, skos:example, _:argument2)
o-rdf:Statement(_:blank625, x:argument1, skos:example, _:argument2)ottr:Triple(_:blank625, rdf:object, _:argument2)ottr:Triple(_:blank625, rdf:predicate, skos:example)ottr:Triple(_:blank625, rdf:subject, x:argument1)
o-rdf:Type(_:blank625, rdf:Statement)ottr:Triple(_:blank625, rdf:type, rdf:Statement)

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:Example o-docttr:Example o-docttr:SaysWhoTriple o-docttr:SaysWhoTriple o-docttr:Example->o-docttr:SaysWhoTriple o-docttr:SaysWho o-docttr:SaysWho o-docttr:SaysWhoTriple->o-docttr:SaysWho o-rdf:StatementTriple o-rdf:StatementTriple o-docttr:SaysWhoTriple->o-rdf:StatementTriple ottr:Triple ottr:Triple o-docttr:SaysWho->ottr:Triple o-rdf:StatementTriple->ottr:Triple o-rdf:Statement o-rdf:Statement o-rdf:StatementTriple->o-rdf:Statement o-rdf:Statement->ottr:Triple o-rdf:Type o-rdf:Type o-rdf:Statement->o-rdf:Type o-rdf:Type->ottr:Triple
Hierarchical vertical layout (dot)
%3 o-docttr:Example o-docttr:Example o-docttr:SaysWhoTriple o-docttr:SaysWhoTriple o-docttr:Example->o-docttr:SaysWhoTriple o-docttr:SaysWho o-docttr:SaysWho o-docttr:SaysWhoTriple->o-docttr:SaysWho o-rdf:StatementTriple o-rdf:StatementTriple o-docttr:SaysWhoTriple->o-rdf:StatementTriple ottr:Triple ottr:Triple o-docttr:SaysWho->ottr:Triple o-rdf:StatementTriple->ottr:Triple o-rdf:Statement o-rdf:Statement o-rdf:StatementTriple->o-rdf:Statement o-rdf:Statement->ottr:Triple o-rdf:Type o-rdf:Type o-rdf:Statement->o-rdf:Type o-rdf:Type->ottr:Triple
Spring model layout (neato)
%3 o-docttr:Example o-docttr:Example o-docttr:SaysWhoTriple o-docttr:SaysWhoTriple o-docttr:Example->o-docttr:SaysWhoTriple o-docttr:SaysWho o-docttr:SaysWho o-docttr:SaysWhoTriple->o-docttr:SaysWho o-rdf:StatementTriple o-rdf:StatementTriple o-docttr:SaysWhoTriple->o-rdf:StatementTriple ottr:Triple ottr:Triple o-docttr:SaysWho->ottr:Triple o-rdf:StatementTriple->ottr:Triple o-rdf:Statement o-rdf:Statement o-rdf:StatementTriple->o-rdf:Statement o-rdf:Statement->ottr:Triple o-rdf:Type o-rdf:Type o-rdf:Statement->o-rdf:Type o-rdf:Type->ottr:Triple
Spring model layout (fdp)
%3 o-docttr:Example o-docttr:Example o-docttr:SaysWhoTriple o-docttr:SaysWhoTriple o-docttr:Example->o-docttr:SaysWhoTriple o-docttr:SaysWho o-docttr:SaysWho o-docttr:SaysWhoTriple->o-docttr:SaysWho o-rdf:StatementTriple o-rdf:StatementTriple o-docttr:SaysWhoTriple->o-rdf:StatementTriple ottr:Triple ottr:Triple o-docttr:SaysWho->ottr:Triple o-rdf:StatementTriple->ottr:Triple o-rdf:Statement o-rdf:Statement o-rdf:StatementTriple->o-rdf:Statement o-rdf:Statement->ottr:Triple o-rdf:Type o-rdf:Type o-rdf:Statement->o-rdf:Type o-rdf:Type->ottr:Triple
Radial layout (twopi)
%3 o-docttr:Example o-docttr:Example o-docttr:SaysWhoTriple o-docttr:SaysWhoTriple o-docttr:Example->o-docttr:SaysWhoTriple o-docttr:SaysWho o-docttr:SaysWho o-docttr:SaysWhoTriple->o-docttr:SaysWho o-rdf:StatementTriple o-rdf:StatementTriple o-docttr:SaysWhoTriple->o-rdf:StatementTriple ottr:Triple ottr:Triple o-docttr:SaysWho->ottr:Triple o-rdf:StatementTriple->ottr:Triple o-rdf:Statement o-rdf:Statement o-rdf:StatementTriple->o-rdf:Statement o-rdf:Statement->ottr:Triple o-rdf:Type o-rdf:Type o-rdf:Statement->o-rdf:Type o-rdf:Type->ottr:Triple
Circular layout (circo)
%3 o-docttr:Example o-docttr:Example o-docttr:SaysWhoTriple o-docttr:SaysWhoTriple o-docttr:Example->o-docttr:SaysWhoTriple o-docttr:SaysWho o-docttr:SaysWho o-docttr:SaysWhoTriple->o-docttr:SaysWho o-rdf:StatementTriple o-rdf:StatementTriple o-docttr:SaysWhoTriple->o-rdf:StatementTriple ottr:Triple ottr:Triple o-docttr:SaysWho->ottr:Triple o-rdf:StatementTriple->ottr:Triple o-rdf:Statement o-rdf:Statement o-rdf:StatementTriple->o-rdf:Statement o-rdf:Statement->ottr:Triple o-rdf:Type o-rdf:Type o-rdf:Statement->o-rdf:Type o-rdf:Type->ottr:Triple

List of dependencies

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

o-docttr:Example
o-docttr:SaysWhoTriple (1)
o-docttr:SaysWho (1)ottr:Triple (3)
o-rdf:StatementTriple (1)ottr:Triple (1)
o-rdf:Statement (1)ottr:Triple (3)
o-rdf:Type (1)ottr:Triple (1)

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 dependenciesComplete expansion

Vocabulary introduced

Direct dependencies
  • Namespaces introduced: (1)
Complete expansion

Serialisations

stOTTR

o-docttr:Example[
    ottr:IRI ?resource,
    xsd:string ?example,
    xsd:dateTime ?when,
    NEList<rdfs:Resource> ?who,
    ? List<xsd:string> ?why
]
@@o-docttr:Provenance(
    o-docttr:Example,
    "2020-08-21T00:00:00Z"^^xsd:dateTime,
    none,
    (<http://folk.uio.no/martige/foaf.rdf#me>),
    none),
@@o-docttr:Signature(
    o-docttr:Example,
    none,
    "Provide examples for any resource.",
    "Use to explain resources by giving examples, including provenance data for the example",
    none,
    (<http://tpl.ottr.xyz/p/docttr/0.1/>),
    none),
@@o-docttr:Version(
    o-docttr:Example,
    ottr:draft,
    "0.1.1",
    none,
    none)
 :: {
    o-docttr:SaysWhoTriple(_:blank503, ?resource, skos:example, ?example, ?when, ?who, ?why)
} .

RDF/wOTTR

o-docttr:Example  rdf:type  ottr:Template ;
        ottr:annotation  [ ottr:of      o-docttr:Version ;
                           ottr:values  ( o-docttr:Example ottr:draft "0.1.1" ottr:none ottr:none )
                         ] ;
        ottr:annotation  [ ottr:of      o-docttr:Signature ;
                           ottr:values  ( o-docttr:Example ottr:none "Provide examples for any resource." "Use to explain resources by giving examples, including provenance data for the example" ottr:none ( o-docttr: ) ottr:none )
                         ] ;
        ottr:annotation  [ ottr:of      o-docttr:Provenance ;
                           ottr:values  ( o-docttr:Example "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:type      xsd:string ;
                             ottr:variable  _:b1
                           ]
                           [ ottr:type      xsd:dateTime ;
                             ottr:variable  _:b2
                           ]
                           [ ottr:type      ( ottr:NEList rdfs:Resource ) ;
                             ottr:variable  _:b3
                           ]
                           [ ottr:modifier  ottr:optional ;
                             ottr:type      ( rdf:List xsd:string ) ;
                             ottr:variable  _:b4
                           ]
                         ) ;
        ottr:pattern     [ ottr:of      o-docttr:SaysWhoTriple ;
                           ottr:values  ( [] 
                                          _:b0
                                          skos:example
                                          _:b1
                                          _:b2
                                          _:b3
                                          _:b4
                                        )
                         ] .

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 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#>.