if you get an empty result set and no error, maybe the resource is not in the data store?

The query
    "Select distinct ?s where{?s ?p ?o}."
list all resources in the store.

And maybe it is a problem because you don't use a URI.
Resources should look like <http://world.org/europe/Germany_2123>

Greetings Stefan

--
Stefan Scheffler
Avantgarde Labs GbR
Löbauer Straße 19, 01099 Dresden
Telefon: + 49 (0) 351 21590834
Email: [email protected]



On 20.06.2012 15:46, Lorenz Bühmann wrote:
Sorry, I mean ?s.
On 20.06.2012 15:43, Lorenz Bühmann wrote:

Please use URIs and show us the data in the format it is, for instance as TURTLE or RDF. AND why do you select ?p when it is no where bound in the query?

On 20.06.2012 15:39, abobakr 1 wrote:
Greetings all

could anyone help me writing Sparql query to retrieve all details about given resource

for example

my resource is <Germany_2123>

this resource has temp value 20.0
has timeStamp 20-6-2012:T....
has longitude ....
has latitude ....

i wrote the following query but it gives me no thing

                 "SELECT ?s ?p ?o "
                + "where"
                + "{<Germany_2123> ?p ?o   }";


any help plz


__._,_.___
Reply to sender <mailto:[email protected]?subject=Re%3A%20%5Bjena-dev%5D%20Sparql%20Query%20Get%20Resource%20Details> | Reply to group <mailto:[email protected]?subject=Re%3A%20%5Bjena-dev%5D%20Sparql%20Query%20Get%20Resource%20Details> | Reply via web post <http://groups.yahoo.com/group/jena-dev/post;_ylc=X3oDMTJxMGs0ZTExBF9TAzk3MzU5NzE0BGdycElkAzM5OTc1NTMEZ3Jwc3BJZAMxNzA1MDA3MTgxBG1zZ0lkAzQ4MjgwBHNlYwNmdHIEc2xrA3JwbHkEc3RpbWUDMTM0MDE5OTgyMw--?act=reply&messageNum=48280> | Start a New Topic <http://groups.yahoo.com/group/jena-dev/post;_ylc=X3oDMTJlbm0wdmZlBF9TAzk3MzU5NzE0BGdycElkAzM5OTc1NTMEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA250cGMEc3RpbWUDMTM0MDE5OTgyMw--> Messages in this topic <http://groups.yahoo.com/group/jena-dev/message/48279;_ylc=X3oDMTM2aHJmN2VrBF9TAzk3MzU5NzE0BGdycElkAzM5OTc1NTMEZ3Jwc3BJZAMxNzA1MDA3MTgxBG1zZ0lkAzQ4MjgwBHNlYwNmdHIEc2xrA3Z0cGMEc3RpbWUDMTM0MDE5OTgyMwR0cGNJZAM0ODI3OQ--> (2)
Recent Activity:

  * New Members
<http://groups.yahoo.com/group/jena-dev/members;_ylc=X3oDMTJmZjgzNzRzBF9TAzk3MzU5NzE0BGdycElkAzM5OTc1NTMEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzEzNDAxOTk4MjM-?o=6>
    3

Visit Your Group <http://groups.yahoo.com/group/jena-dev;_ylc=X3oDMTJlNWY2YXA2BF9TAzk3MzU5NzE0BGdycElkAzM5OTc1NTMEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTM0MDE5OTgyMw-->
The Jena user list has moved to Apache.

The new list name is 'users AT jena.apache.org'.

Send email to
  'users-subscribe AT jena.apache.org' to subscribe.

Yahoo! Groups <http://groups.yahoo.com/;_ylc=X3oDMTJkcjYyMjJiBF9TAzk3NDc2NTkwBGdycElkAzM5OTc1NTMEZ3Jwc3BJZAMxNzA1MDA3MTgxBHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMzQwMTk5ODIz> Switch to: Text-Only <mailto:[email protected]?subject=Change%20Delivery%20Format:%20Traditional>, Daily Digest <mailto:[email protected]?subject=Email%20Delivery:%20Digest> . Unsubscribe <mailto:[email protected]?subject=Unsubscribe> . Terms of Use <http://docs.yahoo.com/info/terms/>
.

__,_._,___





Reply via email to