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

RE: after-hours conversation (#literal-as-resources #literal-is-xml-structure #xmllang #graph #identity-anon-resources #literal-subjects)

From: Pat Hayes <phayes@ai.uwf.edu>
Date: Mon, 15 Oct 2001 17:16:35 -0500
Message-Id: <p0510100ab7f10f6cedd9@[]>
To: "Ron Daniel" <rdaniel@interwoven.com>
Cc: w3c-rdfcore-wg@w3.org
>Pat Hayes said:
>>  [Ron Daniel said]
>>  >2) In RDF 2, let each occurrence of a literal be a prince/b/whatever_node,
>>  >    identified in whatever way we decide to handle the things we used to
>>  >    call anonymous resources.
>>  I don't like that. I want to label the node with the literal itself,
>>  just like we do now, not be forced into writing two nodes where one
>>  will do.
>How would we tell the difference between homographs (e.g. 2001-10
>as a month vs. an integer expression)?

See Peter's suggestion, by using rdfs:range, for example. Or, if 
literals could be subjects, by using rdf:type directly.

First way:

aaa integerproperty "200110"
integerproperty rdfs:range xsd:integer

second way (using Ntriples++)

aaa someproperty _:node1:"200110"
_:node1 rdf:type xsd:integer

>So presumably if we have multiple "lll" literals, we would
>distinguish them with
>etc. ?

Right, exactly. See 

If you didn't need to distinguish them, you don't need to do this, 
but it would be an option.

IHMC					(850)434 8903   home
40 South Alcaniz St.			(850)202 4416   office
Pensacola,  FL 32501			(850)202 4440   fax
Received on Monday, 15 October 2001 18:16:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:24:05 UTC