- From: Andy Seaborne <andy@apache.org>
- Date: Sun, 10 Nov 2013 19:06:34 +0000
- To: public-sparql-dev@w3.org
Received on Sunday, 10 November 2013 19:07:04 UTC
On 10/11/13 14:20, Luciane Monteiro wrote: > > I'm doing the SPARQL query below (using Jena) where |uriNode| is a > |String| representing a |URI|. But this query doesn't give me any > result. I've already checked the database and this |URI| does exist > there. > > *what's the problem?* > > * > * > > *QUERY:* > > |String queryString2 = "PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> " + > "PREFIX dc: <http://purl.org/dc/elements/1.1/> SELECT ?author WHERE { " + > "?document dc:creator ?author." + > "FILTER (?document = \"" + uriNode + "\" ). }"; > > | > |Thank you! > | > See http://stackoverflow.com/questions/19890512/sparql-query-using-a-uri
Received on Sunday, 10 November 2013 19:07:04 UTC