walidazizi / rdflib

Automatically exported from code.google.com/p/rdflib
Other
0 stars 0 forks source link

Does not use real SPARQL for RDFa test suite #144

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by vfaronov on 20 Sep 2010 at 12:59

Attachments: