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

Re: model theory and literals

From: Graham Klyne <Graham.Klyne@MIMEsweeper.com>
Date: Wed, 10 Oct 2001 23:39:07 +0100
Message-Id: <5.1.0.14.2.20011010233449.03ad2040@joy.songbird.com>
To: Pat Hayes <phayes@ai.uwf.edu>
Cc: w3c-rdfcore-wg@w3.org
At 04:46 PM 10/10/01 -0500, Pat Hayes wrote:
>>   [a Shoe] decimalSize [ a type:Integer ; rdf:value "10" ] ;
>>            sizeLabel   [ a type:String ;  rdf:value "10" ] .
>>
>>The intent here is that the first occurrence is mapped to an integer, and 
>>the second to a string.
>>
>>BUT, doesn't this depend in some way on the interpretation of 
>>type:Integer and type:String?
>
>Maybe. Actually I'm not sure how to parse that example. Is that two 
>triples or four triples?

Ah, sorry, I was using N3.  [...] encloses properties applied to a 
bNode.  "a" in property position is shorthand for rdf:type.

Let me expand the above to simple triples:

_:a rdf:type Shoe .
_:a decimalSize _:b .
_:a sizeLabel _:c .
_:b rdf:type type:Integer .
_:b rdf:value "10" .
_:c rdf:type type:String .
_:c rdf:value "10" .

#g


------------------------------------------------------------
Graham Klyne                    MIMEsweeper Group
Strategic Research              <http://www.mimesweeper.com>
<Graham.Klyne@MIMEsweeper.com>
------------------------------------------------------------
Received on Wednesday, 10 October 2001 19:12:25 EDT

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