Question: What is the street address of the headquarters of American University of Beirut that is located in Beirut (that is the twinned administrative body of Quebec City)?
Choices:
66 West 12th Street, New York, NY, 10011-8603
1400 Washington Avenue, Albany, NY, 12222
1 Cunningham Square
Shin-Yurakucho Bldg., 12-1, Yurakucho 1-chome
University Parkway, Natchitoches, LA, 71497-0002
64 Mercer Street
2900 Bedford Ave
435 North Michigan Avenue
Riad El Solh, Ras Beirut
35 Stirling Hwy
Answer: Riad El Solh, Ras Beirut
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "American University of Beirut" . ?e_2 <pred:name> "Beirut" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Quebec City" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address_(DEPRECATED)> ?qpv .  }
Program:
function: Find
inputs: American University of Beirut
function: Find
inputs: Quebec City
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Beirut
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
located at street address (DEPRECATED)