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] how to query an owl ontology

Alan Ruttenberg alanruttenberg at
Tue May 20 19:22:06 PDT 2008

You can query OWL using SPARQL with the Pellet reasoner providing  
inferences. There are two ways: 1) Directly query SPARQL using it's  
native SPARQL implementation. However, that SPARQL implementation  
implements only a subset of SPARQL. 2) Use Jena with a pellet  
inference model. In this case you get the full expressivity of  
SPARQL, but there are some queries you might make that might not be  
complete. I recommend the second option. There is also proposal for  
SPARQL DL, and there may be an implementation in Pellet coming soon.

If you need some pointers to code you can look on the pellet users  
list pellet-users at or drop me a note and I'll point  
you at it.


On May 20, 2008, at 10:40 AM, anuj kumar wrote:

> Hi,
> I have an owl ontology and my objective is to query the file based  
> on the parameters passed by a user. I am at the very beginning of  
> this implementation. I went through the tutorial of jena and sparql  
> and I have some very basic questions:-
> Q1) Sparql is used to query RDF and not owl files correct? Then how  
> does jena query the owl files using sparql.
> Q2) Which is the most widely used language to query owl files?
> Anuj
> _______________________________________________
> protege-owl mailing list
> protege-owl at
> Instructions for unsubscribing: 
> faq.html#01a.03

More information about the protege-owl mailing list