[
https://issues.apache.org/jira/browse/JENA-637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895637#comment-13895637
]
ASF subversion and git services commented on JENA-637:
------------------------------------------------------
Commit 1566060 from [~andy.seaborne] in branch 'jena/trunk'
[ https://svn.apache.org/r1566060 ]
JENA-637 : Explicit rdfs:member code did not pass through the input binding as
parent to results.
> Results differents for the same query in theory
> -----------------------------------------------
>
> Key: JENA-637
> URL: https://issues.apache.org/jira/browse/JENA-637
> Project: Apache Jena
> Issue Type: Bug
> Components: Fuseki
> Affects Versions: Fuseki 1.0.1
> Environment: Centos 6.5
> Reporter: Karima Rafes
>
> Hi
> I try to test Fuseki and I found a strange bug. You can test this problem
> with these commands. After the insert, you can see two identical query in
> theory but their results are differents.
> Bye
> Karima
> {noformat}
> curl -v -H "Content-type: application/x-www-form-urlencoded" \
> -H "Accept: application/sparql-results+xml" -X POST \
> --data-urlencode \
> 'update=
> prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
> INSERT DATA { GRAPH <locale:s> {
> <locale:syntax-service-01.rq> rdf:resource
> <http://example.com/sparql11-test-suite/syntax-fed/syntax-service-01.rq> .
> <http://example.com/sparql11-test-suite/syntax-fed/syntax-service-01.rq>
> rdfs:member <http://example.com/sparql11-test-suite/syntax-fed> .
> }}' \
> http://localhost:3030/tests/update
> {noformat}
> {noformat}
> curl -v -H "Accept: application/sparql-results+xml" \
> --data-urlencode \
> 'query=prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
> select * where {
> GRAPH ?g { ?queryTest rdf:resource ?queryTestHref.
> ?queryTestHref rdfs:member ?queryTestBase. }}' \
> http://localhost:3030/tests/query
> {noformat}
> {noformat}
> curl -v -H "Accept: application/sparql-results+xml" \
> --data-urlencode \
> 'query=prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
> select * where { GRAPH ?g {
> ?queryTestHref rdfs:member ?queryTestBase.
> ?queryTest rdf:resource ?queryTestHref. }}' \
> http://localhost:3030/tests/query
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)