Project

General

Profile

Feature #112

CONSTRUCT SPARQL queries

Added by Paula Gearon almost 16 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Mulgara
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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.

Also available in: Atom PDF