[Pellet-users] Can you query Pellet using negation?

Margaret A Mitchell itallow at u.washington.edu
Thu May 29 23:08:57 UTC 2008


I was wondering if it was possible to query Pellet specifying something you *don't* want, and getting all the items that *don't* match a certain value.  Is this possible?

I'm working in the wine domain, so, for example, I'd like to create a SPARQL query that essentially says "return all the wines that are not red".

Is this possible?  Or is it entirely dependent on the structure of my ontology?  I will paste code as directed. =)


Thanks,
M



More information about the Pellet-users mailing list