The "Testing Values" section of the Apache Jena "SPARQL Tutorial - Filters" page (http://jena.apache.org/tutorials/sparql_filters.html) does not produce the expected results.
I made sure to pull the example files from the site to ensure the issue was not due to typos in transcription: $ wget "http://jena.apache.org/tutorials/sparql_data/vc-db-2.rdf" --2012-09-04 10:47:20-- http://jena.apache.org/tutorials/sparql_data/vc-db-2.rdf Resolving jena.apache.org... 140.211.11.131, 192.87.106.229, 2001:610:1:80bc:192:87:106:229 Connecting to jena.apache.org|140.211.11.131|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1149 (1.1K) [application/rdf+xml] Saving to: `vc-db-2.rdf' 100%[=================================================================>] 1,149 --.-K/s in 0s 2012-09-04 10:47:20 (99.6 MB/s) - `vc-db-2.rdf' saved [1149/1149] $ wget "http://jena.apache.org/tutorials/sparql_data/q-f2.rq" --2012-09-04 10:48:03-- http://jena.apache.org/tutorials/sparql_data/q-f2.rq Resolving jena.apache.org... 140.211.11.131, 192.87.106.229, 2001:610:1:80bc:192:87:106:229 Connecting to jena.apache.org|140.211.11.131|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 148 [application/sparql-query] Saving to: `q-f2.rq' 100%[=================================================================>] 148 --.-K/s in 0s 2012-09-04 10:48:03 (990 KB/s) - `q-f2.rq' saved [148/148] I then used the following query command: $ sparql --data=vc-db-2.rdf --query=q-f2.rq ------------ | resource | ============ ------------ The Tutorial page indicates that the result should have been: --------------------------------- | resource | ================================= | <http://somewhere/JohnSmith/> | --------------------------------- Version commands returned: $ sparql --version Jena: VERSION: 2.7.3 Jena: BUILD_DATE: 2012-08-03T11:40:41-0700 ARQ: VERSION: 2.9.3 ARQ: BUILD_DATE: 2012-08-03T11:40:41-0700 $ java -version java version "1.6.0_16" Java(TM) SE Runtime Environment (build 1.6.0_16-b01) Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode) Please let me know if you have any suggestions for debugging this further.
