Pre-compiled sparql queries for determining bindings.

Whilst this query is only run once per conversion, if one were to run
multiple conversions consequtively, this will increase performance.