--- a/test/unittest_spa2rql.py Sat May 29 10:33:57 2010 +0200
+++ b/test/unittest_spa2rql.py Sun May 30 01:54:12 2010 +0200
@@ -50,6 +50,14 @@
?project a doap:Project;
}''', 'Any PROJECT WHERE PROJECT is Project')
+ def test_base_rdftype(self):
+ self._test('''
+ PREFIX doap: <http://usefulinc.com/ns/doap#>
+ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+ SELECT ?project
+ WHERE {
+ ?project rdf:type doap:Project.
+ }''', 'Any PROJECT WHERE PROJECT is Project')
def test_base_attr_sel(self):
self._test('''