Feature #22

Make from clause optional

Added by Andrae Muys - almost 13 years ago. Updated over 12 years ago.

Status:New Start date:
Priority:Normal Due date:
Assignee:Andrae Muys - % Done:

0%

Category:Mulgara
Target version:-
Resolution:

Description

 1 Consider the following query:
 2 <br/>
 3 
 4 <br/>
 5 select $type
 6 <br/>
 7     (select $s from &lt;server&gt; where $s &lt;rdf:type&gt; $type and $s &lt;p&gt; &lt;o&gt;)
 8 <br/>
 9 from &lt;server&gt;
10 <br/>
11 where $type &lt;mulgara:is&gt; &lt;test:Class&gt; ;
12 <br/>
13 
14 <br/>
15 Mandating from clauses is regularly redundant, and clutters the query.
16 <br/>
17 
18 <br/>
19 While from is the most common example, I have come across examples for every component of a itql query where they are redundant.  Apart from mandating the keyword 'select', to identify it as a query, we should probably make the rest of the query should be optional.
20 <br/>
21 

Also available in: Atom PDF