Contents

Template: rstr:HasValue

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

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
1blank856ottr:IRInoyesno
2blank857ottr:IRInoyesno
3blank858rdfs:Resourcenoyesno

Pattern

stOTTR

🛈 stOTTR serialisation of the template without annotation instances.

o-owl-re:HasValue[
    ottr:IRI ?blank856,
    ottr:IRI ?blank857,
    rdfs:Resource ?blank858
] :: {
    o-owl-ut:ValueRestriction(?blank856, owl:hasValue, ?blank857, ?blank858)
} .

🛈 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:HasValue(x:argument1, x:argument2, _:argument3)
RDF/wOTTR
[ ottr:of      rstr:HasValue ;
  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 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> owl:Restriction x:argument1 argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> owl:hasValue http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> owl:onProperty
Hierarchical vertical layout (dot)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> owl:Restriction x:argument1 argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> owl:hasValue http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> owl:onProperty
Spring model layout (neato)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> owl:Restriction x:argument1 argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> owl:hasValue http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> owl:onProperty
Spring model layout (fdp)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> owl:Restriction x:argument1 argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> owl:hasValue http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> owl:onProperty
Radial layout (twopi)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> owl:Restriction x:argument1 argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> owl:hasValue http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> owl:onProperty
Circular layout (circo)
%3 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI> owl:Restriction x:argument1 argument3 : LUB<rdfs:Resource> http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource> owl:hasValue http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> x:argument2 http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI> owl:onProperty

Expanded RDF graph

x:argument1  a          owl:Restriction ;
        owl:hasValue    []  ;
        owl:onProperty  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-owl-re:HasValue(x:argument1, x:argument2, _:argument3)
o-owl-ut:ValueRestriction(x:argument1, owl:hasValue, x:argument2, _:argument3)ottr:Triple(x:argument1, owl:hasValue, _:argument3)ottr:Triple(x:argument1, owl:onProperty, x:argument2)
o-rdf:Type(x:argument1, owl:Restriction)ottr:Triple(x:argument1, 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 rstr:HasValue rstr:HasValue o-owl-ut:ValueRestriction o-owl-ut:ValueRestriction rstr:HasValue->o-owl-ut:ValueRestriction ottr:Triple ottr:Triple o-owl-ut:ValueRestriction->ottr:Triple o-rdf:Type o-rdf:Type o-owl-ut:ValueRestriction->o-rdf:Type o-rdf:Type->ottr:Triple
Hierarchical vertical layout (dot)
%3 rstr:HasValue rstr:HasValue o-owl-ut:ValueRestriction o-owl-ut:ValueRestriction rstr:HasValue->o-owl-ut:ValueRestriction ottr:Triple ottr:Triple o-owl-ut:ValueRestriction->ottr:Triple o-rdf:Type o-rdf:Type o-owl-ut:ValueRestriction->o-rdf:Type o-rdf:Type->ottr:Triple
Spring model layout (neato)
%3 rstr:HasValue rstr:HasValue o-owl-ut:ValueRestriction o-owl-ut:ValueRestriction rstr:HasValue->o-owl-ut:ValueRestriction ottr:Triple ottr:Triple o-owl-ut:ValueRestriction->ottr:Triple o-rdf:Type o-rdf:Type o-owl-ut:ValueRestriction->o-rdf:Type o-rdf:Type->ottr:Triple
Spring model layout (fdp)
%3 rstr:HasValue rstr:HasValue o-owl-ut:ValueRestriction o-owl-ut:ValueRestriction rstr:HasValue->o-owl-ut:ValueRestriction ottr:Triple ottr:Triple o-owl-ut:ValueRestriction->ottr:Triple o-rdf:Type o-rdf:Type o-owl-ut:ValueRestriction->o-rdf:Type o-rdf:Type->ottr:Triple
Radial layout (twopi)
%3 rstr:HasValue rstr:HasValue o-owl-ut:ValueRestriction o-owl-ut:ValueRestriction rstr:HasValue->o-owl-ut:ValueRestriction ottr:Triple ottr:Triple o-owl-ut:ValueRestriction->ottr:Triple o-rdf:Type o-rdf:Type o-owl-ut:ValueRestriction->o-rdf:Type o-rdf:Type->ottr:Triple
Circular layout (circo)
%3 rstr:HasValue rstr:HasValue o-owl-ut:ValueRestriction o-owl-ut:ValueRestriction rstr:HasValue->o-owl-ut:ValueRestriction ottr:Triple ottr:Triple o-owl-ut:ValueRestriction->ottr:Triple o-rdf:Type o-rdf:Type o-owl-ut:ValueRestriction->o-rdf:Type o-rdf:Type->ottr:Triple

List of dependencies

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

rstr:HasValue
o-owl-ut:ValueRestriction (1)ottr:Triple (2)
o-rdf:Type (1)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 dependencies
  • Namespaces introduced: (1)
Complete expansion

Serialisations

stOTTR

o-owl-re:HasValue[
    ottr:IRI ?blank856,
    ottr:IRI ?blank857,
    rdfs:Resource ?blank858
] :: {
    o-owl-ut:ValueRestriction(?blank856, owl:hasValue, ?blank857, ?blank858)
} .

RDF/wOTTR

rstr:HasValue  a         ottr:Template ;
        ottr:parameters  ( [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b0
                           ]
                           [ ottr:type      ottr:IRI ;
                             ottr:variable  _:b1
                           ]
                           [ ottr:type      rdfs:Resource ;
                             ottr:variable  _:b2
                           ]
                         ) ;
        ottr:pattern     [ ottr:of      o-owl-ut:ValueRestriction ;
                           ottr:values  ( _:b0
                                          owl:hasValue
                                          _:b1
                                          _:b2
                                        )
                         ] .

Prefixes

🛈 Prefixes are removed from all listings on this page for readability, but are listed here in RDF Turtle format.

@prefix fmea:       <http://example.com/ns/asset-maintenance/fmea/>.
@prefix x:          <http://example.ottr.xyz/argument/>.
@prefix ottr:       <http://ns.ottr.xyz/0.4/>.
@prefix dc:         <http://purl.org/dc/elements/1.1/>.
@prefix pav:        <http://purl.org/pav/>.
@prefix ax:         <http://tpl.ottr.xyz/owl/axiom/0.1/>.
@prefix o-owl-ax:   <http://tpl.ottr.xyz/owl/axiom/0.1/>.
@prefix o-owl-dec:  <http://tpl.ottr.xyz/owl/declaration/0.1/>.
@prefix o-owl-ma:   <http://tpl.ottr.xyz/owl/macro/0.1/>.
@prefix rstr:       <http://tpl.ottr.xyz/owl/restriction/0.1/>.
@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 fmea-tmp:   <http://tpl.ottr.xyz/p/asset-maintenance/fmea/0.2/>.
@prefix tmp1:       <http://tpl.ottr.xyz/p/asset-maintenance/general/0.1/>.
@prefix tmp2:       <http://tpl.ottr.xyz/p/asset-maintenance/general/0.2/>.
@prefix tmp:        <http://tpl.ottr.xyz/p/asset-maintenance/general/0.2/>.
@prefix inter:      <http://tpl.ottr.xyz/p/asset-maintenance/interface/0.2/>.
@prefix iso-tmp:    <http://tpl.ottr.xyz/p/asset-maintenance/iso14224/0.2/>.
@prefix macro:      <http://tpl.ottr.xyz/p/asset-maintenance/owl/macro/0.1/>.
@prefix ont:        <http://tpl.ottr.xyz/p/asset-maintenance/owl/ontology/0.1/>.
@prefix wo-tmp:     <http://tpl.ottr.xyz/p/asset-maintenance/work-orders/0.1/>.
@prefix o-docttr:   <http://tpl.ottr.xyz/p/docttr/0.1/>.
@prefix o-pizza:    <http://tpl.ottr.xyz/p/pizza/0.2/>.
@prefix o-rdf:      <http://tpl.ottr.xyz/rdf/0.1/>.
@prefix o-rdfs:     <http://tpl.ottr.xyz/rdfs/0.2/>.
@prefix pz:         <http://www.co-ode.org/ontologies/pizza/pizza.owl#>.
@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 owl:        <http://www.w3.org/2002/07/owl#>.
@prefix skos:       <http://www.w3.org/2004/02/skos/core#>.