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

Re: literals as resources / completion of ACTION 2001-07-06 (dependencies)

From: Frank Manola <fmanola@mitre.org>
Date: Fri, 06 Jul 2001 15:28:43 -0400
Message-ID: <3B46116B.39C86C77@mitre.org>
To: rdf core <w3c-rdfcore-wg@w3.org>
Ron Daniel wrote:
> 
snip 
> But since we are discussing this anyway:
> 
snip
> As I mentioned on the call, I really worry that homographs are
> going to break this. As an example, if we have the string
> "2001-9" in RDF like:
>   <rdf:Description about="foo.txt">
>     <dc:date>2000-9</dc:date>
>     <x:arith_problem>2000-9</x:arith_problem>
>   </rdf:Description>
> 
> and make up a URI like
>   urn:data:literal:2001-9
> how do we indicate that one instance of the literal is to be typed
> as a date and another is to be typed as an expression that will
> evaluate to an integer? We can't just have the obvious
>   urn:data:literal:2001-9    rdf:type    foo:iso-8601
> 
> So, I don't think you can copy the string into the URI.

Ron--

A question about the above part of your response.  Don't we have the
same problem with typing these things whether the things are literals or
data-URIs?  In other words, if we use literals, the RDF example becomes
triples like (sorry if I've got the component orders wrong):

date          "foo.txt"    "2000-9"
arith_problem "foo.txt"    "2000-9"

while if we use URIs, the triples become: 

date          "foo.txt"    urn:data:literal:2001-9
arith_problem "foo.txt"    urn:data:literal:2001-9

Don't we have to separately attach any type information in either case
(presumably, via the schemas that define "date" and "arith_problem"
respectively)?  

--Frank

-- 
Frank Manola                   The MITRE Corporation
202 Burlington Road, MS A345   Bedford, MA 01730-1420
mailto:fmanola@mitre.org       voice: 781-271-8147   FAX: 781-271-8752
Received on Friday, 6 July 2001 15:29:17 EDT

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