Closed NicolasRouquette closed 6 years ago
I think it would be helpful to clarify in the example that in the canonical use case R1 is already defined in some imported terminology. The encoding of an occurrence of R1 from U2 to V2 requires only the declaration of R2 as an extension and the someEntities restriction.
Thanks; I updated the description (see "New pattern: ReifiedRelationshipSpecialization"). Also, I realize that a legitimate question is whether we need these two statements; see: "Q: Could the two statements be combined in one?".
I think there are two distinct patterns: one is (B, q, C) where B and C are explicit classes. All that requires is the someEntities clause. The other case is (A, r, (B, q, C)). This is the only case for which we require the specialization of q (and another someEntities clause).
Simplify
ReifiedRelationshipSpecializationAxiom
Currently (version 0.9.2)
Currently, a
ReifiedRelationship
R1
withsource
U1
andtarget
V1
is written as follows:To specialize the above, it is currently necessary to define a new
ReifiedRelationship
, e.g.:and then assert:
Problem
Each occurrence of the reified relationship pattern produces a lot of axioms in OWL2-DL + SWRL.
The following OWL:
corresponds to the following in OWL2-DL + SWRL:
The intent of the specialization can be effectively captured with fewer axioms in OWL2-DL + SWRL.
New pattern: ReifiedRelationshipSpecialization
The example above would be specified in OML as follows.
Assuming that
R1
is defined somewhere:Then defining
R2
as a specialization ofR1
will involve the two OML statements:where the OWL2-DL + SWRL mapping of:
will be:
Q: Could the two statements be combined in one?
Instead of:
The mapping of the 1st statement to OWL2-DL + SWRL could also include the 2nd statement. That is, the following in OWL:
could be mapped to the following in OWL2-DL + SWRL:
The answer is no; mainly because it would make the axioms in OWl2-DL + SWRL ambiguous to parse back into OML.
For example, if there were multiple restrictions on
R1
, it would be ambiguous to tell which of these restrictions would correspond to the reified relationship specialization pattern in OML.Missing pattern for specialization of
StructuredDataProperty
.Note that
StructuredDataProperty
is currently missing theunreified
counterpart ofReifiedRelationship
.The data counterpart of reified relationship specialization described above; e.g.:
Where the corresponding OWL2-DL + SWRL mapping is: