Contents

Template: o-owl-ax:SubExactCardinality

URI: http://tpl.ottr.xyz/owl/axiom/0.1/SubExactCardinality

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
1blank795owl:Classnoyesno
2blank796xsd:nonNegativeIntegernoyesno
3blank797ottr:IRInoyesno

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

o-owl-ax:SubExactCardinality[
    owl:Class ?blank795,
    xsd:nonNegativeInteger ?blank796,
    ottr:IRI ?blank797
] :: {
    o-owl-ax:SubClassOf(?blank795, _:blank516),
    o-owl-re:ExactCardinality(_:blank516, ?blank796, ?blank797)
} .

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

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

Expanded RDF graph

x:argument1  rdfs:subClassOf  [ rdf:type         owl:Restriction ;
                                owl:cardinality  []  ;
                                owl:onProperty   x:argument3
                              ] .

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-ax:SubExactCardinality(x:argument1, _:argument2, x:argument3)
o-owl-ax:SubClassOf(x:argument1, _:blank651)ottr:Triple(x:argument1, rdfs:subClassOf, _:blank651)
o-owl-re:ExactCardinality(_:blank651, _:argument2, x:argument3)
o-owl-ut:Cardinality(_:blank651, owl:cardinality, _:argument2, x:argument3)ottr:Triple(_:blank651, owl:onProperty, x:argument3)ottr:Triple(_:blank651, owl:cardinality, _:argument2)
o-rdf:Type(_:blank651, owl:Restriction)ottr:Triple(_:blank651, rdf:type, owl:Restriction)

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-ax:SubExactCardinality o-owl-ax:SubExactCardinality o-owl-ax:SubClassOf o-owl-ax:SubClassOf o-owl-ax:SubExactCardinality->o-owl-ax:SubClassOf o-owl-re:ExactCardinality o-owl-re:ExactCardinality o-owl-ax:SubExactCardinality->o-owl-re:ExactCardinality ottr:Triple ottr:Triple o-owl-ax:SubClassOf->ottr:Triple o-owl-ut:Cardinality o-owl-ut:Cardinality o-owl-re:ExactCardinality->o-owl-ut:Cardinality o-owl-ut:Cardinality->ottr:Triple o-rdf:Type o-rdf:Type o-owl-ut:Cardinality->o-rdf:Type o-rdf:Type->ottr:Triple
Hierarchical vertical layout (dot)
%3 o-owl-ax:SubExactCardinality o-owl-ax:SubExactCardinality o-owl-ax:SubClassOf o-owl-ax:SubClassOf o-owl-ax:SubExactCardinality->o-owl-ax:SubClassOf o-owl-re:ExactCardinality o-owl-re:ExactCardinality o-owl-ax:SubExactCardinality->o-owl-re:ExactCardinality ottr:Triple ottr:Triple o-owl-ax:SubClassOf->ottr:Triple o-owl-ut:Cardinality o-owl-ut:Cardinality o-owl-re:ExactCardinality->o-owl-ut:Cardinality o-owl-ut:Cardinality->ottr:Triple o-rdf:Type o-rdf:Type o-owl-ut:Cardinality->o-rdf:Type o-rdf:Type->ottr:Triple
Spring model layout (neato)
%3 o-owl-ax:SubExactCardinality o-owl-ax:SubExactCardinality o-owl-ax:SubClassOf o-owl-ax:SubClassOf o-owl-ax:SubExactCardinality->o-owl-ax:SubClassOf o-owl-re:ExactCardinality o-owl-re:ExactCardinality o-owl-ax:SubExactCardinality->o-owl-re:ExactCardinality ottr:Triple ottr:Triple o-owl-ax:SubClassOf->ottr:Triple o-owl-ut:Cardinality o-owl-ut:Cardinality o-owl-re:ExactCardinality->o-owl-ut:Cardinality o-owl-ut:Cardinality->ottr:Triple o-rdf:Type o-rdf:Type o-owl-ut:Cardinality->o-rdf:Type o-rdf:Type->ottr:Triple
Spring model layout (fdp)
%3 o-owl-ax:SubExactCardinality o-owl-ax:SubExactCardinality o-owl-ax:SubClassOf o-owl-ax:SubClassOf o-owl-ax:SubExactCardinality->o-owl-ax:SubClassOf o-owl-re:ExactCardinality o-owl-re:ExactCardinality o-owl-ax:SubExactCardinality->o-owl-re:ExactCardinality ottr:Triple ottr:Triple o-owl-ax:SubClassOf->ottr:Triple o-owl-ut:Cardinality o-owl-ut:Cardinality o-owl-re:ExactCardinality->o-owl-ut:Cardinality o-owl-ut:Cardinality->ottr:Triple o-rdf:Type o-rdf:Type o-owl-ut:Cardinality->o-rdf:Type o-rdf:Type->ottr:Triple
Radial layout (twopi)
%3 o-owl-ax:SubExactCardinality o-owl-ax:SubExactCardinality o-owl-ax:SubClassOf o-owl-ax:SubClassOf o-owl-ax:SubExactCardinality->o-owl-ax:SubClassOf o-owl-re:ExactCardinality o-owl-re:ExactCardinality o-owl-ax:SubExactCardinality->o-owl-re:ExactCardinality ottr:Triple ottr:Triple o-owl-ax:SubClassOf->ottr:Triple o-owl-ut:Cardinality o-owl-ut:Cardinality o-owl-re:ExactCardinality->o-owl-ut:Cardinality o-owl-ut:Cardinality->ottr:Triple o-rdf:Type o-rdf:Type o-owl-ut:Cardinality->o-rdf:Type o-rdf:Type->ottr:Triple
Circular layout (circo)
%3 o-owl-ax:SubExactCardinality o-owl-ax:SubExactCardinality o-owl-ax:SubClassOf o-owl-ax:SubClassOf o-owl-ax:SubExactCardinality->o-owl-ax:SubClassOf o-owl-re:ExactCardinality o-owl-re:ExactCardinality o-owl-ax:SubExactCardinality->o-owl-re:ExactCardinality ottr:Triple ottr:Triple o-owl-ax:SubClassOf->ottr:Triple o-owl-ut:Cardinality o-owl-ut:Cardinality o-owl-re:ExactCardinality->o-owl-ut:Cardinality o-owl-ut:Cardinality->ottr:Triple o-rdf:Type o-rdf:Type 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-ax:SubExactCardinality
o-owl-ax:SubClassOf (1)ottr:Triple (1)
o-owl-re:ExactCardinality (1)
o-owl-ut:Cardinality (1)ottr:Triple (2)
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: (0)
    Complete expansion

    Serialisations

    stOTTR

    o-owl-ax:SubExactCardinality[
        owl:Class ?blank795,
        xsd:nonNegativeInteger ?blank796,
        ottr:IRI ?blank797
    ] :: {
        o-owl-ax:SubClassOf(?blank795, _:blank516),
        o-owl-re:ExactCardinality(_:blank516, ?blank796, ?blank797)
    } .

    RDF/wOTTR

    o-owl-ax:SubExactCardinality
            rdf:type         ottr:Template ;
            ottr:parameters  ( [ ottr:type      owl:Class ;
                                 ottr:variable  _:b0
                               ]
                               [ ottr:type      xsd:nonNegativeInteger ;
                                 ottr:variable  _:b1
                               ]
                               [ ottr:type      ottr:IRI ;
                                 ottr:variable  _:b2
                               ]
                             ) ;
            ottr:pattern     [ ottr:of      o-owl-ax:SubClassOf ;
                               ottr:values  ( _:b0
                                              _:b3
                                            )
                             ] ;
            ottr:pattern     [ ottr:of      o-owl-re:ExactCardinality ;
                               ottr:values  ( _:b3
                                              _:b1
                                              _:b2
                                            )
                             ] .

    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-ax:   <http://tpl.ottr.xyz/owl/axiom/0.1/>.
    @prefix o-owl-re:   <http://tpl.ottr.xyz/owl/restriction/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#>.