W3C home > Mailing lists > Public > www-archive@w3.org > April 2004

Re: RDFQ paragraph in QL chapter

From: Chris Bizer <bizer@gmx.de>
Date: Thu, 15 Apr 2004 15:48:09 +0200 (MEST)
To: Patrick Stickler <patrick.stickler@nokia.com>, www-archive@w3.org <www-archive@w3.org>, ext Chris Bizer <chris@bizer.de>, Jeremy Carroll <jjc@hplb.hpl.hp.com>, phayes@ihmc.us
Message-ID: <4297.1082036889@www47.gmx.net>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:42 GMT