W3C home > Mailing lists > Public > semantic-web@w3.org > July 2007

Re: RDF+Transformation = XHTML or is there sth like inverse GRDDL?

From: Keith Alexander <k.j.w.alexander@gmail.com>
Date: Wed, 04 Jul 2007 14:52:32 +0100
To: "Jacek Kopecky" <jacek.kopecky@deri.org>, "Danny Ayers" <danny.ayers@gmail.com>
Cc: al@jku.at, semantic-web@w3.org
Message-ID: <op.tux0tuv063ayaz@keith-alexanders-computer.local>

On Wed, 04 Jul 2007 13:18:02 +0100, Jacek Kopecky <jacek.kopecky@deri.org>  
wrote:


> myself I was thinking about something like this in a SPARQL extension,
> which might be easier to standardize than FSL:
>
> CONSTRUCTXML
> <catalogue>
>   <product id="{?prodid}">
>     {CONSTRUCTXML
>       <part name="{?partname}"/>
>      WHERE { ?prodid hasPart ?partName }
>     }
>   </product>
> </catalogue>
> WHERE { ?prodid rdf:type Product }
>
> You see that it has to be recursive and that variable bindings have to
> be passed into the recursion, but that's about all the complexity in
> this extension.
>
>

That looks like it could be pretty handy, kind of like XQuery ? - I wonder  
if you could have a slightly different syntax to allow templating into a  
broader range of formats than XML (eg: JSON)?


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Received on Wednesday, 4 July 2007 13:57:16 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 07:41:58 UTC