Question: Was the city of the United States that is located in New York where is Union College, founded before 1920?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "New York" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Union College" .  ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1920 ) .  }
Program:
function: Find
inputs: Union College
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: New York
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: QueryAttr
dependencies: 5
inputs: inception
function: VerifyYear
dependencies: 6
inputs: 1920
<
Answer: yes