Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] Problem with SQWRL query

Rodolfo Rieckhof rodo2024 at googlemail.com
Mon Nov 29 12:38:55 PST 2010


Hello,
i want to get from an ontology all individuals from a type, that have more
than 1 OP. For example, the following Ontology have 2 Individuals from Type
FP, indi1 and indi2. indi1 have 2 OP mode to oder individuals and indi2 have
only one OP mode to other individual.

I want to get all individuals from type FP that have more than 1 OP mode. I
tried it with the following Query, but i still get the 2 Individuals.  Why
is this and how could i make a query that gets me the desired result.
enod:FP(?x) ∧ bad:mode(?x, ?o) ˚  sqwrl:makeBag(?sp, ?o) ˚  sqwrl:size(?s,
?sp) ∧ swrlb:greaterThan(?s, 1) →  sqwrl:select(?x)

regards,
Rodolfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20101129/c3cadcb3/attachment.html>


More information about the protege-owl mailing list