Question: In what country is Monte Carlo (whose official website is http://www.monte-carlo.mc) that is the residence of Novak Djokovic?
Choices:
Philippines
Germany
Georgia
Orange Free State
Scotland
Brazil
Romania
England
Socialist Federal Republic of Yugoslavia
Monaco
Program:
function: Find
inputs: Novak Djokovic
function: Find
inputs: Monte Carlo
function: FilterStr
dependencies: 1
inputs: official website
http://www.monte-carlo.mc
function: QueryRelationQualifier
dependencies: 0
2
inputs: residence
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Novak Djokovic" . ?e_2 <pred:name> "Monte Carlo" . ?e_2 <official_website> ?pv . ?pv <pred:value> "http://www.monte-carlo.mc" . ?e_1 <residence> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: Monaco