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

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 UTC