Text this: Avoiding unproductive SPARQL queries through optimized indices