Question: What is the relationship between Bloomington, population 82893, and the United States of America?
Choices:
candidacy in election
office held by head of government
movement
has contributing factor
domain of saint or deity
afflicts
game mode
Wikidata property
country
make-up artist
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Bloomington" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "82893"^^xsd:double . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bloomington
function: FilterNum
dependencies: 0
inputs: population
82893
=
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2