Question: How is Erie County, location of Buffalo, related to New York, under the jurisdiction of the Governor of New York?
Choices:
located in the administrative territorial entity
heritage designation
subsidiary
film regional debut venue
costume designer
official language
contains administrative territorial entity
make-up artist
nominated for
film editor
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Erie County" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "Buffalo" . ?e_2 <pred:name> "New York" . ?e_4 <applies_to_jurisdiction> ?e_2 . ?e_4 <pred:name> "Governor of New York" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Buffalo
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Erie County
function: And
dependencies: 1
2
function: Find
inputs: Governor of New York
function: Relate
dependencies: 4
inputs: applies to jurisdiction
forward
function: Find
inputs: New York
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7