Avoiding unproductive SPARQL queries through optimized indices | Synapse