Replies: 2 comments 6 replies
-
Specifying If what you want to say "for every individual with an assertion on A:scalarPropertyA with literalA (from enumsA), you want the reasoner to infer that the individual has an assertion on B:scalarPropertyB with literalB (from enumsB)", then a better way to do this is by a rule, as follows (no enum or property specialization needed):
|
Beta Was this translation helpful? Give feedback.
-
We encountered a build issue with referencing scalar properties. Since it is related to the general question of how scalar property referencing is supposed to work, I am including it here. Using the example of mapping vocabulary A to B via referencing, say we have the following (where ------ denotes separate oml files): /namespace#vocabA
|
Beta Was this translation helpful? Give feedback.
-
I am creating an embedded vocabulary to map portions of vocab A to vocab B. I would like to create a reference for a scalar property in vocabulary A in the embedded vocabulary to inherit from a scalar property from vocabulary B. The domains of the scalar properties are already mapped.
The range of scalar property A is an enumerated scalar. The range of scalar property B is also an enumerated scalar, but with a different list of enumerations.
Is there a way to somehow combine the enumerations so that scalarPropertyA can correspond to scalarPropertyB?
I tried the following statements in the embedded vocab:
ref scalar property A:scalarPropertyA :> B:scalarPropertyB
ref enumerated scalar A:enumsA :> B:enumsB
The reasoner failed because it found the ontology to be inconsistent. Explanation in reasoning.xml was: "The literal value does not satisfy the datatype restriction". The enumsB enum scalar was listed in the Datatypes section of reasoning.xml. In the Data properties section the scalarPropertyA was a subclass of scalarPropertyB. It failed on an individual for which scalarPropertyA was asserted with a value from enumsA.
Beta Was this translation helpful? Give feedback.
All reactions