Question: Why does Macau have diplomatic relations with Hong Kong (whose inflation rate is 10 percentage)?
Choices: Japan–Kosovo relations
Malaysia–United States relations
Mongolia–United Kingdom relations
Denmark–Sudan relations
Italy–Slovenia relations
Hong Kong–Macau relations
Peru–United Kingdom relations
Patriation
Botswana–South Africa relations
Germany–Nauru relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Macau" . ?e_2 <pred:name> "Hong Kong" . ?e_2 <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> "10"^^xsd:double . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Macau
function: Find
inputs: Hong Kong
function: FilterNum
dependencies: 1
inputs: inflation rate
10 percentage
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: diplomatic relation
statement is subject of
Answer: Hong Kong–Macau relations