Question: How is the John Carter born as John Nicholas Shakespeare related to the United Kingdom?
Choices:
distribution
continent
mother
is a list of
architect
original language of film or TV show
movement
country of citizenship
sidekick of
country for sport
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Carter" . ?e_1 <birth_name> ?pv . ?pv <pred:value> "John Nicholas Shakespeare" . ?e_2 <pred:name> "United Kingdom" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Carter
function: FilterStr
dependencies: 0
inputs: birth name
John Nicholas Shakespeare
function: Find
inputs: United Kingdom
function: QueryRelation
dependencies: 1
2