RDFLib/rdflib — Issue #134: Does not use real SPARQL for RDFa test suite
Author: gjhiggins
Created: 2012-02-20 08:33:31+00:00
State: open

vfaronov, 2010-09-20T12:59:02.000Z

run_w3c_rdfa_testsuite.py does not use a real SPARQL engine for answering the ASK queries as part of the RDFa test suite. Instead, it always uses an ad-hoc routine for extracting graph patterns. Apparently it wasn't adjusted when SPARQL support was moved to rdfextras.

The following patch adds SPARQL(rdfextras) support back to this test suite, which makes TC #105 and #106 pass, hence they are removed from KNOWN_ISSUES. It leaves the ability to fall back to "_sparql_to_graphs" if real SPARQL doesn't work.