SPARQL query to get individual of a class

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SPARQL query to get individual of a class

Nelfrits Christopher
Hi...i am new to OWL and SPARQL..
How to retrive individual from a specified class using SPARQL?
Is there any FILTER to limit the result to one class or sub classes of
a class only?
_______________________________________________
protege-owl mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
Reply | Threaded
Open this post in threaded view
|

Re: SPARQL query to get individual of a class

Olivier Dameron
Hello

On Sat, 22 Aug 2009 09:07:46 +0700, Nelfrits Christopher
<[hidden email]> wrote:

> How to retrive individual from a specified class using SPARQL?

SELECT ?indiv WHERE { ?indiv rdf:type ?someClass }

> Is there any FILTER to limit the result to one class or sub classes of
> a class only?

I don't understand. Can you elaborate on this?

cheers
olivier
_______________________________________________
protege-owl mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03