
|
If you were logged in you would be able to see more operations.
|
|
Sesame
Created: 10/Sep/04 04:03 PM
Updated: 10/Jun/05 02:50 PM
|
|
| Component/s: |
SeRQL
|
| Affects Version/s: |
None
|
| Fix Version/s: |
1.1-RC1
|
|
|
Issue Links:
|
Dependency
|
|
|
|
This issue is a dependency for:
|
|
SES-156
Remove support for obsolete SeRQL syntax
|
|
|
|
|
|
We are contemplating a slight revision of SeRQL syntax to make queries easier to read/write and to be more 'compatible' with other approaches, such as RDQL and N3.
Most importantly, we would like to revise the syntax for URIs and Qnames. The current syntax is that a Qname (or abbreviated URI) is surrounded by '<' and '>', and a full URI is surrounded by '<!' and '>'.
Experience learns that many people tend to forget about the exclamation mark. Furthermore, N3 notation and RDQL allow qnames to be written without surrounding brackets. Our idea is to implement this approach for SeRQL as well, so URIs would be surrounded by '<' and '>', and qnames would not be surrounded by brackets at all.
Example: a query in the current SeRQL syntax:
select
*
from
{X} <rdf:type> {Y};
<foo:bar> {Z};
<!http://yet.another.namespace#baz> {W}
using namespace
foo = <!http://www.foo.com/bar#>
Would become in the newly revised syntax:
select
*
from
{X} rdf:type {Y};
foo:bar {Z};
<http://yet.another.namespace#baz> {W}
using namespace
foo = <http://www.foo.com/bar#>
(See http://www.openrdf.org/forum/mvnforum/viewthread?thread=97 )
|
|
I have checked in a backward-compatible fix for the SeRQL query parser. The engine now accepts queries in both syntaxes.
From Sesame 1.2 RC1 onwards, the old syntax is no longer accepted by the query engine.
|
|