Question: What is the street address of the HQ of the University of New Brunswick in Fredericton?
Choices:
North Virginia Street, Reno, NV, 89557
3 Bailey Drive
Stadionplein 4
237 High St, Middletown, CT, 06459
724 SW Harrison, Portland, OR, 97201
Pembroke Square
St Giles
28 Westhampton Way, University of Richmond, VA, 23173
124 Raymond Ave, Poughkeepsie, NY, 12604
5801 S Ellis Ave, Chicago, IL, 60637
Answer: 3 Bailey Drive
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of New Brunswick" . ?e_2 <pred:name> "Fredericton" . ?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: University of New Brunswick
function: Find
inputs: Fredericton
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
located at street address