W3C home > Mailing lists > Public > www-rdf-interest@w3.org > October 2003

RE: ANNOUNCEMENT: RDFStyles: alternative to XSLT for RDF

From: Leo Sauermann <leo@gnowsis.com>
Date: Thu, 30 Oct 2003 15:27:08 +0100
To: "'Emmanuel Pietriga'" <epietriga@yahoo.fr>, <www-rdf-interest@w3.org>
Message-ID: <000801c39ef1$e6bdc810$0501a8c0@ZION>

Yes, I misunderstood you.

I have not been coding XSL for the last year, so my brain got a little
fuzzy here.

> I think there is some kind of misunderstanding here. What you are 
> describing is, in my opinion, closer to what the following 
> would do for 
> XPath on an XML tree:
>   <xsl:apply-templates select="//*" />
> What I was considering was an equivalent of:
>   <xsl:apply-templates select="*" />
> which only selects children of the context node and thus limits the 
> scope of application of the XSLT instruction.
> The question is, can we even conceptually define an 
> equivalent of this 
> for a general directed graph?

Ok, for this we have to go deeper into existing work and should base on
What is "*" to an actual resource ?
perhaps something like Patrick Sticklers' "Concise Bounded Resource
Description" ?

In RDFTwig, the problem was solved with the "twig" or "branch" etc.
definitions, our "*" equivalent would be the "leaf" thing.
I have not used this yet and think, the syntax is a bit long. But the
idea in RDFTwig is very fine, a good combination of XSLT and RDF.

In Treehugger this would mean to select f.e. all properties of the
<xsl:value-of select="./foaf:name/text()"/>
will return the foaf:name property of the current node, in textual form.
I haven't found out exactly how to select all subnodes, but you will
generally do something like 

In RDFPath
this would go into the direction (out:-).
and I can't guess the correct syntax, I don't understand their paper
fully but it looks good. probably the "*" would be a "*" in their view.
vertic A - property b - Vertic C
(A is context)
"@*" i think selects C....

So there are a lot attempts to do the "*" selection and as Damian Steer
has pointed out in Section 5 of 
it is good to use some XPAth like syntax (RDFPath) and then convert it
to RDQL statemtnes, this approach sounds solid to me.

interesting topic !

Leo Sauermann

> Emmanuel
> -- 
> Emmanuel Pietriga (epietriga@nuxeo.com)
> tel (mobile): +33 6 88 51 94 98
> http://claribole.net
Received on Thursday, 30 October 2003 09:21:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:48 UTC