Pattern stOTTR 🛈 stOTTR serialisation of the template without annotation instances.
ont:Ontology[
ottr:IRI ?ontIRI,
List<ottr:IRI> ?imports
] :: {
ottr:Triple(?ontIRI, rdf:type, owl:Ontology),
cross | ottr:Triple(?ontIRI, owl:imports, ++?imports)
} . 🛈 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 ont:Ontology(x:argument1, (x:argument2-1, x:argument2-2)) RDF/wOTTR
[ ottr:of ont:Ontology ;
ottr:values ( x:argument1 ( x:argument2-1 x:argument2-2 ) )
] . 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:Ontology
x:argument1
http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>
x:argument2-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>
owl:imports
http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>
x:argument2-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>
owl:imports
Hierarchical vertical layout (dot)
%3
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
owl:Ontology
x:argument1
http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>
x:argument2-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>
owl:imports
http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>
x:argument2-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>
owl:imports
Spring model layout (neato)
%3
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
owl:Ontology
x:argument1
http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>
x:argument2-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>
owl:imports
http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>
x:argument2-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>
owl:imports
Spring model layout (fdp)
%3
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
owl:Ontology
x:argument1
http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>
x:argument2-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>
owl:imports
http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>
x:argument2-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>
owl:imports
Radial layout (twopi)
%3
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
owl:Ontology
x:argument1
http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>
x:argument2-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>
owl:imports
http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>
x:argument2-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>
owl:imports
Circular layout (circo)
%3
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
owl:Ontology
x:argument1
http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>
x:argument2-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2-1 : LUB<ottr:IRI>
owl:imports
http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>
x:argument2-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument2-2 : LUB<ottr:IRI>
owl:imports
Expanded RDF graph
x:argument1 rdf:type owl:Ontology ;
owl:imports x:argument2-2 , x:argument2-1 . 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.
ont:Ontology(x:argument1, (x:argument2-1, x:argument2-2))
cross | ottr:Triple(x:argument1, owl:imports, ++(x:argument2-1, x:argument2-2))
ottr:Triple(x:argument1, rdf:type, owl:Ontology)
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
ont:Ontology
ont:Ontology
ottr:Triple
ottr:Triple
ont:Ontology->ottr:Triple
Hierarchical vertical layout (dot)
%3
ont:Ontology
ont:Ontology
ottr:Triple
ottr:Triple
ont:Ontology->ottr:Triple
Spring model layout (neato)
%3
ont:Ontology
ont:Ontology
ottr:Triple
ottr:Triple
ont:Ontology->ottr:Triple
Spring model layout (fdp)
%3
ont:Ontology
ont:Ontology
ottr:Triple
ottr:Triple
ont:Ontology->ottr:Triple
Radial layout (twopi)
%3
ont:Ontology
ont:Ontology
ottr:Triple
ottr:Triple
ont:Ontology->ottr:Triple
Circular layout (circo)
%3
ont:Ontology
ont:Ontology
ottr:Triple
ottr:Triple
ont:Ontology->ottr:Triple
List of dependencies 🛈 The number in parenthesis is the number of instances of each template.
ont:Ontology ottr:Triple (2)
Depending templates 🛈 The templates in this library that depend on this template.
None found.
Serialisations stOTTR ont:Ontology[
ottr:IRI ?ontIRI,
List<ottr:IRI> ?imports
] :: {
ottr:Triple(?ontIRI, rdf:type, owl:Ontology),
cross | ottr:Triple(?ontIRI, owl:imports, ++?imports)
} . RDF/wOTTR
ont:Ontology rdf:type ottr:Template ;
ottr:parameters ( [ ottr:type ottr:IRI ;
ottr:variable _:b0
]
[ ottr:type ( rdf:List ottr:IRI ) ;
ottr:variable _:b1
]
) ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
rdf:type owl:Ontology
)
] ;
ottr:pattern [ ottr:arguments ( [ ottr:value _:b0 ]
[ ottr:value owl:imports ]
[ ottr:modifier ottr:listExpand ;
ottr:value _:b1
]
) ;
ottr:modifier ottr:cross ;
ottr:of ottr:Triple
] . 🛈 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 ont: <http://tpl.ottr.xyz/p/asset-maintenance/owl/ontology/0.1/>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.