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

> > 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 UTC