Ticket #22 (new enhancement)

Opened 2 years ago

Last modified 2 years ago

Make from clause optional

Reported by: andrae Assigned to: andrae
Priority: minor Milestone:
Component: Mulgara Version:
Keywords: Cc:

Description

Consider the following query:

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

Mandating from clauses is regularly redundant, and clutters the query.

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.