Rewrote SPARQL builder using DCGs.
FIX: graph closure was not calculated correctly.
Retry HTTP goal after 5xx response.