Search code examples
rdfowlsemantic-webontologyrdfs

Modeling computational dependencies between property values in an Ontology


I have an Ontology with an entity called :Entity1 (right now its modelled as a class but we can make it an individual, if needed. It has properties called :hasValue1 and :hasValue2. I want to capture the fact that the value for :hasValue2 should always be 0.35 times the value for :hasValue1.

So, if I have the triple ":Entity1 :hasValue1 10", I want to enforce the "fact" that ":Entity1 :hasValue2 3.5".

What is the best way to do this in a semantic model?


Solution

  • You will require to use SWRL rules