Question: What public office applies jurisdiction over the U.S. state that contains Worcester County?
Choices: Governor of Massachusetts
Governor of New York
Berklee College of Music
Butler University
Governor of Kentucky
attorney general
Governor of New Jersey
mayor
Governor of Texas
Jerry Nelson
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "public office" . ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Worcester County" .   }
Program:
function: Find
inputs: Worcester County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Relate
dependencies: 2
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 3
inputs: public office
function: What
dependencies: 4
Answer: Governor of Massachusetts