Question: What United States city is an administrative division of Butler County that is an administrative division of Ohio?
Choices:
Waukesha
Columbus
Youngstown
Franklin
Hamilton
Beverly Hills
Lima
Waukegan
Bloomington
New Haven
Program:
function: Find
inputs: Ohio
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Butler County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Butler County" . ?e_2 <contains_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Ohio" .   }
Answer: Hamilton