Pattern stOTTR 🛈 stOTTR serialisation of the template without annotation instances.
plmtpl:SKOSmatch[
! ottr:IRI ?RDLentity,
! owl:ObjectProperty ?SKOSrelation=skos:relatedMatch,
!? owl:Class ?SKOScollection,
! xsd:dateTime ?xrefDate,
! ottr:IRI ?external_resource,
owl:Class ?external_resource_type=skos:Concept,
? xsd:string ?external_resource_label,
! NEList<ottr:IRI> ?who,
? NEList<xsd:string> ?why
] :: {
ottr:Triple(?SKOScollection, skos:member, ?external_resource),
ottr:Triple(_:blank501, pav:createdOn, ?xrefDate),
cross | ottr:Triple(_:blank501, pav:createdBy, ++?who),
cross | ottr:Triple(_:blank501, skos:note, ++?why),
plmtpl:TripleAxiom(_:blank501, ?RDLentity, ?SKOSrelation, ?external_resource),
o-rdfs:TypedResourceDescription(?external_resource, ?external_resource_type, ?external_resource_label, "External RDL entity", none, ?SKOScollection)
} . 🛈 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:SKOSmatch(x:argument1, x:argument2, x:argument3, _:argument4, x:argument5, x:argument6, _:argument7, (x:argument8-1, x:argument8-2), (_:argument9-1, _:argument9-2)) 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)
blank541 : LUB<rdfs:Resource>
owl:Axiom
argument4 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource>
pav:createdOn
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
x:argument6
x:argument5
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
owl:annotatedTarget
http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI>
x:argument2
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI>
owl:annotatedProperty
http://example.ottr.xyz/argument/argument8-2 : LUB<ottr:IRI>
x:argument8-2
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument8-2 : LUB<ottr:IRI>
pav:createdBy
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
owl:annotatedSource
argument9-2 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument9-2 : LUB<rdfs:Resource>
skos:note
argument9-1 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument9-1 : LUB<rdfs:Resource>
skos:note
http://example.ottr.xyz/argument/argument8-1 : LUB<ottr:IRI>
x:argument8-1
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument8-1 : LUB<ottr:IRI>
pav:createdBy
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>
x:argument3
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
skos:member
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>
rdfs:isDefinedBy
argument7 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->argument7 : LUB<rdfs:Resource>
rdfs:label
"External RDL entity"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
External RDL entity
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->"External RDL entity"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:comment
Hierarchical vertical layout (dot)
blank541 : LUB<rdfs:Resource>
owl:Axiom
argument4 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource>
pav:createdOn
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
x:argument6
x:argument5
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
owl:annotatedTarget
http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI>
x:argument2
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI>
owl:annotatedProperty
http://example.ottr.xyz/argument/argument8-2 : LUB<ottr:IRI>
x:argument8-2
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument8-2 : LUB<ottr:IRI>
pav:createdBy
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
owl:annotatedSource
argument9-2 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument9-2 : LUB<rdfs:Resource>
skos:note
argument9-1 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument9-1 : LUB<rdfs:Resource>
skos:note
http://example.ottr.xyz/argument/argument8-1 : LUB<ottr:IRI>
x:argument8-1
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument8-1 : LUB<ottr:IRI>
pav:createdBy
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>
x:argument3
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
skos:member
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>
rdfs:isDefinedBy
argument7 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->argument7 : LUB<rdfs:Resource>
rdfs:label
"External RDL entity"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
External RDL entity
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->"External RDL entity"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:comment
Spring model layout (neato)
blank541 : LUB<rdfs:Resource>
owl:Axiom
argument4 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource>
pav:createdOn
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
x:argument6
x:argument5
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
owl:annotatedTarget
http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI>
x:argument2
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI>
owl:annotatedProperty
http://example.ottr.xyz/argument/argument8-2 : LUB<ottr:IRI>
x:argument8-2
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument8-2 : LUB<ottr:IRI>
pav:createdBy
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
owl:annotatedSource
argument9-2 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument9-2 : LUB<rdfs:Resource>
skos:note
argument9-1 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument9-1 : LUB<rdfs:Resource>
skos:note
http://example.ottr.xyz/argument/argument8-1 : LUB<ottr:IRI>
x:argument8-1
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument8-1 : LUB<ottr:IRI>
pav:createdBy
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>
x:argument3
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
skos:member
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>
rdfs:isDefinedBy
argument7 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->argument7 : LUB<rdfs:Resource>
rdfs:label
"External RDL entity"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
External RDL entity
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->"External RDL entity"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:comment
Spring model layout (fdp)
blank541 : LUB<rdfs:Resource>
owl:Axiom
argument4 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource>
pav:createdOn
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
x:argument6
x:argument5
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
owl:annotatedTarget
http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI>
x:argument2
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI>
owl:annotatedProperty
http://example.ottr.xyz/argument/argument8-2 : LUB<ottr:IRI>
x:argument8-2
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument8-2 : LUB<ottr:IRI>
pav:createdBy
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
owl:annotatedSource
argument9-2 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument9-2 : LUB<rdfs:Resource>
skos:note
argument9-1 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument9-1 : LUB<rdfs:Resource>
skos:note
http://example.ottr.xyz/argument/argument8-1 : LUB<ottr:IRI>
x:argument8-1
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument8-1 : LUB<ottr:IRI>
pav:createdBy
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>
x:argument3
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
skos:member
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>
rdfs:isDefinedBy
argument7 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->argument7 : LUB<rdfs:Resource>
rdfs:label
"External RDL entity"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
External RDL entity
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->"External RDL entity"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:comment
Radial layout (twopi)
blank541 : LUB<rdfs:Resource>
owl:Axiom
argument4 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource>
pav:createdOn
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
x:argument6
x:argument5
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
owl:annotatedTarget
http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI>
x:argument2
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI>
owl:annotatedProperty
http://example.ottr.xyz/argument/argument8-2 : LUB<ottr:IRI>
x:argument8-2
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument8-2 : LUB<ottr:IRI>
pav:createdBy
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
owl:annotatedSource
argument9-2 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument9-2 : LUB<rdfs:Resource>
skos:note
argument9-1 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument9-1 : LUB<rdfs:Resource>
skos:note
http://example.ottr.xyz/argument/argument8-1 : LUB<ottr:IRI>
x:argument8-1
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument8-1 : LUB<ottr:IRI>
pav:createdBy
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>
x:argument3
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
skos:member
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>
rdfs:isDefinedBy
argument7 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->argument7 : LUB<rdfs:Resource>
rdfs:label
"External RDL entity"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
External RDL entity
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->"External RDL entity"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:comment
Circular layout (circo)
blank541 : LUB<rdfs:Resource>
owl:Axiom
argument4 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument4 : LUB<rdfs:Resource>
pav:createdOn
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
x:argument6
x:argument5
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
owl:annotatedTarget
http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI>
x:argument2
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument2 : LUB<ottr:IRI>
owl:annotatedProperty
http://example.ottr.xyz/argument/argument8-2 : LUB<ottr:IRI>
x:argument8-2
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument8-2 : LUB<ottr:IRI>
pav:createdBy
http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
x:argument1
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument1 : LUB<ottr:IRI>
owl:annotatedSource
argument9-2 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument9-2 : LUB<rdfs:Resource>
skos:note
argument9-1 : LUB<rdfs:Resource>
blank541 : LUB<rdfs:Resource>->argument9-1 : LUB<rdfs:Resource>
skos:note
http://example.ottr.xyz/argument/argument8-1 : LUB<ottr:IRI>
x:argument8-1
blank541 : LUB<rdfs:Resource>->http://example.ottr.xyz/argument/argument8-1 : LUB<ottr:IRI>
pav:createdBy
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>
x:argument3
http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>
skos:member
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->http://example.ottr.xyz/argument/argument3 : LUB<ottr:IRI>
rdfs:isDefinedBy
argument7 : LUB<rdfs:Resource>
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->argument7 : LUB<rdfs:Resource>
rdfs:label
"External RDL entity"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
xsd:string
External RDL entity
http://example.ottr.xyz/argument/argument5 : LUB<ottr:IRI>->"External RDL entity"^^http://www.w3.org/2001/XMLSchema#string : xsd:string
rdfs:comment
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:SKOSmatch(x:argument1, x:argument2, x:argument3, _:argument4, x:argument5, x:argument6, _:argument7, (x:argument8-1, x:argument8-2), (_:argument9-1, _:argument9-2))
cross | ottr:Triple(_:blank539, pav:createdBy, ++(x:argument8-1, x:argument8-2))
cross | ottr:Triple(_:blank539, skos:note, ++(_:argument9-1, _:argument9-2))
ottr:Triple(_:blank539, pav:createdOn, _:argument4)
ottr:Triple(x:argument3, skos:member, x:argument5)
plmtpl:TripleAxiom(_:blank539, x:argument1, x:argument2, x:argument5)
ottr:Triple(_:blank539, owl:annotatedSource, x:argument1)
ottr:Triple(_:blank539, owl:annotatedProperty, x:argument2)
ottr:Triple(_:blank539, rdf:type, owl:Axiom)
ottr:Triple(_:blank539, owl:annotatedTarget, x:argument5)
o-rdfs:TypedResourceDescription(x:argument5, x:argument6, _:argument7, "External RDL entity", none, x:argument3)
o-rdf:Type(x:argument5, x:argument6)
ottr:Triple(x:argument5, rdf:type, x:argument6)
o-rdfs:ResourceDescription(x:argument5, _:argument7, "External RDL entity", none, x:argument3)
cross | ottr:Triple(x:argument5, rdfs:seeAlso, ++none)
ottr:Triple(x:argument5, rdfs:comment, "External RDL entity")
ottr:Triple(x:argument5, rdfs:isDefinedBy, x:argument3)
o-rdfs:Label(x:argument5, _:argument7)
ottr:Triple(x:argument5, rdfs:label, _:argument7)
Serialisations stOTTR plmtpl:SKOSmatch[
! ottr:IRI ?RDLentity,
! owl:ObjectProperty ?SKOSrelation=skos:relatedMatch,
!? owl:Class ?SKOScollection,
! xsd:dateTime ?xrefDate,
! ottr:IRI ?external_resource,
owl:Class ?external_resource_type=skos:Concept,
? xsd:string ?external_resource_label,
! NEList<ottr:IRI> ?who,
? NEList<xsd:string> ?why
]
@@o-docttr:Provenance(
plmtpl:SKOSmatch,
"2021-08-30T11:04:12Z"^^xsd:dateTime,
none,
(<https://orcid.org/0000-0002-7167-732>),
none),
@@o-docttr:Signature(
plmtpl:SKOSmatch,
"SKOS matching RDL entity",
"Declare a mapping/cross-reference from an RDL entity to a matching entity in an external RDL, using SKOS mapping relations and annotated with time, editor, and note",
none,
none,
none,
none),
@@o-docttr:Version(
plmtpl:SKOSmatch,
ottr:draft,
"0.1.1",
none,
none)
:: {
ottr:Triple(?SKOScollection, skos:member, ?external_resource),
ottr:Triple(_:blank501, pav:createdOn, ?xrefDate),
cross | ottr:Triple(_:blank501, pav:createdBy, ++?who),
cross | ottr:Triple(_:blank501, skos:note, ++?why),
plmtpl:TripleAxiom(_:blank501, ?RDLentity, ?SKOSrelation, ?external_resource),
o-rdfs:TypedResourceDescription(?external_resource, ?external_resource_type, ?external_resource_label, "External RDL entity", none, ?SKOScollection)
} . RDF/wOTTR