Hey all, I've been experimenting with mixing RDF with concepts from Topic Maps and XLink to help with "link overload" [1]. Well, it seems that the attribute, rdf:about, can be used to define (a reference to) a topic. What if I want to link to this reference with an XLink? Usually, one uses the attribute, xlink:label, to define a resource and, "xlink:href", [2] to link to it. It seems redundant to label a resource with a uri in the attribute rdf:about and then add the XLink property xlink:label pointing to the same uri, as in: <rdf:Description rdf:about="#salad" xlink:type="resource" xlink:label="salad" /> <rdf:Description rdf:about="#bar" xlink:type="resource" xlink:label="bar" /> <rdf:Description rdf:about="#foo"> <q:link parsetype="Resource" xlink:type="arc" xlink:from="#salad" xlink:to="#bar" /> </rdf:Description> Note that the xlink:type property can be automatically added with additions to the DOCTYPE. Is there a less verbose way of doing this? -- James F. Cerra [1] When the number and organization of hypertext documents for a static web page becomes extremely complicated and a pain in the ass to maintain, then I call the site "link overloaded." [2] Or one could use the XLink attributes, "to", "from", "role", "arcrole", and etcetera.Received on Friday, 18 April 2003 23:41:41 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:58 GMT