Question: What is the street address of the Liberal Democrats's headquarter location is London (the one that is the death place of Rory Gallagher)?
Choices: Administration Bldg 600 Forbes Ave, Pittsburgh, PA, 15282
900 University Ave, Riverside, CA, 92521
1 Lomb Memorial Dr, Rochester, NY, 14623-5603
4 Great George Street
1726 Locust St, Philadelphia, PA, 19103
34th & Spruce Street, Philadelphia, PA, 19104-6303
200 Willoughby Ave, Brooklyn, NY, 11205
College Street
2101 West End Avenue, Nashville, TN, 37240
One College Drive, Bennington, VT, 05201-6003
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Liberal Democrats" . ?e_2 <pred:name> "London" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> "Rory Gallagher" . ?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: Liberal Democrats
function: Find
inputs: Rory Gallagher
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
located at street address
Answer: 4 Great George Street