Question: What is the street address of General Motors's headquarters in Detroit, the twinned administrative body of Bucharest?
Choices:
2000 University Ave, Muncie, IN, 47306
South Limestone, Lexington, KY, 40506-0032
3261 W. State Road, Saint Bonaventure, NY, 14778
1500 N Lombardy St, Richmond, VA, 23220
High St, Easton, PA, 18042-1768
2301 S 3rd St, Louisville, KY, 40292-0001
310 Administration Building, Stony Brook, NY, 11794
204 West Washington Street, Lexington, VA, 24450-2116
300 Renaissance Center
105 Main St., Thompson Hall, Durham, NH, 03824-3547
Answer: 300 Renaissance Center
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "General Motors" . ?e_2 <pred:name> "Detroit" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Bucharest" . ?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> ?qpv .  }
Program:
function: Find
inputs: General Motors
function: Find
inputs: Bucharest
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Detroit
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
located at street address