Question: What association does Djibouti (population 787544) have to the People's Republic of China?
Choices:
product or material produced
diplomatic relation
spouse
located in time zone
natural product of taxon
movement
programming language
has edition
territory claimed by
collection
Answer: diplomatic relation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Djibouti" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "787544"^^xsd:double . ?e_2 <pred:name> "People's Republic of China" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Djibouti
function: FilterNum
dependencies: 0
inputs: population
787544
=
function: Find
inputs: People's Republic of China
function: QueryRelation
dependencies: 1
2