Question: What is the connection between Manhattan (the one that contains City College of New York) to New York City?
Choices:
legal form
narrative location
located in the administrative territorial entity
partner
voice actor
architectural style
art director
occupation
costume designer
symptom of
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Manhattan" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_3 <pred:name> "City College of New York" . ?e_2 <pred:name> "New York City" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: City College of New York
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Manhattan
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: QueryRelation
dependencies: 3
4