I was playing around on Wikidata trying to write a simple SPARQL query against a known match. I can see from Arnold Schwartzeneggers page that his listed occupations include: Actor, Politician and Restaurater. When I write the simple query:
#Items that have occupations of actor AND politician AND restauratuer
SELECT ?item ?itemLabel WHERE {
?item wdt:P106 wd:Q33999.
?item wdt:P106 wd:Q82955.
?item wdt:P106 wd:Q3427922.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
it returns Clint Eastwood (who also has these occupations) but no Arnold. Can anyone point to any errors in this query?