Some results set may not fit a single SPARQL query: what about massively read entities from the Wikidata dump?
An API to retrieve Wikidata entities mentioned in your texts, to classify, relate and enrich their meaning.