Question: What is the connection between Johnson County (the one that contains the administrative division Iowa City) to United States of America?
Choices:
use
art director
draft pick from school
academic degree
place of birth
basic form of government
country
drug used for treatment
worshipped by
professional or sports partner
Program:
function: Find
inputs: Iowa City
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: Johnson County
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Johnson County" . ?e_1 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Iowa City" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country