Question: How is Jonah Hex (the one whose name in native language is Jonah Hex) related to Apache (the one that is the origin of the name Apache County)  ?
Choices:
connects with
has part
has dialect (DEPRECATED)
make-up artist
award disciplines or subjects
home world
member of
continent
doctoral student
narrative role
Answer: member of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jonah Hex" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "Jonah Hex" . ?e_2 <pred:name> "Apache" . ?e_3 <named_after> ?e_2 . ?e_3 <pred:name> "Apache County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jonah Hex
function: FilterStr
dependencies: 0
inputs: name in native language
Jonah Hex
function: Find
inputs: Apache County
function: Relate
dependencies: 2
inputs: named after
forward
function: Find
inputs: Apache
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5