Contents

Template: o-owl-re:ObjectExactCardinality

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

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
1blank582ottr:IRInoyesno
2blank583xsd:nonNegativeIntegernoyesno
3blank584owl:ObjectPropertynoyesno
4blank585owl:Classnoyesno

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

o-owl-re:ObjectExactCardinality[
    ottr:IRI ?blank582,
    xsd:nonNegativeInteger ?blank583,
    owl:ObjectProperty ?blank584,
    owl:Class ?blank585
] :: {
    o-owl-ut:ObjectCardinality(?blank582, owl:qualifiedCardinality, ?blank583, ?blank584, ?blank585)
} .

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

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> owl:Restriction x:argument1 http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> owl:Class x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> owl:onClass http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> owl:ObjectProperty x:argument3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> owl:onProperty argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> owl:qualifiedCardinality
Hierarchical vertical layout (dot)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> owl:Restriction x:argument1 http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> owl:Class x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> owl:onClass http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> owl:ObjectProperty x:argument3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> owl:onProperty argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> owl:qualifiedCardinality
Spring model layout (neato)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> owl:Restriction x:argument1 http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> owl:Class x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> owl:onClass http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> owl:ObjectProperty x:argument3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> owl:onProperty argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> owl:qualifiedCardinality
Spring model layout (fdp)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> owl:Restriction x:argument1 http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> owl:Class x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> owl:onClass http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> owl:ObjectProperty x:argument3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> owl:onProperty argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> owl:qualifiedCardinality
Radial layout (twopi)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> owl:Restriction x:argument1 http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> owl:Class x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> owl:onClass http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> owl:ObjectProperty x:argument3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> owl:onProperty argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> owl:qualifiedCardinality
Circular layout (circo)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> owl:Restriction x:argument1 http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> owl:Class x:argument4 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI> owl:onClass http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> owl:ObjectProperty x:argument3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI> owl:onProperty argument2 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource> owl:qualifiedCardinality

Expanded RDF graph

x:argument1  rdf:type             owl:Restriction ;
        owl:onClass               x:argument4 ;
        owl:onProperty            x:argument3 ;
        owl:qualifiedCardinality  []  .

x:argument4  rdf:type  owl:Class .

x:argument3  rdf:type  owl:ObjectProperty .

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:ObjectExactCardinality(x:argument1, _:argument2, x:argument3, x:argument4)
o-owl-ut:ObjectCardinality(x:argument1, owl:qualifiedCardinality, _:argument2, x:argument3, x:argument4)ottr:Triple(x:argument1, owl:onClass, x:argument4)
o-owl-ut:Cardinality(x:argument1, owl:qualifiedCardinality, _:argument2, x:argument3)ottr:Triple(x:argument1, owl:onProperty, x:argument3)ottr:Triple(x:argument1, owl:qualifiedCardinality, _:argument2)
o-rdf:Type(x:argument1, owl:Restriction)ottr:Triple(x:argument1, rdf:type, owl:Restriction)
o-rdf:Type(x:argument3, owl:ObjectProperty)ottr:Triple(x:argument3, rdf:type, owl:ObjectProperty)
o-rdf:Type(x:argument4, owl:Class)ottr:Triple(x:argument4, rdf:type, owl:Class)

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

List of dependencies

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

o-owl-re:ObjectExactCardinality
o-owl-ut:ObjectCardinality (1)ottr:Triple (1)
o-owl-ut:Cardinality (1)ottr:Triple (2)
o-rdf:Type (1)ottr:Triple (1)
o-rdf:Type (2)ottr: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 dependenciesComplete expansion

Vocabulary introduced

Direct dependenciesComplete expansion

Serialisations

stOTTR

o-owl-re:ObjectExactCardinality[
    ottr:IRI ?blank582,
    xsd:nonNegativeInteger ?blank583,
    owl:ObjectProperty ?blank584,
    owl:Class ?blank585
] :: {
    o-owl-ut:ObjectCardinality(?blank582, owl:qualifiedCardinality, ?blank583, ?blank584, ?blank585)
} .

RDF/wOTTR

o-owl-re:ObjectExactCardinality
        rdf:type         ottr:Template ;
        ottr:parameters  ( [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b0
                           ]
                           [ ottr:type      xsd:nonNegativeInteger ;
                             ottr:variable  _:b1
                           ]
                           [ ottr:type      owl:ObjectProperty ;
                             ottr:variable  _:b2
                           ]
                           [ ottr:type      owl:Class ;
                             ottr:variable  _:b3
                           ]
                         ) ;
        ottr:pattern     [ ottr:of      o-owl-ut:ObjectCardinality ;
                           ottr:values  ( _:b0
                                          owl:qualifiedCardinality
                                          _:b1
                                          _:b2
                                          _:b3
                                        )
                         ] .

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 xsd:        <http://www.w3.org/2001/XMLSchema#>.
@prefix owl:        <http://www.w3.org/2002/07/owl#>.