On Wed, 2011-10-05 at 11:22 +0100, Paolo Castagna wrote: 
> Dave Reynolds wrote:
> > If you just want to list the properties and classes that are used then
> > you can do things like:
> > 
> >   SELECT DISTINCT ?p WHERE {?s ?p ?o.}
> > 
> >   SELECT DISTINCT ?cls WEHRE {?i a ?cls.}
> 
> Any idea to speed up these two queries (for large TDB datasets) is welcome! 
> :-)

I nearly put a comment in that response that those can be very expensive
queries :)

Dave


Reply via email to