Question: What is the marriage location of Michelle Pfeiffer who is the spouse of Peter Horton (who is a citizen of the United States of America)?
Choices:
Hampshire
Plaza Hotel
The Hamptons, Long Island AVA
Malabar Farm State Park
Southern California
Boulder
Manhattan Municipal Building
Saint Sophia's Church, Los Angeles
Glendale
Santa Monica
Program:
function: Find
inputs: Michelle Pfeiffer
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country of citizenship
backward
function: Find
inputs: Peter Horton
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: spouse
place of marriage
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Michelle Pfeiffer" . ?e_2 <pred:name> "Peter Horton" . ?e_2 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_1 <spouse> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_2 ] <place_of_marriage> ?qpv .  }
Answer: Santa Monica