W3C home > Mailing lists > Public > www-rdf-logic@w3.org > May 2001

Re: N3 vs. XML

From: Sandro Hawke <sandro@w3.org>
Date: Fri, 18 May 2001 20:35:04 -0400
Message-Id: <200105190035.UAA07639@hawke.org>
To: jos.deroo.jd@belgium.agfa.com
cc: drew.mcdermott@yale.edu, www-rdf-logic@w3.org

> then "python cwm.py sensor.n3 -rdf" produces
> 
> <!-- Processed by Id: cwm.py,v 1.43 2001/05/15 21:50:35 timbl Exp -->
> <!--     using base file:/n3/sensor.n3-->#   Begining output.
> 
> <rdf:RDF xmlns:sensor="foo:sensor#"
>     xmlns:control="foo:control#"
>     xmlns="http://www.w3.org/2000/10/swap/log#"
>     xmlns:math="foo:math#"
>     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
> 
>     <rdf:Description>
>         <rdf:is rdf:parseType="Quote">
>             <rdf:Description rdf:about="foo:sensor#thermostat">
>                 <math:greaterThan>30</math:greaterThan>
>             </rdf:Description>
>         </rdf:is>
>         <implies rdf:parseType="Quote">
>             <rdf:Description rdf:about="foo:control#furnace">
>                 <control:setTo>1</control:setTo>
>             </rdf:Description>
>         </implies>
>     </rdf:Description>
> </rdf:RDF>

The problem is that parseType="Quote" is something Tim made up for
contexts, as far as I know.  Nothing can parse that RDF.  So that is
broken.   Thus my version....

     -- sandro
Received on Friday, 18 May 2001 20:35:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:45:38 UTC