W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > November 2001

RE: incomplete datatyping (was: Re: datatypes and MT)

From: <Patrick.Stickler@nokia.com>
Date: Wed, 7 Nov 2001 10:07:44 +0200
Message-ID: <2BF0AD29BC31FE46B7887732114404316216F1@trebe003.NOE.Nokia.com>
To: melnik@db.stanford.edu, phayes@ai.uwf.edu
Cc: w3c-rdfcore-wg@w3.org

> > If we are going to use bnodes, I would rather write this as:
> > 
> > _x rdf:type ComplexNumber
> > _x realPart _:y1
> > _x imaginaryPart _:y2
> > _:y1 xsd:number "1.0"
> > _:y2 xsd:number "2.0"
> 
> I'd prefer this representation too, not doubt.

But aren't you confusing data type with property here?

Shouldn't it rather be:

  _x rdf:type ComplexNumber
  _x realPart _:y1
  _x imaginaryPart _:y2
  _:y1 rdf:value  "1.0"
  _:y1 rdf:type xsd:number
  _:y2 rdf:value "2.0"
  _:y2 rdf:type xsd:number

or better yet
 
  _x rdf:type ComplexNumber
  _x realPart _:y1
  _x imaginaryPart _:y2
  _:y1 rdf:value  "1.0"
  _:y1 rdf:type xsd:float
  _:y2 rdf:value "2.0"
  _:y2 rdf:type xsd:float

???

Patrick
Received on Wednesday, 7 November 2001 03:07:56 EST

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