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] Ontology query

Wouter Theetaert wouter.theetaert at
Fri Jan 29 08:14:19 PST 2010

Thanks for the information!


2010/1/29 Martin O'Connor <martin.oconnor at>

> I am in the middle of the SWRLTab port for Protege 4 and hope to have it
> available by June. BTW, the SQWRL is actively supported in the current
> Protege 3, not just in earlier versions of it. If fact, major extensions to
> the language will be available next week in the upcoming 3.4.3 release.
> FYI, the SQWRL queries would be:
> hasLocation(Wouter, ?l) -> sqwrl:select(?l)
> hasLocation(?p, Kitchen) -> sqwrl:select(?p)
> Martin
> Wouter Theetaert wrote:
>> Dear all,
>> I have an ontology which looks like this:
>> - Classes: 'Person', 'Location'
>> - Properties: 'hasLocation'
>> - Individuals: 'Wouter' (of class Person), 'Kitchen' (of class Location).
>> Using the latest version of the OWL API (v3), it's no problem to add
>> 'Wouter hasLocation Kitchen' to the ontology. Indeed, when I look at the
>> ontology with Protege afterwards, 'hasLocation Kitchen' is added to the
>> Individual 'Wouter'.
>> I would like to get around the other way, now. Given the Individual
>> Wouter, I want to know its location. This is in fact some kind of query, but
>> after spending hours on Google, I still didn't find out how to do that. This
>> are the queries I want to execute:
>> - Given the Individual Wouter, what is its location? ('Wouter hasLocation
>> Kitchen' is added to the ontology, so I want the Individual 'Kitchen' as a
>> response).
>> - What are the Individuals that are located in the Kitchen? (the response
>> should be 'Wouter', in this case).
>> I've read about SQWRL, but if I'm correct this was only worked out in an
>> older version of Protégé-OWL (in the SWRLTab plugin). Protégé 4 doensn't
>> even support SQWRL. My question is simple: is querying like I mentioned
>> before possible with OWL API v3? What options do I have?
>> Thanks in advance,
>> Wouter
>> ------------------------------------------------------------------------
>> _______________________________________________
>> protege-owl mailing list
>> protege-owl at
>> Instructions for unsubscribing:
> _______________________________________________
> protege-owl mailing list
> protege-owl at
> Instructions for unsubscribing:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the protege-owl mailing list