W3C home > Mailing lists > Public > www-rdf-interest@w3.org > May 2000

Re: Sirpac examples

From: Jan Wielemaker <jan@swi.psy.uva.nl>
Date: Tue, 30 May 2000 11:27:08 +0200
To: "ruan" <ruan@otcaix.iscas.ac.cn>, "RDF interest group" <www-rdf-interest@w3.org>
Message-Id: <00053011305000.09921@gollem>
On Tue, 30 May 2000, ruan wrote:

> I use SirPac parser. I can't understand the result of its 7th example. The rdf file is as following:
><?xml version="1.0"?>
><RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
>     xmlns:NIST="http://www.nist.gov/RDFschema/"
>     xmlns:m="http://www.w3.org/TR/REC-MathML#">
>  <Description about="http://www.some.org/publication.html">
>    <NIST:Title rdf:ParseType="Literal">Investigations of <m:mathml>e=m<m:sup>2</m:sup></m:mathml></NIST:Title>
>  </Description>
>The parsed result is as following:
>triple("http://www.nist.gov/RDFschema/Title","http://www.some.org/publication.html","Investigations of").
>triple("[DATA: e=m]","file:example7.rdf#genid2","file:example7.rdf#genid3").
>The "Title" property of resource http://www.some.org/publication.html has two values. one is "Investigation" , the other is "file:example7.rdf#genid2). Is it reasonable in real world? How does the rdf parser work?
>Thanks a lot if anybody could help me.

You use rdf:ParseType, but the standard says rdf:parseType.  This
forces the interpretation of the content of NIST:Title.  Actually
this turns it into illegal RDF.

	Regards --- Jan
Received on Tuesday, 30 May 2000 05:30:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:30 UTC