Owlready
Search
everywhere
only in this topic
Advanced Search
SWRL Rules with class expressions
Classic
List
Threaded
♦
♦
Locked
2 messages
Joel Valim
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
SWRL Rules with class expressions
Hello,
I am trying to create a rule with a class expression within.
A rule like
Person(?x),hasChild some Person(?y) -> Parent(?x)
Is that possible at current version of owlready2 and if not is there some forecasting for that?
Jiba
Reply
|
Threaded
Open this post in threaded view
♦
♦
|
Re: SWRL Rules with class expressions
Administrator
Hello,
You can either create a named class equivalent to "hasChild some Person", and then use it as a class, or "split" the class expression in two parts: haschild(?x, ?y) and Person(?y).
Jiba
Free forum by Nabble
Edit this page