- From: Soodeh Pakari <soodeh.65.8.13@gmail.com>
- Date: Thu, 24 Jan 2013 10:59:19 +0330
- To: Bob DuCharme <bob@snee.com>
- Cc: public-sparql-dev@w3.org
- Message-ID: <CAKyHyXSBugjvKY0i+A9MZ8wpVxCoTNX8_i6bvspA8GJhBTiavA@mail.gmail.com>
Thanks alot, I'm new to SPARQL, I want to use SPARQL in java application, Which library should I add to my java application? Can I use pellet-query.jar for this purpose? On Tue, Jan 22, 2013 at 8:56 PM, Bob DuCharme <bob@snee.com> wrote: > The following SPARQL query asks for the property names and values of all > instances of the xyz:Employee class: > > PREFIX xyz: <http://example.org/sample#> <http://example.org/sample#> > PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#><http://www.w3.org/1999/02/22-rdf-syntax-ns#> > > SELECT ?instance ?propertyName ?propertyValue > WHERE > { > ?instance rdf:type xyz:Employee . > ?instance ?propertyName ?propertyValue . > } > > It would probably be a good idea for you to work your way through a basic > SPARQL tutorial. I can recommend one... > > Bob DuCharme @bobdc > www.learningsparql.com @learningsparql > > > > > On 1/22/2013 5:58 AM, Soodeh Pakari wrote: > > > Hi, >> >> I have an ontology that I want to access all individuals of the certain >> class and then access to all properties of these individuals. Is there any >> way to do this? Could you please help me? >> >> >> >> Thanks in advance >> >> Soodeh. >> > > >
Received on Thursday, 24 January 2013 07:41:41 UTC