Representing if-then sentence using OWL?

前端 未结 2 1415
走了就别回头了
走了就别回头了 2020-12-09 06:17

I am working with basic OWL, and it\'s quite easy to represent some simple sentence like \"Songoku is a lecturer, he teaches Maths\".

E.g.:



        
2条回答
  •  时光说笑
    2020-12-09 07:13

    This is a text in Attempto Controlled English (ACE):

    Bob is a student. If Bob has 5 dogs then Bob has at least 1 cat.
    

    and it has this representation in OWL:

    ClassAssertion(
      :student
      :Bob
    )
    SubClassOf(
      ObjectIntersectionOf(
         ObjectOneOf(
            :Bob
         )
         ObjectMinCardinality(
            5
            :have
            :dog
         )
      )
      ObjectSomeValuesFrom(
         :have
         :cat
      )
    )
    

    which can be computed automatically with the ACE parser (APE). So, if you have managed to conceptualize your statement in English, it's worth checking if the ACE parser can map it automatically to OWL, see the online demo of the ACE parser.

提交回复
热议问题