Question: How is Peter Horton husband of Michelle Pfeiffer related to the United States?
Choices:
seed team
interested in
country of citizenship
taxon rank
composer
basic form of government
given name
godparent
field of work
derivative work
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Horton" . ?e_3 <spouse> ?e_1 . ?e_3 <pred:name> "Michelle Pfeiffer" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Michelle Pfeiffer
function: Relate
dependencies: 0
inputs: spouse
forward
function: Find
inputs: Peter Horton
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4