Pattern stOTTR 🛈 stOTTR serialisation of the template without annotation instances.
plmtpl:ResourceDocumentation[
! ottr:IRI ?resource,
? xsd:string ?title,
? xsd:string ?description,
? ottr:IRI ?subject,
? NEList<ottr:IRI> ?exampleResource,
? ottr:IRI ?documentationPage
] :: {
ottr:Triple(?resource, dc:description, ?description),
ottr:Triple(?resource, dc:title, ?title),
ottr:Triple(?resource, dcterms:subject, ?subject),
ottr:Triple(?resource, foaf:homepage, ?documentationPage),
cross | ottr:Triple(?resource, void:exampleResource, ++?exampleResource)
} . 🛈 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 plmtpl:ResourceDocumentation(x:argument1, _:argument2, _:argument3, x:argument4, (x:argument5-1, x:argument5-2), x:argument6) RDF/wOTTR 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)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
dc:title
http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
x:argument5-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
void:exampleResource
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
dc:description
http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI>
x:argument4
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI>
dcterms:subject
http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
x:argument5-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
void:exampleResource
http://example.ottr.xyz/argument/argument6 : LUB<ottr:IRI>
x:argument6
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument6 : LUB<ottr:IRI>
foaf:homepage
Hierarchical vertical layout (dot)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
dc:title
http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
x:argument5-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
void:exampleResource
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
dc:description
http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI>
x:argument4
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI>
dcterms:subject
http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
x:argument5-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
void:exampleResource
http://example.ottr.xyz/argument/argument6 : LUB<ottr:IRI>
x:argument6
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument6 : LUB<ottr:IRI>
foaf:homepage
Spring model layout (neato)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
dc:title
http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
x:argument5-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
void:exampleResource
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
dc:description
http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI>
x:argument4
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI>
dcterms:subject
http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
x:argument5-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
void:exampleResource
http://example.ottr.xyz/argument/argument6 : LUB<ottr:IRI>
x:argument6
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument6 : LUB<ottr:IRI>
foaf:homepage
Spring model layout (fdp)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
dc:title
http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
x:argument5-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
void:exampleResource
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
dc:description
http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI>
x:argument4
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI>
dcterms:subject
http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
x:argument5-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
void:exampleResource
http://example.ottr.xyz/argument/argument6 : LUB<ottr:IRI>
x:argument6
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument6 : LUB<ottr:IRI>
foaf:homepage
Radial layout (twopi)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
dc:title
http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
x:argument5-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
void:exampleResource
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
dc:description
http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI>
x:argument4
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI>
dcterms:subject
http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
x:argument5-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
void:exampleResource
http://example.ottr.xyz/argument/argument6 : LUB<ottr:IRI>
x:argument6
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument6 : LUB<ottr:IRI>
foaf:homepage
Circular layout (circo)
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
argument2 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument2 : LUB<rdfs:Resource>
dc:title
http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
x:argument5-2
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-2 : LUB<ottr:IRI>
void:exampleResource
argument3 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->argument3 : LUB<rdfs:Resource>
dc:description
http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI>
x:argument4
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument4 : LUB<ottr:IRI>
dcterms:subject
http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
x:argument5-1
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5-1 : LUB<ottr:IRI>
void:exampleResource
http://example.ottr.xyz/argument/argument6 : LUB<ottr:IRI>
x:argument6
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument6 : LUB<ottr:IRI>
foaf:homepage
Expanded RDF graph 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.
plmtpl:ResourceDocumentation(x:argument1, _:argument2, _:argument3, x:argument4, (x:argument5-1, x:argument5-2), x:argument6)
cross | ottr:Triple(x:argument1, void:exampleResource, ++(x:argument5-1, x:argument5-2))
ottr:Triple(x:argument1, dcterms:subject, x:argument4)
ottr:Triple(x:argument1, foaf:homepage, x:argument6)
ottr:Triple(x:argument1, dc:description, _:argument3)
ottr:Triple(x:argument1, dc:title, _: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) Hierarchical vertical layout (dot) Spring model layout (neato) Spring model layout (fdp) Radial layout (twopi) Circular layout (circo) List of dependencies 🛈 The number in parenthesis is the number of instances of each template.
plmtpl:ResourceDocumentation ottr:Triple (5)
Depending templates 🛈 The templates in this library that depend on this template.
Serialisations stOTTR plmtpl:ResourceDocumentation[
! ottr:IRI ?resource,
? xsd:string ?title,
? xsd:string ?description,
? ottr:IRI ?subject,
? NEList<ottr:IRI> ?exampleResource,
? ottr:IRI ?documentationPage
]
@@o-docttr:Provenance(
plmtpl:ResourceDocumentation,
"2021-08-26T17:06:47Z"^^xsd:dateTime,
none,
(<https://orcid.org/0000-0002-7167-732>),
none),
@@o-docttr:Signature(
plmtpl:ResourceDocumentation,
none,
"Metadata for providing documentation, initially intended for ontologies. Title, description, subject, example resource, documentation link.",
none,
("The parameter ?exampleResource may be used to point to representative resources for an ontology, to representative members for a class, etc."),
none,
none),
@@o-docttr:Version(
plmtpl:ResourceDocumentation,
ottr:draft,
"0.1.1",
none,
none)
:: {
ottr:Triple(?resource, dc:description, ?description),
ottr:Triple(?resource, dc:title, ?title),
ottr:Triple(?resource, dcterms:subject, ?subject),
ottr:Triple(?resource, foaf:homepage, ?documentationPage),
cross | ottr:Triple(?resource, void:exampleResource, ++?exampleResource)
} . RDF/wOTTR 🛈 Prefixes are removed from all listings on this page for readability, but are listed here in RDF Turtle format.
@prefix ex: <http://example.org/>.
@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 dcterms: <http://purl.org/dc/terms/>.
@prefix pav: <http://purl.org/pav/>.
@prefix vann: <http://purl.org/vocab/vann/>.
@prefix void: <http://rdfs.org/ns/void#>.
@prefix lis: <http://rds.posccaesar.org/ontology/lis14/rdl/>.
@prefix listpl: <http://rds.posccaesar.org/ontology/lis14/tpl/0.1/>.
@prefix rdl: <http://rds.posccaesar.org/ontology/plm/rdl/>.
@prefix plmtpl: <http://rds.posccaesar.org/ontology/plm/tpl/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 rstr: <http://tpl.ottr.xyz/owl/restriction/0.1/>.
@prefix o-owl-ut: <http://tpl.ottr.xyz/owl/util/0.1/>.
@prefix o-docttr: <http://tpl.ottr.xyz/p/docttr/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 reqtpl: <http://w3id.org/requirement-ontology/tpl/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#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
@prefix xml: <http://www.w3.org/XML/1998/namespace>.
@prefix sd: <http://www.w3.org/ns/sparql-service-description#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/>.