SWRL rule equivalent for IN condition (sql)

54 Views Asked by At

I want to add a SWRL rule basis some list of object property values or data property values. Person(?p)^hasPosition(?p,[CEO,COO,CFO,MD]) -> hasWorkGroup(?p,ExecutiveManagement) How do I correctly define [CEO,COO,CFO,MD] as list of values as we do in SQL's IN clause?

And how can I achieve similar thing when CEO,COO,CFO,MD values are literals (i.e. hasPosition is a data property)?

0

There are 0 best solutions below