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@[205.160.76.193]>
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
>_:1:lll
>_:2:lll
>etc. ?

Right, exactly. See 
http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2001Oct/0263.html

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

Pat
-- 
---------------------------------------------------------------------
IHMC					(850)434 8903   home
40 South Alcaniz St.			(850)202 4416   office
Pensacola,  FL 32501			(850)202 4440   fax
phayes@ai.uwf.edu 
http://www.coginst.uwf.edu/~phayes
Received on Monday, 15 October 2001 18:16:39 EDT

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