Question: How is Iowa related to Des Moines?
Choices:
head coach
home port
natural product of taxon
child astronomical body
season starts
librettist
works in collection
appointed by
commissioned by
capital
Program:
function: Find
inputs: Iowa
function: Find
inputs: Des Moines
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Iowa" . ?e_2 <pred:name> "Des Moines" . ?e_1 ?p ?e_2 .  }
Answer: capital