[Pellet-users] how to retrieve all instances in pellet(using sparql!!)

Evren Sirin evren at clarkparsia.com
Fri May 30 19:49:28 UTC 2008


I don't think I understand the use case but the simple SPARQL query 
"SELECT * WHERE {?s ?p ?o}" can be used to retrieve all inferences. 
However such a query will typically run quite slowly since retriveing 
all the inferences is a quite expensive operation. Running specific 
queries that are relevant for your use case would be better.

Cheers,
Evren

On 5/30/08 9:50 AM, Mohammad Sadnan Al-Manir wrote:
> Respected everyone,
>
> I have to take an ontology as input and retrieve everything(classes, 
> properties names etc.) so that I can transform them into prolog code 
> and feed them into XSB reasoner. The thing is I have to use DL 
> reasoner(pellet) for that retrieval(probably with sparql query).  For 
> example if there is also  symmetric property like hasBrother(John, 
> Smith), then  I would like to get also  hasBrother(Smith, John) i.e. 
> every possible facts from the ontology. Could you please tell me how 
> can i do that? if it is only possible with a simple sparql query, can 
> u give me some hints?
>
> To be more clear, the result should be a list of classes and 
> properties (if possible, also showing which type of properties e.g. 
> transitive, symmetric....) shown as in OwlSight and does not have to 
> be a hierarchy.
>
> regards...
>
> al-manir
> TU Wien
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pellet-users mailing list
> Pellet-users at lists.owldl.com
> http://lists.owldl.com/mailman/listinfo/pellet-users
> _______________________________________________
>
> Sponsored by Clark & Parsia, LLC http://clarkparsia.com/



More information about the Pellet-users mailing list