Question: Which has a larger area, People's Republic of China or Iceland, which has the demonym آيسلندي
Choices:
Socialist Federal Republic of Yugoslavia
Weimar Republic
Russian Soviet Federative Socialist Republic
Benin
Iceland
Switzerland
People's Republic of China
South Sudan
Samoa
Kiribati
Program:
function: Find
inputs: People's Republic of China
function: Find
inputs: Iceland
function: FilterStr
dependencies: 1
inputs: demonym
آيسلندي
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "People's Republic of China" . } UNION { ?e <pred:name> "Iceland" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "آيسلندي" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: People's Republic of China