Question: RMIT University has a headquarter location in Melbourne (the one with the local dialing code of 0392), what country is it a part of?
Choices:
Belgium
Slovakia
Prussia
Nepal
Australia
Kingdom of Bavaria
People's Republic of China
Argentina
Singapore
Iceland
Program:
function: Find
inputs: RMIT University
function: Find
inputs: Melbourne
function: FilterStr
dependencies: 1
inputs: local dialing code
0392
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "RMIT University" . ?e_2 <pred:name> "Melbourne" . ?e_2 <local_dialing_code> ?pv . ?pv <pred:value> "0392" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: Australia