Question: What is the street address of American University of Beirut's headquarters located in Beirut (the one that is the twinned administrative body of Yerevan)?
Choices:
400 Main Building, Notre Dame, IN, 46556
6 ADB Avenue, Mandaluyong City 1550, Metro Manila, Philippines
Riad El Solh, Ras Beirut
501 Aldrich Hall, Irvine, CA, 92697
5241 N. Maple Ave.
3009 Broadway
6100 S Main, Houston, TX, 77005-1827
Oxford, Mississippi, University, MS, 38677-1848
801 National Rd West, Richmond, IN, 47374-4095
503 Thompson Street, Ann Arbor, MI, 48109
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_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Yerevan" . ?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: Yerevan
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Beirut
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
located at street address (DEPRECATED)