W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > February 2002

Re: Parser mods to support rdf:dtype and rdf:lform

From: Patrick Stickler <patrick.stickler@nokia.com>
Date: Fri, 15 Feb 2002 13:27:45 +0200
To: ext Dave Beckett <dave.beckett@bristol.ac.uk>
CC: Brian McBride <bwm@hplb.hpl.hp.com>, RDF Core <w3c-rdfcore-wg@w3.org>
Message-ID: <B892BD51.EA2B%patrick.stickler@nokia.com>

Oops. The variants

  <dc:date rdf:value="2002-02-14" rdf:dtype="&xsd;date"/>

  <dc:date xsd:date="2002-02-14"/>

should produce different triples

  xxx dc:date _:1 .
  _:1 rdf:value "2002-02-14" .
  _:1 rdf:dtype xsd:date .  (note the URIref, not literal)

and

  xxx dc:date _:2 .
  _:2 xsd:date "2002-02-14" .

OK?

Patrick


On 2002-02-15 13:21, "ext Dave Beckett" <dave.beckett@bristol.ac.uk> wrote:

>>>> Patrick Stickler said:
>> On 2002-02-15 12:52, "ext Dave Beckett" <dave.beckett@bristol.ac.uk> wrote:
>> 
>> 
>>> Those bits of syntax generate different ntriples and if you want the
>>> latter to be the same as the former, parser changes will be needed.
>> 
>> No. They *should* generate different triples, since they are
>> different idioms. Their equivalence is logical, not syntactic.
> 
> You chopped out the bits of syntax I was refering to, so I have
> really no idea what you want now?  Do you want rdf:dtype to generate
> statements a URI value, when used as an attribute?  Is there
> something to do with rdf:lvalue that I'm missing?  etc.
> 
> Dave
> 

--
               
Patrick Stickler              Phone: +358 50 483 9453
Senior Research Scientist     Fax:   +358 7180 35409
Nokia Research Center         Email: patrick.stickler@nokia.com
Received on Friday, 15 February 2002 06:26:19 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:45:12 EDT