Feature #112

CONSTRUCT SPARQL queries

Added by Paula Gearon over 9 years ago. Updated almost 9 years ago.

Status:Closed Start date:
Priority:High Due date:
Assignee:Paula Gearon % Done:

0%

Category:Mulgara
Target version:SPARQL Query Engine
Resolution:fixed

Description

CONSTRUCT queries need to be implemented.

These are almost identical to SELECT. There are 2 differences:

1. Only 3 elements in the selection, and they need not be variables (this is OK in Query, though SPARQL SELECT does not expect it).

2. Variables in the selection clause need to be constrained:

a. variable subjects ($subj) should have a "minus $subj <rdf:type> <rdfs:Literal> in <sys:type>" appended to the WHERE clause.
b. variable predicates should have a "and $pred <rdf:type> <mulgara:URIReference> in <sys:type>" appended to the WHERE clause.

Item (2) can be delayed, though it will result in a non-compliant CONSTRUCT query.

History

Updated by Paula Gearon almost 9 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

Added in r1040 and r1046

Also available in: Atom PDF