Question: How is Illinois which contains Peoria County related to Madison County whose FIPS 6-4 (US counties) is 17119?
Choices:
art director
archives at
opposite of
general manager
home port
color
convicted of
lifestyle
contains administrative territorial entity
contains settlement
Answer: contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Illinois" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Peoria County" . ?e_2 <pred:name> "Madison County" . ?e_2 <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "17119" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Peoria County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Illinois
function: And
dependencies: 1
2
function: Find
inputs: Madison County
function: FilterStr
dependencies: 4
inputs: FIPS 6-4 (US counties)
17119
function: QueryRelation
dependencies: 3
5