Pattern stOTTR 🛈 stOTTR serialisation of the template without annotation instances.
o-rdfs:ResourceDescription[
ottr:IRI ?resource,
? xsd:string ?label,
? xsd:string ?comment,
? List<rdfs:Resource> ?seeAlso,
? rdfs:Resource ?isDefinedBy
] :: {
ottr:Triple(?resource, rdfs:comment, ?comment),
ottr:Triple(?resource, rdfs:isDefinedBy, ?isDefinedBy),
cross | ottr:Triple(?resource, rdfs:seeAlso, ++?seeAlso),
o-rdfs:Label(?resource, ?label)
} . 🛈 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-rdfs:ResourceDescription(x:argument1, _:argument2, _:argument3, (_:argument4-1, _:argument4-2), _:argument5) RDF/wOTTR
[ ottr:of o-rdfs:ResourceDescription ;
ottr:values ( x:argument1
[]
[]
( []
[]
)
[]
)
] . 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>
x:argument1
argument5 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource>
rdfs:isDefinedBy
argument4-1 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4-1 : LUB<rdfs:Resource>
rdfs:seeAlso
argument4-2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4-2 : LUB<rdfs:Resource>
rdfs:seeAlso
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
rdfs:comment
Hierarchical vertical layout (dot)
%3
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
argument5 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource>
rdfs:isDefinedBy
argument4-1 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4-1 : LUB<rdfs:Resource>
rdfs:seeAlso
argument4-2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4-2 : LUB<rdfs:Resource>
rdfs:seeAlso
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
rdfs:comment
Spring model layout (neato)
%3
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
argument5 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource>
rdfs:isDefinedBy
argument4-1 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4-1 : LUB<rdfs:Resource>
rdfs:seeAlso
argument4-2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4-2 : LUB<rdfs:Resource>
rdfs:seeAlso
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
rdfs:comment
Spring model layout (fdp)
%3
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
argument5 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource>
rdfs:isDefinedBy
argument4-1 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4-1 : LUB<rdfs:Resource>
rdfs:seeAlso
argument4-2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4-2 : LUB<rdfs:Resource>
rdfs:seeAlso
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
rdfs:comment
Radial layout (twopi)
%3
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
argument5 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource>
rdfs:isDefinedBy
argument4-1 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4-1 : LUB<rdfs:Resource>
rdfs:seeAlso
argument4-2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4-2 : LUB<rdfs:Resource>
rdfs:seeAlso
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
rdfs:comment
Circular layout (circo)
%3
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
argument5 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument5 : LUB<rdfs:Resource>
rdfs:isDefinedBy
argument4-1 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4-1 : LUB<rdfs:Resource>
rdfs:seeAlso
argument4-2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument4-2 : LUB<rdfs:Resource>
rdfs:seeAlso
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
rdfs:label
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
rdfs:comment
Expanded RDF graph
x:argument1 rdfs:comment [] ;
rdfs:isDefinedBy [] ;
rdfs:label [] ;
rdfs:seeAlso [] ;
rdfs:seeAlso [] . 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-rdfs:ResourceDescription(x:argument1, _:argument2, _:argument3, (_:argument4-1, _:argument4-2), _:argument5)
ottr:Triple(x:argument1, rdfs:isDefinedBy, _:argument5)
cross | ottr:Triple(x:argument1, rdfs:seeAlso, ++(_:argument4-1, _:argument4-2))
ottr:Triple(x:argument1, rdfs:comment, _:argument3)
o-rdfs:Label(x:argument1, _:argument2)
ottr:Triple(x:argument1, rdfs:label, _:argument2)
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-rdfs:ResourceDescription
o-rdfs:ResourceDescription
ottr:Triple
ottr:Triple
o-rdfs:ResourceDescription->ottr:Triple
o-rdfs:Label
o-rdfs:Label
o-rdfs:ResourceDescription->o-rdfs:Label
o-rdfs:Label->ottr:Triple
Hierarchical vertical layout (dot)
%3
o-rdfs:ResourceDescription
o-rdfs:ResourceDescription
ottr:Triple
ottr:Triple
o-rdfs:ResourceDescription->ottr:Triple
o-rdfs:Label
o-rdfs:Label
o-rdfs:ResourceDescription->o-rdfs:Label
o-rdfs:Label->ottr:Triple
Spring model layout (neato)
%3
o-rdfs:ResourceDescription
o-rdfs:ResourceDescription
ottr:Triple
ottr:Triple
o-rdfs:ResourceDescription->ottr:Triple
o-rdfs:Label
o-rdfs:Label
o-rdfs:ResourceDescription->o-rdfs:Label
o-rdfs:Label->ottr:Triple
Spring model layout (fdp)
%3
o-rdfs:ResourceDescription
o-rdfs:ResourceDescription
ottr:Triple
ottr:Triple
o-rdfs:ResourceDescription->ottr:Triple
o-rdfs:Label
o-rdfs:Label
o-rdfs:ResourceDescription->o-rdfs:Label
o-rdfs:Label->ottr:Triple
Radial layout (twopi)
%3
o-rdfs:ResourceDescription
o-rdfs:ResourceDescription
ottr:Triple
ottr:Triple
o-rdfs:ResourceDescription->ottr:Triple
o-rdfs:Label
o-rdfs:Label
o-rdfs:ResourceDescription->o-rdfs:Label
o-rdfs:Label->ottr:Triple
Circular layout (circo)
%3
o-rdfs:ResourceDescription
o-rdfs:ResourceDescription
ottr:Triple
ottr:Triple
o-rdfs:ResourceDescription->ottr:Triple
o-rdfs:Label
o-rdfs:Label
o-rdfs:ResourceDescription->o-rdfs:Label
o-rdfs:Label->ottr:Triple
List of dependencies 🛈 The number in parenthesis is the number of instances of each template.
o-rdfs:ResourceDescription ottr:Triple (3) o-rdfs:Label (1) ottr:Triple (1)
Depending templates 🛈 The templates in this library that depend on this template.
Serialisations stOTTR o-rdfs:ResourceDescription[
ottr:IRI ?resource,
? xsd:string ?label,
? xsd:string ?comment,
? List<rdfs:Resource> ?seeAlso,
? rdfs:Resource ?isDefinedBy
]
@@o-docttr:Version(
o-rdfs:ResourceDescription,
ottr:draft,
"0.1.3",
none,
<http://tpl.ottr.xyz/rdfs/0.2/ResourceDescription>)
:: {
ottr:Triple(?resource, rdfs:comment, ?comment),
ottr:Triple(?resource, rdfs:isDefinedBy, ?isDefinedBy),
cross | ottr:Triple(?resource, rdfs:seeAlso, ++?seeAlso),
o-rdfs:Label(?resource, ?label)
} . RDF/wOTTR
o-rdfs:ResourceDescription
rdf:type ottr:Template ;
ottr:annotation [ ottr:of o-docttr:Version ;
ottr:values ( o-rdfs:ResourceDescription ottr:draft "0.1.3" ottr:none <http://tpl.ottr.xyz/rdfs/0.2/ResourceDescription> )
] ;
ottr:parameters ( [ ottr:type ottr:IRI ;
ottr:variable _:b0
]
[ ottr:modifier ottr:optional ;
ottr:type xsd:string ;
ottr:variable _:b1
]
[ ottr:modifier ottr:optional ;
ottr:type xsd:string ;
ottr:variable _:b2
]
[ ottr:modifier ottr:optional ;
ottr:type ( rdf:List rdfs:Resource ) ;
ottr:variable _:b3
]
[ ottr:modifier ottr:optional ;
ottr:type rdfs:Resource ;
ottr:variable _:b4
]
) ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
rdfs:comment
_:b2
)
] ;
ottr:pattern [ ottr:of o-rdfs:Label ;
ottr:values ( _:b0
_:b1
)
] ;
ottr:pattern [ ottr:arguments ( [ ottr:value _:b0 ]
[ ottr:value rdfs:seeAlso ]
[ ottr:modifier ottr:listExpand ;
ottr:value _:b3
]
) ;
ottr:modifier ottr:cross ;
ottr:of ottr:Triple
] ;
ottr:pattern [ ottr:of ottr:Triple ;
ottr:values ( _:b0
rdfs:isDefinedBy
_:b4
)
] . 🛈 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-docttr: <http://tpl.ottr.xyz/p/docttr/0.1/>.
@prefix o-rdfs: <http://tpl.ottr.xyz/rdfs/0.1/>.
@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#>.