Did {Oscar_Wilde} {father} {William Wilde}?
Is Oscar Wilde William Wilde's son?
Is William Wilde the father of Oscar Wilde?
ASK WHERE { resource:Oscar_Wilde property:father resource:William_Wilde }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q30875> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P22> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q2540254>. } 
ASK WHERE { wd:Q30875 wdt:P22 wd:Q2540254 }