add initial SPARQL extension code