Question: What is the street address of the headquarters location of McMaster University in Hamilton (the one that is the twinned administrative body of Flint) ?
Choices:
103 Allen Bldg, Durham, NC, 27708
1073 N Benson Rd, Fairfield, CT, 06824-5195
Carter Hall - Rm 4000, Greeley, CO, 80639
1280 Main Street West
500 Speight Ave., Waco, TX, 76798
1570 Baltimore Pike, Lincoln University, PA, 19352-0999
5115 Hampton Blvd, Norfolk, VA, 23529
College and Louther Streets, Carlisle, PA, 17013-2896
Rapenburg 70
1100 Avenue Of The Americas
Answer: 1280 Main Street West
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "McMaster University" . ?e_2 <pred:name> "Hamilton" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Flint" . ?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: McMaster University
function: Find
inputs: Flint
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Hamilton
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
located at street address