Re: Test 0197 / XHTML+RDFa1.1

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 UTC