[Pellet-users] Multiple Cardinality Question
Jacobs, Jay
Jay.Jacobs at sparta.com
Wed Sep 26 23:59:58 UTC 2007
Hi,
We're trying to use Pellet with an ontology class containing slots with
multiple cardinality. We want to match on slot value subsets. Using the
following example:
Foo hasFriends Bar
Foo hasFriends Mike
Jane hasFriends Foo
Jane hasFriends Bar
Jane hasFriends Mike
Jack hasFriends Mike
Jack hasFriends Jane
I haveFriend Foo
I haveFriend Bar
I haveFriend Jill
Foo, Jane, and Jack are individuals of a Person class which has a hasFriends
slot relation with a max cardinality of * and a range of Person. I is an
individual of class Myself which has a haveFriends slot relation with a max
cardinality of * and a range of Person. I'd like to ask pellet which Person
individuals have a subset of friends of Myself. In this example, it should
return a set of { Foo, Jane } but not Jack. I don't think this is possible
using SPARQL but am wondering if I can do this programmatically with the
pellet API.
Thanks!
--Jay
More information about the Pellet-users
mailing list