Contents

Template: o-owl-re:DataOneOf

URI: http://tpl.ottr.xyz/owl/restriction/0.1/DataOneOf

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
1blank555ottr:IRInoyesno
2blank556NEList<ottr:IRI>noyesno

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

o-owl-re:DataOneOf[
    ottr:IRI ?blank555,
    NEList<ottr:IRI> ?blank556
] :: {
    o-owl-ut:TypedListRelation(?blank555, rdfs:Datatype, owl:oneOf, ?blank556)
} .

🛈 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-owl-re:DataOneOf(x:argument1, (x:argument2-1, x:argument2-2))
RDF/wOTTR
[ ottr:of      o-owl-re:DataOneOf ;
  ottr:values  ( x:argument1 ( x:argument2-1 x:argument2-2 ) )
] .

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> rdfs:Datatype x:argument1 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208) rdf:List http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->(http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208) owl:oneOf http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> x:argument2-1 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208)->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> 1 http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> x:argument2-2 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208)->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> 2
Hierarchical vertical layout (dot)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> rdfs:Datatype x:argument1 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208) rdf:List http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->(http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208) owl:oneOf http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> x:argument2-1 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208)->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> 1 http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> x:argument2-2 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208)->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> 2
Spring model layout (neato)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> rdfs:Datatype x:argument1 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208) rdf:List http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->(http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208) owl:oneOf http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> x:argument2-1 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208)->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> 1 http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> x:argument2-2 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208)->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> 2
Spring model layout (fdp)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> rdfs:Datatype x:argument1 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208) rdf:List http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->(http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208) owl:oneOf http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> x:argument2-1 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208)->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> 1 http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> x:argument2-2 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208)->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> 2
Radial layout (twopi)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> rdfs:Datatype x:argument1 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208) rdf:List http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->(http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208) owl:oneOf http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> x:argument2-1 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208)->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> 1 http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> x:argument2-2 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208)->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> 2
Circular layout (circo)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> rdfs:Datatype x:argument1 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208) rdf:List http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->(http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208) owl:oneOf http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> x:argument2-1 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208)->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI> 1 http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> x:argument2-2 (http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>, http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>)(id: 208)->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI> 2

Expanded RDF graph

x:argument1  rdf:type  rdfs:Datatype ;
        owl:oneOf  ( x:argument2-1 x:argument2-2 ) .

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-owl-re:DataOneOf(x:argument1, (x:argument2-1, x:argument2-2))
o-owl-ut:TypedListRelation(x:argument1, rdfs:Datatype, owl:oneOf, (x:argument2-1, x:argument2-2))
o-owl-ut:ListRelation(x:argument1, owl:oneOf, (x:argument2-1, x:argument2-2))ottr:Triple(x:argument1, owl:oneOf, (x:argument2-1, x:argument2-2))
o-rdf:Type(x:argument1, rdfs:Datatype)ottr:Triple(x:argument1, rdf:type, rdfs:Datatype)

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

List of dependencies

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

o-owl-re:DataOneOf
o-owl-ut:TypedListRelation (1)
o-owl-ut:ListRelation (1)ottr:Triple (1)
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: (2)
Complete expansion
  • Namespaces introduced: (3)
    • rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • owl: http://www.w3.org/2002/07/owl#
    • rdfs: http://www.w3.org/2000/01/rdf-schema#

Serialisations

stOTTR

o-owl-re:DataOneOf[
    ottr:IRI ?blank555,
    NEList<ottr:IRI> ?blank556
] :: {
    o-owl-ut:TypedListRelation(?blank555, rdfs:Datatype, owl:oneOf, ?blank556)
} .

RDF/wOTTR

o-owl-re:DataOneOf  rdf:type  ottr:Template ;
        ottr:parameters  ( [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b0
                           ]
                           [ ottr:type      ( ottr:NEList ottr:IRI ) ;
                             ottr:variable  _:b1
                           ]
                         ) ;
        ottr:pattern     [ ottr:of      o-owl-ut:TypedListRelation ;
                           ottr:values  ( _:b0
                                          rdfs:Datatype owl:oneOf
                                          _: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-owl-re:   <http://tpl.ottr.xyz/owl/restriction/0.1/>.
@prefix o-owl-ut:   <http://tpl.ottr.xyz/owl/util/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 owl:        <http://www.w3.org/2002/07/owl#>.