o-owl-ut:Cardinality
🛈 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.
Index | Name | Type | Optional | Blanks allowed | Default value |
---|---|---|---|---|---|
1 | blank629 | ottr:IRI | no | yes | no |
2 | blank630 | ottr:IRI | no | no | no |
3 | blank631 | xsd:nonNegativeInteger | no | yes | no |
4 | blank632 | ottr:IRI | no | yes | no |
🛈 stOTTR serialisation of the template without annotation instances.
o-owl-ut:Cardinality[ ottr:IRI ?blank629, ! ottr:IRI ?blank630, xsd:nonNegativeInteger ?blank631, ottr:IRI ?blank632 ] :: { ottr:Triple(?blank629, ?blank630, ?blank631), ottr:Triple(?blank629, owl:onProperty, ?blank632), o-rdf:Type(?blank629, owl:Restriction) } .
🛈 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.
o-owl-ut:Cardinality(x:argument1, x:argument2, _:argument3, x:argument4)RDF/wOTTR
[ ottr:of o-owl-ut:Cardinality ; ottr:values ( x:argument1 x:argument2 [] x:argument4 ) ] .
🛈 Each resource node is linked to its IRI. Type relationships are not visualised, rather each node contains its type.
x:argument1 rdf:type owl:Restriction ; x:argument2 [] ; owl:onProperty x:argument4 .
🛈 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-ut:Cardinality(x:argument1, x:argument2, _:argument3, x:argument4)
ottr:Triple(x:argument1, owl:onProperty, x:argument4)
ottr:Triple(x:argument1, x:argument2, _:argument3)
o-rdf:Type(x:argument1, owl:Restriction)
ottr:Triple(x:argument1, rdf:type, owl:Restriction)
🛈 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.
🛈 The number in parenthesis is the number of instances of each template.
🛈 The templates in this library that depend on this template.
🛈 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.
Direct dependencies
| Complete expansion
|
Direct dependencies
| Complete expansion
|
o-owl-ut:Cardinality[ ottr:IRI ?blank629, ! ottr:IRI ?blank630, xsd:nonNegativeInteger ?blank631, ottr:IRI ?blank632 ] :: { ottr:Triple(?blank629, ?blank630, ?blank631), ottr:Triple(?blank629, owl:onProperty, ?blank632), o-rdf:Type(?blank629, owl:Restriction) } .
o-owl-ut:Cardinality rdf:type ottr:Template ; ottr:parameters ( [ ottr:type ottr:IRI ; ottr:variable _:b0 ] [ ottr:modifier ottr:nonBlank ; ottr:type ottr:IRI ; ottr:variable _:b1 ] [ ottr:type xsd:nonNegativeInteger ; ottr:variable _:b2 ] [ ottr:type ottr:IRI ; ottr:variable _:b3 ] ) ; ottr:pattern [ ottr:of ottr:Triple ; ottr:values ( _:b0 _:b1 _:b2 ) ] ; ottr:pattern [ ottr:of ottr:Triple ; ottr:values ( _:b0 owl:onProperty _:b3 ) ] ; ottr:pattern [ ottr:of o-rdf:Type ; ottr:values ( _:b0 owl:Restriction ) ] .
🛈 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-ut: <http://tpl.ottr.xyz/owl/util/0.1/>. @prefix o-rdf: <http://tpl.ottr.xyz/rdf/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#>.