Did {Kelsey_Grammer} {given name} {Kelsey} and {Allen} ?
Are Kelsey and Allen names used by Kelsey Grammer?
Are Kelsey and Allen given names of Kelsey Grammer?
ASK WHERE { resource:Kelsey_Grammer property:given_name resource:Kelsey . resource:Kelsey_Grammer property:given_name resource:Allen }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q196560> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P735> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q16277805>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q196560> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P735> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q18118122>. } 
ASK WHERE { wd:Q196560 wdt:P735 wd:Q16277805 . wd:Q196560 wdt:P735 wd:Q18118122 }