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: Fri, 27 Apr 2012 21:12:43 -0400
To: Alex Milowski <alex@milowski.com>
CC: W3C RDFWA WG <public-rdfa-wg@w3.org>
Message-ID: <99E40733-ECF2-4959-B58E-6780D1C6CACD@greggkellogg.net>
It's okay for a processor to generate more triples. That's one of the reason we use SPARQL to test the results rather than graph comparison.

Gregg

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>
> <http://www.example.org/me>	<http://www.example.org/pred/name>	"Gregg Kellogg"
> <http://www.example.org/me>	<http://purl.org/dc/terms/language>	"Ruby"^^<http://www.example.org/pred/lang>
> <http://www.example.org/me>	<http://www.example.org/pred/rel>	<http://kellogg-assoc.com/>
> <http://github.org/gkellogg/rdf_context>	<http://www.example.org/pred/rev>	<http://www.example.org/me>
> 
> 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.
> 
> So... who's right for 0197?
> 
> -- 
> --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 01:13:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 28 April 2012 01:13:26 GMT