
tpl-library.pizza.0.1.PizzaTopping.html Maven / Gradle / Ivy
Show all versions of lutra-api Show documentation
Template: o-pizza:PizzaTopping Template: o-pizza:PizzaTopping
URI: http://tpl.ottr.xyz/pizza/0.1/PizzaTopping
stOTTR serialisation
o-pizza:PizzaTopping[owl:Class ?blank1108, NEList<xsd:string> ?blank1109, xsd:string ?blank1110, ? NEList<xsd:string> ?blank1111, ? owl:Class ?blank1112] :: {
ottr:Triple(?blank1108, skos:prefLabel, ?blank1110),
cross | ottr:Triple(?blank1108, rdfs:comment, ++?blank1111),
cross | ottr:Triple(?blank1108, rdfs:label, ++?blank1109),
o-owl-ax:SubClassOf(?blank1108, pz:PizzaTopping),
o-owl-ax:SubObjectSomeValuesFrom(?blank1108, pz:hasSpiciness, ?blank1112)
} .
Pattern
🛈 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
stOTTRo-pizza:PizzaTopping(x:argument1, (_:argument2-1, _:argument2-2, _:argument2-3), _:argument3, (_:argument4-1, _:argument4-2, _:argument4-3), x:argument5)
RDF/wOTTR
[ ottr:of o-pizza:PizzaTopping ;
ottr:values ( x:argument1 ( []
[]
[]
)
[]
( []
[]
[]
)
x:argument5
)
] .
Visualisation of expanded RDF graph
🛈 Each resource node is linked to its IRI.
Expanded RDF graph
pz:hasSpiciness a owl:ObjectProperty .
x:argument5 a owl:Class .
x:argument1 rdfs:comment [] ;
rdfs:comment [] ;
rdfs:comment [] ;
rdfs:label [] ;
rdfs:label [] ;
rdfs:label [] ;
rdfs:subClassOf pz:PizzaTopping ;
rdfs:subClassOf [ a owl:Restriction ;
owl:onProperty pz:hasSpiciness ;
owl:someValuesFrom x:argument5
] ;
skos:prefLabel [] .
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-pizza:PizzaTopping(x:argument1, (_:argument2-1, _:argument2-2, _:argument2-3), _:argument3, (_:argument4-1, _:argument4-2, _:argument4-3), x:argument5)
cross | ottr:Triple(x:argument1, rdfs:label, ++(_:argument2-1, _:argument2-2, _:argument2-3))
ottr:Triple(x:argument1, skos:prefLabel, _:argument3)
cross | ottr:Triple(x:argument1, rdfs:comment, ++(_:argument4-1, _:argument4-2, _:argument4-3))
o-owl-ax:SubClassOf(x:argument1, pz:PizzaTopping)
ottr:Triple(x:argument1, rdfs:subClassOf, pz:PizzaTopping)
o-owl-ax:SubObjectSomeValuesFrom(x:argument1, pz:hasSpiciness, x:argument5)
o-owl-ax:SubClassOf(x:argument1, _:blank1128)
ottr:Triple(x:argument1, rdfs:subClassOf, _:blank1128)
o-owl-re:ObjectSomeValuesFrom(_:blank1128, pz:hasSpiciness, x:argument5)
ottr:Triple(pz:hasSpiciness, rdf:type, owl:ObjectProperty)
ottr:Triple(x:argument5, rdf:type, owl:Class)
o-owl-re:SomeValuesFrom(_:blank1128, pz:hasSpiciness, x:argument5)
o-owl-ut:ValueRestriction(_:blank1128, owl:someValuesFrom, pz:hasSpiciness, x:argument5)
ottr:Triple(_:blank1128, owl:onProperty, pz:hasSpiciness)
ottr:Triple(_:blank1128, rdf:type, owl:Restriction)
ottr:Triple(_:blank1128, owl:someValuesFrom, x:argument5)
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.
List of dependencies
🛈 The number in parenthesis is the number of instances of each template.
o-pizza:PizzaTopping
ottr:Triple (3)ax:SubClassOf (1)
ottr:Triple (1)ax:SubObjectSomeValuesFrom (1)
ax:SubClassOf (1)
ottr:Triple (1)rstr:ObjectSomeValuesFrom (1)
ottr:Triple (2)rstr:SomeValuesFrom (1)
o-owl-ut:ValueRestriction (1)
ottr:Triple (3)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.
- Max. dependency depth: 5
- Min. dependency depth: 1
- Max. branching: 5
- Min. branching: 1
Templates used
Direct dependencies- Number of instances: 5
- Templates used: (3 templates)
Complete expansion- Number of instances: 17
- Templates used: (7 templates)
Vocabulary introduced
Direct dependencies- Namespaces introduced: (3)
- pz:
http://www.co-ode.org/ontologies/pizza/pizza.owl#
- skos:
http://www.w3.org/2004/02/skos/core#
- rdfs:
http://www.w3.org/2000/01/rdf-schema#
Complete expansion- Namespaces introduced: (5)
- rdf:
http://www.w3.org/1999/02/22-rdf-syntax-ns#
- pz:
http://www.co-ode.org/ontologies/pizza/pizza.owl#
- owl:
http://www.w3.org/2002/07/owl#
- skos:
http://www.w3.org/2004/02/skos/core#
- rdfs:
http://www.w3.org/2000/01/rdf-schema#
Serialisations
stOTTR
o-pizza:PizzaTopping[owl:Class ?blank1108, NEList<xsd:string> ?blank1109, xsd:string ?blank1110, ? NEList<xsd:string> ?blank1111, ? owl:Class ?blank1112] :: {
ottr:Triple(?blank1108, skos:prefLabel, ?blank1110),
cross | ottr:Triple(?blank1108, rdfs:comment, ++?blank1111),
cross | ottr:Triple(?blank1108, rdfs:label, ++?blank1109),
o-owl-ax:SubClassOf(?blank1108, pz:PizzaTopping),
o-owl-ax:SubObjectSomeValuesFrom(?blank1108, pz:hasSpiciness, ?blank1112)
} .
RDF/wOTTR
o-pizza:PizzaTopping a ottr:Template ;
ottr:parameters ( [ ottr:type owl:Class ;
ottr:variable _:b0
]
[ ottr:type ( ottr:NEList xsd:string ) ;
ottr:variable _:b1
]
[ ottr:type xsd:string ;
ottr:variable _:b2
]
[ ottr:modifier ottr:optional ;
ottr:type ( ottr:NEList xsd:string ) ;
ottr:variable _:b3
]
[ ottr:modifier ottr:optional ;
ottr:type owl:Class ;
ottr:variable _:b4
]
) ;
ottr:pattern [ ottr:of o-owl-ax:SubObjectSomeValuesFrom ;
ottr:values ( _:b0
pz:hasSpiciness
_:b4
)
] ;
ottr:pattern [ ottr:of o-owl-ax:SubClassOf ;
ottr:values ( _:b0
pz:PizzaTopping
)
] ;
ottr:pattern [ ottr:arguments ( [ ottr:value _:b0 ]
[ ottr:value rdfs:comment ]
[ ottr:modifier ottr:listExpand ;
ottr:value _:b3
]
) ;
ottr:modifier ottr:cross ;
ottr:of ottr:Triple
] ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
skos:prefLabel
_:b2
)
] ;
ottr:pattern [ ottr:arguments ( [ ottr:value _:b0 ]
[ ottr:value rdfs:label ]
[ ottr:modifier ottr:listExpand ;
ottr:value _:b1
]
) ;
ottr:modifier ottr:cross ;
ottr:of ottr:Triple
] .
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 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-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-pizza: <http://tpl.ottr.xyz/pizza/0.1/>.
@prefix o-rdf: <http://tpl.ottr.xyz/rdf/0.1/>.
@prefix o-rdfs: <http://tpl.ottr.xyz/rdfs/0.1/>.
@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#>.