Project

General

Profile

Feature #22

Make from clause optional

Added by Andrae Muys - almost 16 years ago. Updated almost 16 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Mulgara
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

Description

Consider the following query:
<br/>

<br/>
select $type
<br/>
    (select $s from &lt;server&gt; where $s &lt;rdf:type&gt; $type and $s &lt;p&gt; &lt;o&gt;)
<br/>
from &lt;server&gt;
<br/>
where $type &lt;mulgara:is&gt; &lt;test:Class&gt; ;
<br/>

<br/>
Mandating from clauses is regularly redundant, and clutters the query.
<br/>

<br/>
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.
<br/>

No data to display

Also available in: Atom PDF