Question: What legislator heads the government of California (that is the filming location of Pirates of the Caribbean: On Stranger Tides?
Choices:
councillor
attorney general
make-up artist
speaker of the United States House of Representatives
president
Secretary of State
secretary of state
state senator
seiyū
Member of Congress
Program:
function: Find
inputs: Pirates of the Caribbean: On Stranger Tides
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: office held by head of government
forward
function: FilterConcept
dependencies: 4
inputs: legislator
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislator" . ?e_1 <office_held_by_head_of_government> ?e . ?e_1 <pred:name> "California" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> "Pirates of the Caribbean: On Stranger Tides" .   }
Answer: Member of Congress