Question: At which street address is the HQ of the London School of Economics in London, located on the European continent?
Choices:
830 Westview Dr SW
660 Parrington Oval
Woodstock Road
430 S Michigan Ave, Chicago, IL, 60605-1394
4513 Manhattan College Parkway, Riverdale, NY, 10471-4098
Нью-Йорк
11200 S.W. 8th Street
700 University Avenue, Monroe, LA, 71209-0000
Houghton Street
1600 Grand Ave, Saint Paul, MN, 55105-1899
Answer: Houghton Street
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "London School of Economics" . ?e_2 <pred:name> "London" . ?e_2 <continent> ?e_3 . ?e_3 <pred:name> "Europe" . ?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: London School of Economics
function: Find
inputs: Europe
function: Relate
dependencies: 1
inputs: continent
backward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
located at street address (DEPRECATED)