W3C home > Mailing lists > Public > www-rdf-comments@w3.org > January to March 2001

Re: rdf:value backwards

From: Aaron Swartz <aswartz@upclink.com>
Date: Sat, 10 Mar 2001 19:41:00 -0600
To: <connolly@w3.org>
CC: <www-rdf-comments@w3.org>, RDF Logic <www-rdf-logic@w3.org>
Message-ID: <B6D033CC.24BA5%aswartz@upclink.com>
> RDF properties are sorta like OOP properties,
> and one of the most popular names for a "just give
> me the thing as a string" property is 'Value'
(snip)
> Probably a better choice would be toString

I don't know why I didn't notice this the first time it came around, but I'd
have to disagree. The spec gives the example:

                      /- n:units -> n:pounds
(anonymous resource) -
                      \- n:units -> "200"

or in N3:

[ rdf:value "200" ; n:units n:pounds .]

It seems to me that if you'd want to represent this as a string, you'd use
"200 pounds". I've also seen it suggested that use of rdf:value implies that
its children (i.e. all arcs off of it's subject) are qualifications of the
subject node. Under this interpretation, an anonymous node with the
following properties wouldn't make much sense:

  rdf:type :Band
  rdf:value "The Beatles"
  rdfs:seeAlso <http://www.thebeatles.com>
  :wroteSong "Hey, Jude"

since the Beatles website, the song "Hey, Jude", etc. are not qualifications
of the term "The Beatles". I believe that this should be cleared up by the
spec, and added to the issues list.

-- 
Aaron Swartz <me@aaronsw.com>| ...schoolyard subversion...
  <http://www.aaronsw.com>   |  because school harms kids
AIM: JediOfPi | ICQ: 33158237|  http://aaronsw.com/school/
Received on Saturday, 10 March 2001 20:40:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 September 2012 14:16:27 GMT