Question: How is New York (the one that contains the administrative division Rensselaer County) related to Onondaga County?
Choices: mascot
candidacy in election
contains administrative territorial entity
doctoral advisor
cites
inspired by
broadcast by
field of this occupation
owner of
terminus
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "New York" . ?e_1 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Rensselaer County" . ?e_2 <pred:name> "Onondaga County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Rensselaer County
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: New York
function: And
dependencies: 1
2
function: Find
inputs: Onondaga County
function: QueryRelation
dependencies: 3
4
Answer: contains administrative territorial entity