문제

For example: we have premises a < b and b < c, can you deduce a < c in Semanric web?

도움이 되었습니까?

해결책

With the help of a reasoner and by considering a, b and c as OWL classes (which are kind of equivalent to sets from set theory) you could do it.

For example the following ontology represent your premises:

Class: a
  SubClassOf: b

Class: b
  SubClassOf: c

Class: c

Now if you were to query for the subclasses (direct and indirect) of c you would retrieve a and b, showing that a is a subclass () of c without explicit assertion.

Note that you could also use the Semantic Web Rule Language if you want to infer information based on the values of a, b and c. You could look at swrlb:greaterThan or swrlb:smallerThan for that.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top