Question: What is the connection between Monroe County (the one whose population is 141888) to James Monroe (the one that died in the manner of natural causes)?
Choices:
named after
appears in the form of
edition or translation of
office held by head of state
draft pick from school
head of government
found
model item
parent astronomical body
had as last meal
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Monroe County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "141888"^^xsd:double . ?e_2 <pred:name> "James Monroe" . ?e_2 <manner_of_death> ?e_3 . ?e_3 <pred:name> "natural causes" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Monroe County
function: FilterNum
dependencies: 0
inputs: population
141888
=
function: Find
inputs: natural causes
function: Relate
dependencies: 2
inputs: manner of death
backward
function: Find
inputs: James Monroe
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5