W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > August 2011

Re 2: More specific proposal on the vocabulary expansion (a.k.a. vocab proxy) feature

From: Ivan Herman <ivan@w3.org>
Date: Wed, 10 Aug 2011 10:02:18 +0200
Cc: W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-Id: <2304050E-E1BC-47B1-9D30-E2605395AAD0@w3.org>
To: Gregg Kellogg <gregg@kellogg-assoc.com>
One more technical remark/answer

On Aug 4, 2011, at 20:10 , Gregg Kellogg wrote:

> More below:
> On Aug 4, 2011, at 9:33 AM, Ivan Herman wrote:

[snip]
>> 
>> - For all URI-s that appear as a value of a @vocab attribute in the RDFa source, that URI is dereferenced. If the dereferencing yields the serialization of an RDF graph, that graph is merged with the default graph. (RDFa processor MUST accept an RDF graph serialized in RDFa, SHOULD accept an RDF graph serialized in RDF/XML[REF] or Turtle[REF], and MAY accept other serialization formats of RDF.)
> 
> Need to guard against recursion here. At least to abort an attempt to import a graph that is already in the process of, or has already been imported.
> 

I think it is perfectly ok to say: if the important graph is encoded in RDFa, no RDFa-sem expansion will be done on THAT graph. The imported graph is supposed to be an RDFS ontology, authored by experts, so this requirement does not look like a major constraint. On the other hand, there is then no recursion; the only implementation point is that each vocab should be accessed only once even if used several times in the RDFa source, which is not a big deal.

Ivan

----
Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf
Received on Wednesday, 10 August 2011 08:00:23 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:19:52 UTC