Open issues

Incorrect variable bindings with subqueries
SES-2248
Provide utility methods for IRI validation
SES-2191
Results of aggregations in service calls are not included in the inner query projections
SES-2189
TupleQuery evaluation using aggregates does not respect max query time
SES-1892
SPARQL 1.1 Conformance test subquery/sq03 fails
SES-937
URI comparisons should be case-insensitive on the URI scheme portion
SES-649
spatial4j 0.6
SES-2395
Inline editing in the workbench of a literal object
SES-2387
Delete a statement by selection
SES-2386
Workbench not prepared for multiple instances of Sesame Server
SES-2385
Summary Timeout on sesame server on SanDisk
SES-2384
Send single Accept header with comma-separated values
SES-2383
StatementAdded/Removed events for duplicate events in same txn
SES-2382
Sesame shouldn't get the repository in the interceptor if the current request is a DELETE
SES-2381
Sparql session is using the old way of passing parameters to the httpclient
SES-2379
A transaction may expire while processing an update that takes longer than 'sesame.server.txn.registry.timeout' seconds
SES-2378
GroupIterator handleClose doesn't close the internal iterator from buildEntries
SES-2370
SPARQLRepository SparqlSession should have a configurable MAXIMUM_URL_LENGTH
SES-2369
SPARQLRepository blocks indefinitely when there are no connections available in the pool
SES-2368
Add option to have NTriples and NQuads parser process relative IRIs
SES-2367
TupleQueryResult deadlocks within hasNext()
SES-2362
Query result iterators should be closed when their connections are closed
SES-2355
Add a ModelBuilder
SES-2354
Make Iteration classes extends java.util.Iterator / java.lang.Iterable
SES-2353
Sesame 2.8.4+ memory store performance on bulk adds
SES-2351
Add queue that periodically cleans up inactive/non-closed QueryResults
SES-2345
Allow custom virtual properties
SES-2343
BNode identity lost when working on SPARQLRepository
SES-2339
projection is duplicated in property paths
SES-2320
Reuse IRI objects for commonly used datatypes
SES-2319
Stackoverflow in aggregate handling
SES-2306
Support Linked Data Patch Format
SES-2293
Redesign SailModel to support AutoCloseable
SES-2292
RDFStoreTest.testMultiThreadedAccess may be silently failing
SES-2289
QueryJoinOptimizer breaks ordering of dependent statements
SES-2275
Exception in NativeStore under parallel transaction handling
SES-2272
Document known JAXP entity expansion limit and workaround
SES-2266
BIND with type errors result leads to cross joins instead of empty result
SES-2250
MapDB-based SAIL
SES-2227
Add configurable size limit on request payload
SES-2218
Loss of bound values for variables assigned in a SERVICE graphPattern
SES-2209
SparqlQueryRenderer does not support SPARQL 1.1
SES-2206
Use try-with-resources for RepositoryConnection uses
SES-2194
Provide support for SPARQL 1.1 entailment regimes in inferencing stores
SES-2178
Statement's context is not justified by SPARQLConnection#add
SES-2175
Sesame POMs do not play nicely with gradle
SES-2168
Allow SAIL to inspect/process unparsed query at prepareQuery stage
SES-2162
possible error parsing long unicode escape sequences
SES-2161
Calling HEAD on Graph protocol is not graph specific
SES-2153
Improve documentation on configuring Sesame users/privileges and Workbench saved queries
SES-2146
issue 1 of 248

Incorrect variable bindings with subqueries

Description

Hi Jeen,

I could reproduce the behaviour for https://openrdf.atlassian.net/browse/SES-2099 with a much simpler query; you'll see that each result binds ct01 with a different bnode.

1 2 3 4 5 6 7 8 SELECT * WHERE { BIND (bnode() as ?ct01) { SELECT ?s WHERE { ?s ?p ?o . } LIMIT 10 } }

If I'm not mistaken, the query should be equivalent with this one which actually works as expected :

1 2 3 4 5 SELECT * WHERE { BIND (bnode() as ?ct01) ?s ?p ?o . } LIMIT 10

meaning the algebra should first create a SingetonSet then extend it with the BIND and only then do the join so the variable ct01 should be bound to the same bnode for each result of the subquery.

So it seems that evaluating the subquery first (which is indeed required by the recommendation) does not respect the evaluation or join orders of the preceding graph patterns.

Environment

None

Status

Assignee

JeenB

Reporter

Max

Labels

Components

Affects versions

2.8.3

Priority

Critical