1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Ticket #520 (closed defect: fixed)

Opened 14 months ago

Last modified 14 months ago

CONSTRUCT WHERE shortcut

Reported by: thompsonbry Owned by: thompsonbry
Priority: major Milestone: Query
Component: Bigdata RDF Database Version: BIGDATA_RELEASE_1_1_0
Keywords: Cc: mrpersonick

Description

The CONSTRUCT WHERE shortcut is failing when the ground triple was in the database.

Change History

Changed 14 months ago by thompsonbry

  • status changed from new to closed
  • resolution set to fixed
  • The includeInferred attribute was not being passed through for UPDATE. It is now.
  • Bug fix for CONSTRUCT WHERE shortcut. Added new test cases for this. Fix was to the BigdataExprBuilder?. It now generates the CONSTRUCT template from the WHERE clause if none was given. This should also fix some of the negative parser tests which were failing. Also fixed a problem where a CONSTRUCT query could visit a Statement in the template even though the WHERE clause failed. The template ground triples are now output only if the WHERE clause succeeds (at least one solution, even if it is empty). Also, fixed a related bug in the SPARQL UPDATE "DELETE WHERE" short cut pattern where it was failing to clone the StatementPatternNode?.
  • Added getStatements() to the RemoteRepository?. It is excercised by the SPARQL UPDATE test suite.
  • Built out the SPARQL UPDATE test suite for QUADS. We are still lacking a test suite for TRIPLEs and SIDs. There is also no unit test yet for LOAD.
  • Added documentation for SPARQL 1.1 UPDATE support to the Wiki.

@see http://sourceforge.net/apps/mediawiki/bigdata/index.php?title=NanoSparqlServer
@see http://sourceforge.net/apps/trac/bigdata/ticket/448 (SPARQL 1.1 UPDATE)
@see http://sourceforge.net/apps/trac/bigdata/ticket/520 (CONSTRUCT WHERE shortcut)

Committed revision r6170.

Note: See TracTickets for help on using tickets.