OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] RDDL/RDF - no RDF tax?

[ Lists Home | Date Index | Thread Index ]

> On Sun, 17 Nov 2002 14:53:51 -0500, Jonathan Borden
> 
> > that XML makes the following assertions:
> >
> > <#foo> rdf:type rddl:resource .
> > <#foo> rddl:nature <http://example.org/nature> .
> > <#foo> rddl:nature <http://example.org/purpose> .
> > <#foo> rddl:nature <http://example.org/L.dtd> .
> > <#foo> rddl:prose "<p>A description of the 'L' language>"^^rdf:XMLLiteral 
> > .
> 
> How does the RDF processor know that the rddl:resource is an rdf:type?

By specification.  If you have

<foo:bar ID="A">
  <spam rdf:resource="monty"/>
  <eggs>python</eggs>
</foo:bar>

Then the RDF syntax specifies that foo:bar is a typed node, and this 
represents a resource, #A with rdf:type foo:bar, a spam property with 
resource-type property monty, and an eggs property with literal type value 
python.


-- 
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/py.html
The Past, Present and Future of Web Services 1 - http://www.webservices.org/index.php/article/articleview/663/1/24/
The Past, Present and Future of Web Services 2 - 'http://www.webservices.org/index.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/developerworks/xml/library/x-tipgenr.html






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS