SPARQL-code for riders that have no english Wikipedia article
import pywikibot
from pywikibot import pagegenerators as pg

with open('pka-query2.rq', 'r') as query_file:
    QUERY = query_file.read().replace('\n', '')
print(QUERY)

site = pywikibot.Site("wikidata", "wikidata")
#repo = site.data_repository()

#QUERY = "SELECT ?item WHERE { ?item rdfs:label 'Google'@en }"
generator = pg.WikidataSPARQLPageGenerator(QUERY, site=site)

list_problem = []
list_problem_names = []
list=[]
for item in generator:
    #print(item.id)
    list.append(item.id)
    
#print(list)
num = 0
for page in list:
    num = num + 1
print('{} items in list'.format(num))
Main programm
import pywikibot
import time

site_WD = pywikibot.Site("wikidata", "wikidata")
repo_WD = site_WD.data_repository()

out=[]
num = 0
for page in list:
    num = num + 1
print('{} items in list'.format(num))

end = False
for index, page in enumerate(list):
    item_WD = pywikibot.ItemPage(repo_WD, list[index])

    lang = 'es'
    item_WD_dict = item_WD.get()
    clm_WD_dict = item_WD_dict["labels"] # dict_keys(['sitelinks', 'claims', 'aliases', 'descriptions', 'labels'])

    site = pywikibot.Site(lang, "wikipedia")
    try:
        page = pywikibot.Page(site, item_WD_dict["labels"][lang])
        item = pywikibot.ItemPage.fromPage(page)
    except:
        #print(index, list[index], 'OK')
        out.append(list[index])
    else:
        print(index, lang, ':', item_WD_dict["labels"][lang], list[index], item.id)
        elem = False
        for item in list_problem:
            #print(item)
            if list[index] == item:
                elem = True
        if elem == False:
            list_problem.append(list[index])
            list_problem_names.append(item_WD_dict["labels"][lang])
    
    #time.sleep(0.25)   
    if index == 999:
        print('1000 done')
        end = True
        break

# lösche aus Liste list alle Elemente der Liste out
for element in out:
    list.remove(element)

if end == False:
    print('all done')
num = 0
for page in list_problem_names:
    num = num + 1
print('{} items in list'.format(num))
#for item in list_problem:
#    print('[['+item+']]', end=' ')

#print()    

for item in list_problem_names:
    print('[['+item+']]', end=' ')
        
list_problem_names.remove('Émile Joly')
WhatLinksHere
import pywikibot

from pywikibot import pagegenerators as pg

site = pywikibot.Site("es", 'wikipedia')
out2=[]
num = 1
for item in list_problem_names:
    #print(item)
    tmpl_page = pywikibot.Page(site, item) #"Émile Joly")
    ref_gen = pg.ReferringPageGenerator(tmpl_page)
    filter_gen = pg.NamespaceFilterPageGenerator(ref_gen, namespaces=[0])
    tmpl_gen = site.preloadpages(filter_gen, pageprops=True)
    
   
    for page in tmpl_gen:
        try:
            item_2 = pywikibot.ItemPage.fromPage(page)
            #print(page.title(), item.getID())
        except:
             # lösche aus Liste list_problem_names alle Elemente der Liste out2
            for element in out2:
                try:
                    list_problem_names.remove(element)
                except:
                    print('error 2', element)
                    out2.remove(element)                
       
        item_dict = item_2.get()
        clm_dict = item_dict["claims"]
        go = False
        try:
            clm_list = clm_dict["P641"]

            for clm in clm_list:
                clm_trgt = clm.getTarget()
                if clm_trgt.id == 'Q3609':
                    #print('-> Straßenradsport')
                    go = True
                elif clm_trgt.id == 'Q2215841':
                    #print('-> Radsport')
                    go = True

        except:
            a = 0
        if go == True:
            break
    #print(num, item)        
    if go == False:
        print(num, item, 'löschen')
        out2.append(item)
    if go == True:
        print(num, item, 'bleiben')
    num = num + 1
    if num == 150:
        print(num)
        #decision = input('beenden? (y/n): ')
        #if decision == 'y':
        #    break
        break
 

# lösche aus Liste list_problem_names alle Elemente der Liste out2
for element in out2:
    try:
        list_problem_names.remove(element)
    except:
        print('error 1', element)
        out2.remove(element)
print('all done')