Did {Rupert_Grint} {occupation} {actor} and {child actor} ?
What was Rupert Grint's occupation as a child?
Was Rupert Grint's occupation a actor and child actor?
ASK WHERE { resource:Rupert_Grint property:occupation resource:actor . resource:Rupert_Grint property:occupation resource:child_actor }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q19190> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q33999>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q19190> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q970153>. } 
ASK WHERE { wd:Q19190 wdt:P106 wd:Q33999 . wd:Q19190 wdt:P106 wd:Q970153 }