Question: Tell me the relationship between Indiana and Madison County (which is located in Indiana).
Choices:
source of income
genre
record label
indigenous to
separated from
contains administrative territorial entity
native language
musical conductor
official residence
dialect of
Program:
function: Find
inputs: Indiana
function: Find
inputs: Indiana
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Madison County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Indiana" . ?e_2 <pred:name> "Madison County" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Indiana" . ?e_1 ?p ?e_2 .  }
Answer: contains administrative territorial entity