Contents

Template: o-rdf:Type

URI: http://tpl.ottr.xyz/rdf/0.1/Type

Metadata

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

ottr:status
ottr:draft
owl:versionInfo
0.1.1
Metadata as RDF graph
o-rdf:Type  ottr:status  ottr:draft ;
        owl:versionInfo  "0.1.1" .

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
2classottr:IRInoyesno

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

o-rdf:Type[
    ottr:IRI ?resource,
    ottr:IRI ?class
] :: {
    ottr:Triple(?resource, rdf:type, ?class)
} .

🛈 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-rdf:Type(x:argument1, x:argument2)
RDF/wOTTR
[ ottr:of      o-rdf:Type ;
  ottr:values  ( x:argument1 x:argument2 )
] .

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
Hierarchical vertical layout (dot)
%3
Spring model layout (neato)
%3
Spring model layout (fdp)
%3
Radial layout (twopi)
%3
Circular layout (circo)
%3

Expanded RDF graph

x:argument1  rdf:type  x:argument2 .

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-rdf:Type(x:argument1, x:argument2)ottr:Triple(x:argument1, rdf:type, x:argument2)

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

List of dependencies

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

o-rdf:Typeottr:Triple (1)

Depending templates

🛈 The templates in this library that depend on this template.

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 dependencies
  • Number of instances: 1
  • Templates used: (1 templates)
Complete expansion

Vocabulary introduced

Direct dependencies
  • Namespaces introduced: (1)
    • rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
Complete expansion
  • Namespaces introduced: (1)
    • rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#

Serialisations

stOTTR

o-rdf:Type[
    ottr:IRI ?resource,
    ottr:IRI ?class
]
@@o-docttr:Version(
    o-rdf:Type,
    ottr:draft,
    "0.1.1",
    none,
    none)
 :: {
    ottr:Triple(?resource, rdf:type, ?class)
} .

RDF/wOTTR

o-rdf:Type  rdf:type     ottr:Template ;
        ottr:annotation  [ ottr:of      o-docttr:Version ;
                           ottr:values  ( o-rdf:Type ottr:draft "0.1.1" ottr:none ottr:none )
                         ] ;
        ottr:parameters  ( [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b0
                           ]
                           [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b1
                           ]
                         ) ;
        ottr:pattern     [ ottr:of      ottr:Triple ;
                           ottr:values  ( _:b0
                                          rdf:type
                                          _:b1
                                        )
                         ] .

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 o-rdf:      <http://tpl.ottr.xyz/rdf/0.1/>.
@prefix rdf:        <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.