You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Don Pellegrino (JIRA)" <ji...@apache.org> on 2012/09/11 15:57:07 UTC

[jira] [Created] (JENA-320) Unexpected result from SPARQL Tutorial - Filters

Don Pellegrino created JENA-320:
-----------------------------------

             Summary: Unexpected result from SPARQL Tutorial - Filters
                 Key: JENA-320
                 URL: https://issues.apache.org/jira/browse/JENA-320
             Project: Apache Jena
          Issue Type: Bug
          Components: TDB, Web site
    Affects Versions: Jena 2.7.3, TDB 0.9.3, ARQ 2.9.3
         Environment: $ 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)

$ lsb_release -a
LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description:    CentOS release 5.5 (Final)
Release:        5.5
Codename:       Final
            Reporter: Don Pellegrino


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/> |
---------------------------------

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (JENA-320) Unexpected result from SPARQL Tutorial - Filters

Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JENA-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-320.
--------------------------------

       Resolution: Fixed
    Fix Version/s: Jena 2.7.4
         Assignee: Andy Seaborne

Thanks.

The data file was wrong (I can't see how it happened though) -- now fixed and republished.
                
> Unexpected result from SPARQL Tutorial - Filters
> ------------------------------------------------
>
>                 Key: JENA-320
>                 URL: https://issues.apache.org/jira/browse/JENA-320
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: TDB, Web site
>    Affects Versions: ARQ 2.9.3, TDB 0.9.3, Jena 2.7.3
>         Environment: $ 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)
> $ lsb_release -a
> LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
> Distributor ID: CentOS
> Description:    CentOS release 5.5 (Final)
> Release:        5.5
> Codename:       Final
>            Reporter: Don Pellegrino
>            Assignee: Andy Seaborne
>             Fix For: Jena 2.7.4
>
>
> 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/> |
> ---------------------------------

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (JENA-320) Unexpected result from SPARQL Tutorial - Filters

Posted by "Don Pellegrino (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JENA-320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13454072#comment-13454072 ] 

Don Pellegrino commented on JENA-320:
-------------------------------------

Thanks, it is now working as expected.
                
> Unexpected result from SPARQL Tutorial - Filters
> ------------------------------------------------
>
>                 Key: JENA-320
>                 URL: https://issues.apache.org/jira/browse/JENA-320
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: TDB, Web site
>    Affects Versions: ARQ 2.9.3, TDB 0.9.3, Jena 2.7.3
>         Environment: $ 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)
> $ lsb_release -a
> LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
> Distributor ID: CentOS
> Description:    CentOS release 5.5 (Final)
> Release:        5.5
> Codename:       Final
>            Reporter: Don Pellegrino
>            Assignee: Andy Seaborne
>             Fix For: Jena 2.7.4
>
>
> 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/> |
> ---------------------------------

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (JENA-320) Unexpected result from SPARQL Tutorial - Filters

Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JENA-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne closed JENA-320.
------------------------------

    
> Unexpected result from SPARQL Tutorial - Filters
> ------------------------------------------------
>
>                 Key: JENA-320
>                 URL: https://issues.apache.org/jira/browse/JENA-320
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: TDB, Web site
>    Affects Versions: ARQ 2.9.3, TDB 0.9.3, Jena 2.7.3
>         Environment: $ 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)
> $ lsb_release -a
> LSB Version:    :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
> Distributor ID: CentOS
> Description:    CentOS release 5.5 (Final)
> Release:        5.5
> Codename:       Final
>            Reporter: Don Pellegrino
>            Assignee: Andy Seaborne
>             Fix For: Jena 2.7.4
>
>
> 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/> |
> ---------------------------------

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira