[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: RDDL/RDF - no RDF tax?


rdf vs rddl
Uche,

thanks for parsing that, it looks like your parser wants an rdf:ID="XSD"
rather than ID="XSD" ... shame on you since you brought that issue up (ID vs
rdf:ID), also I forgot the rdf:parseType="Literal" on the <rddl:prose>
property.

In any case since the new http://www.w3.org/TR/rdf-syntax-grammar/ is Nov 8,
2002 we can't be too picky that you've not updated your parser :-)))

Jonathan
>
> All I had to do was add a namespace:
>
> uogbuji@malatesta:~$ cat rddl.rdf
> <rddl:resource ID="XSD" xmlns:rddl="http://www.rddl.org/RDDL2">
>     <rddl:title>XML Schema</rddl:title>
>     <rddl:nature resource="http://www.w3.org/2001/XMLSchema"/>
>     <rddl:purpose
> resource="http://www.rddl.org/purposes#schema-validation"/>
>     <rddl:related resource="http://example.org/L.xsd"/>
>     <rddl:prose>
>         <p>An XML Schema for the L language .</p>
>     </rddl:prose>
> </rddl:resource>
> uogbuji@malatesta:~$ 4rdf rddl.rdf
> The following is a list of remaining tuples, each in the form "subject,
> predicate, object".  If a resource has an rdfs:label, it is presented with
> this label between angle brackets.
> [
> ("ANON-1", "<rdf:type>", "http://www.rddl.org/RDDL2resource"),
> ("ANON-1", "http://www.rddl.org/RDDL2title", "XML Schema"),
> ("ANON-1", "http://www.rddl.org/RDDL2nature",
"http://www.w3.org/2001/XMLSchema
> "),
> ("ANON-1", "http://www.rddl.org/RDDL2purpose",
"http://www.rddl.org/purposes#sc
> hema-validation"),
> ("ANON-1", "http://www.rddl.org/RDDL2related",
"http://example.org/L.xsd"),
> ("ANON-2", "<rdf:type>", "file:/home/uogbuji/p"),
> ("ANON-1", "http://www.rddl.org/RDDL2prose", "ANON-2"),
> ]
>
>
> Not the hint of a problem.
>
> The "cruft" that people complain of in RDF/XML is only there for
relatively
> complex situations.  For pretty simple uses such as RDDL or even HTML
meta-tag
> equivalents, RDF can be as simple as you please.
>
> Well, just one thing.  If you wish to embed RDF in other vocabs, you
usually
> have to have an rdf:RDF wrapper element, but that's hardly a "tax".
>
>
> --
> Uche Ogbuji                                    Fourthought, Inc.
> http://uche.ogbuji.net    http://4Suite.org    http://fourthought.com
> Python&XML column: 2. Introducing PyXML -
http://www.xml.com/pub/a/2002/09/25/p
> y.html
> The Past, Present and Future of Web Services 1 -
http://www.webservices.org/ind
> ex.php/article/articleview/663/1/24/
> The Past, Present and Future of Web Services 2 -
'http://www.webservices.org/in
> dex.php/article/articleview/679/1/24/
> Serenity through markup - http://adtmag.com/article.asp?id=6807
> Tip: Using generators for XML processing -
http://www-106.ibm.com/developerwork
> s/xml/library/x-tipgenr.html
>
>
>
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
>
> The list archives are at http://lists.xml.org/archives/xml-dev/
>
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>
>


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.