Optimization for SPARQL initiization