- From: Luciane Monteiro <luciane.lpm@gmail.com>
- Date: Sun, 10 Nov 2013 12:20:52 -0200
- To: public-sparql-dev@w3.org
Received on Sunday, 10 November 2013 17:29:28 UTC
I'm doing the SPARQL query below (using Jena) where uriNode is a
Stringrepresenting 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!
Received on Sunday, 10 November 2013 17:29:28 UTC