add debugging and stub sparql data reference support