erdf parser
From: =?ISO-8859-1?Q?Robert_Goen=E9?=
Subject: erdf parser
Date: Thu, 15 May 2008 23:37:13 +0200
Hi!
I am using ARC2's eRDF parser extensively and keep on discovering new =20=
and useful ways of using embedded rdf in plain html all the time.
I keep on running in the following issue: the parsing of the anchor =20
elements is not in conformance with the specification. The title =20
attribute or the element's content should be added as rdfs labels. =20
Without this feature, we cannot represent our everyday use of links =20
with rdf triples.
The erdf summary states the following:
"In addition, anchors generate triples with:
* a subject URI derived from the href attribute
* a predicate of rdfs:label
* a literal value equal to the value of the ''title' attribute =20
if present, or the string-value of the anchor element's content if =20
not." http://research.talis.com/2005/erdf/wiki/Main/=20
SummaryOfTripleProductionRules
I would even say that the title and the element's content should BOTH =20=
produce rdfs labels, as they both are ways of describing the hyperlink.
WYT?
Regards, Robert Goen=E9