Did {Dragon_Ball_Z} {characters} {Krillin} and {Son Gohan} ?
Are Gohan and his father Krillin both Dragon Ball Z characters?
Are Krillin and Son Gohan Dragon Ball Z characters?
ASK WHERE { resource:Dragon_Ball_Z property:characters resource:Krillin . resource:Dragon_Ball_Z property:characters resource:Gohan }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q477916> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P674> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q757141>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q477916> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P674> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q752269>. } 
ASK WHERE { wd:Q477916 wdt:P674 wd:Q757141 . wd:Q477916 wdt:P674 wd:Q752269 }