Re: RDFQ paragraph in QL chapter

Hi Patrick,

> >
> > \section{Query Languages}
> > There are currently two query languages for Named Graphs:
> > RDFQ~\cite{StricklerRDQL}
>
> {SticklerRDFQ} ?

32. P. Strickler. RDFQ. http://sw.nokia.com/rdfq/RDFQ.html, 2004

>
> > uses an RDF vocabulary to structure
> > queries
>
> -> uses an RDF vocabulary to express queries and query results in RDF.
>
> > . Queries can be constrained to Named Graphs matching one
> > or more graph templates.
>
> The following RDFQ query (serialized using Turtle~\cite{turtle})
> identifies
> resources created after February 2nd 2004, and is restricted to
> statements
> occurring in graphs asserted by John Doe:
>
> \begin{rdfenv}
> @prefix :     <http://sw.nokia.com/RDFQ-1/> .
> @prefix swp:  <http://www.w3.org/2004/03/trix/swp-1/> .
> @prefix xsd:  <http://www.w3.org/2001/XMLSchema#> .
> @prefix dc:   <http://purl.org/dc/elements/1.1/> .
> @prefix foaf: <http://xmlns.com/foaf/0.1/> .
>
> [:graph  [swp:assertedBy [swp:authority [foaf:email
> <mailto:john.doe@example.org>]]];
>   :target [dc:created [:gt "2004-02-02"^^xsd:date]]].
> \end{rdfenv}
>
> The query is evaluated by first isolating all graphs matching the
> specified graph
> template, and then applying the target template to identify the
> resources of interest.
>

Wouldn't it be nice, if you would use the same query as I did with TriQL
based on the TriG example from Section 3. Then people could easily compare
both languages.

Chris

> >
> > TriQL~\cite{BizerTriQL} is a graph ...
>
>
> How's that?
>
> Patrick
>
>
> --
>
> Patrick Stickler
> Nokia, Finland
> patrick.stickler@nokia.com
>
>
>

-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/info

Received on Thursday, 15 April 2004 09:49:54 UTC