Re: N3 vs. XML

> 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