Rename SPARQL grammar.
Refactor corresponding classes.