I'm trying to model something in RDF. I want to identify the URL of a web page, the URL of another that it links to, a link type representing the opinion of whoever created the link about the page they linked to (e.g. values of boring, fabulous, confusing from the namespace http://www.snee.com/ns/linktypes#), and an optional mailto URL of whoever assigned the type value. There must be a better way than this: <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:t="http://www.snee.com/ns/linktypes#" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:w="http://whatever/"> <rdf:Description rdf:about="http://glikk" w:citingPg="http://thnad" xhtml:rel="t:fabulous" w:attributedTo="mailto://joe@snee.com"/> <rdf:Description rdf:about="http://bar" w:citingPg="http://foo" xhtml:rel="t:boring" w:attributedTo="mailto://joe@snee.com"/> </rdf:RDF> I want to use existing attributes if possible, which is why I used xhtml:rel for the link type attribute. attributedTo is often used to show authorship in RDF tutorials, but I gather that it's just made up for the examples and not part of any namespace. Also, I want to keep the whole thing as terse as possible. Any suggestions for improvements? Bob DuCharme www.snee.com/bob <bob@ snee.com> "The elements be kind to thee, and make thy spirits all of comfort!" Anthony and Cleopatra, III ii (NOTE: bobdc e-mail address used only for mailing lists; please send private e-mail to bob@)Received on Thursday, 24 April 2003 22:58:53 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:20:08 GMT