Question: On what Prague street location is AC Sparta Prague's headquarter location (the one that is the capital of Holy Roman Empire)?
Choices: Milady Horákové
Spui
Sixth Avenue
H Street
Paseo del Prado
Broadway
Beekman Place
Volodymyrska Street, Kiev
Dominikánské náměstí
Per Henrik Lings Allé
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "AC Sparta Prague" . ?e_2 <pred:name> "Prague" . ?e_3 <capital> ?e_2 . ?e_3 <pred:name> "Holy Roman Empire" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_on_street> ?qpv .  }
Program:
function: Find
inputs: AC Sparta Prague
function: Find
inputs: Holy Roman Empire
function: Relate
dependencies: 1
inputs: capital
forward
function: Find
inputs: Prague
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
located on street
Answer: Milady Horákové