more debugging to SPARQLResourceImpl to determine source of error