Question: What relation does Texas, headed by the Secretary of State, have with Texas Rangers, with Ashton Kutcher in the cast?
Choices:
medical treatment
narrative location
nominated for
affiliation
set in period
director
place of origin (Switzerland)
registered with
material used
architect
Program:
function: Find
inputs: Ashton Kutcher
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Texas Rangers
function: And
dependencies: 1
2
function: Find
inputs: Secretary of State
function: Relate
dependencies: 4
inputs: office held by head of government
backward
function: Find
inputs: Texas
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Texas Rangers" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ashton Kutcher" . ?e_2 <pred:name> "Texas" . ?e_2 <office_held_by_head_of_government> ?e_4 . ?e_4 <pred:name> "Secretary of State" . ?e_1 ?p ?e_2 .  }
Answer: narrative location