W3C home > Mailing lists > Public > www-rdf-interest@w3.org > November 1999

Re: Simpler syntax for RDF / Counter-proposal

From: Simon Cox <simon.cox@ned.dem.csiro.au>
Date: Mon, 22 Nov 1999 09:39:51 +0800
Message-ID: <38389EE7.7797D32B@ned.dem.csiro.au>
To: caro@Adobe.COM
CC: www-rdf-interest@w3.org
This "simplification" is great for the cases where all the 
contained elements are in the same group, but if your elements 
are from more than one group, then a container mechanism is 


<rdf:Description about="" xmlns:dc="...">
               <rdf:li xml:lang="en-us">English Title</rdf:li>
               <rdf:li xml:lang="fr">French Title</rdf:li>
               <rdf:li xml:lang="en-us">Alternative English Title</rdf:li>
               <rdf:li xml:lang="fr">Alternative French Title</rdf:li>

Now this could be managed using by using Perry's simplification with 
repeated <dc:title> elements as the containers, but by then there is 
little gain.  

Natural language, algebra and traditional programming languages 
use parentheses &| braces for grouping pretty much anything.  
But the XML syntax says that all "operators" must have the form 
<something>, hence containers like <rdf:Alt> </rdf:Alt>, etc.  
They are just wordy parens, plus a little extra semantics ...

"Perry A. Caro" wrote:
> Questions: what about containers?  
>  I hope the
> answer isn't conversion to the rdf:_1, rdf:_2, etc. notation, which is no
> simplification if you ask me.
> >From a purely XSLT/XPath manipulation point-of-view, the simplification I'd
> like to see is something like the following:
>     <dc:title>
>         <rdf:Alt xml:lang="en-us">English Title</rdf:Alt>
>         <rdf:Alt xml:lang="fr">French Title</rdf:Alt>
>     </dc:title>

Best			Simon
Received on Sunday, 21 November 1999 20:47:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:44:21 UTC