first part of sparql rewrite test