Question: What country does Belgrade, where Novak Djokovic lives, belong to?
Choices:
Scotland
Confederation of the Rhine
worldwide
Costa Rica
Thailand
Saxe-Weimar-Eisenach
Serbia
Kazakhstan
Hong Kong
Lithuania
Program:
function: Find
inputs: Novak Djokovic
function: Find
inputs: Belgrade
function: QueryRelationQualifier
dependencies: 0
1
inputs: residence
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Novak Djokovic" . ?e_2 <pred:name> "Belgrade" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: Serbia