W3C home > Mailing lists > Public > public-rdfa-wg@w3.org > April 2012

Re: Test 0197 / XHTML+RDFa1.1

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Sat, 28 Apr 2012 12:55:51 -0400
To: Alex Milowski <alex@milowski.com>
CC: W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-ID: <5CA164AB-2837-41E3-A6F4-4931C57E5A40@greggkellogg.net>
Looking at your results some more ...

On Apr 27, 2012, at 5:57 PM, Alex Milowski wrote:

> While I generate the correct triple tested by the ASK WHERE in the
> sparql, I also generate more:
> 
> <http://www.example.org/me>	<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>	<http://www.example.org/class/Person>

Note a valid triple, as <class/Person> MUST be an absolute IRI.

> <http://www.example.org/me>	<http://www.example.org/pred/name>	"Gregg Kellogg"

Same, <pred/name> is not an absolute IRI.

> <http://www.example.org/me>	<http://purl.org/dc/terms/language>	"Ruby"^^<http://www.example.org/pred/lang>

dc:terms is an absolute IRI.

> <http://www.example.org/me>	<http://www.example.org/pred/rel>	<http://kellogg-assoc.com/>

<pred/rel> is not an absolute IRI.

> <http://github.org/gkellogg/rdf_context>	<http://www.example.org/pred/rev>	<http://www.example.org/me>

<pred/rev> is not an absolute IRI.

> My test harness checks that the graphs are the same and not that a
> specific question is answered.  That way I know I'm not getting
> incorrect extra triples.

The correct result is only the triple

<http://www.example.org/me> dc:language "Ruby" .

> So... who's right for 0197?

Note that some processors implement other standards too, such as Role [1], so limiting the results can be problematic. It would be useful if the SPARQL could also say that some things should NOT exist, such as these specific other triples. If someone can figure that incantation out, we could update the expected results.

Gregg

> -- 
> --Alex Milowski
> "The excellence of grammar as a guide is proportional to the paucity of the
> inflexions, i.e. to the degree of analysis effected by the language
> considered."
> 
> Bertrand Russell in a footnote of Principles of Mathematics
> 
Received on Saturday, 28 April 2012 16:56:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 28 April 2012 16:56:41 GMT