Question: What is the connection between Vermont to New York (the one that contains the administrative division Dutchess County)?
Choices:
shares border with
part of the series
programming language
make-up artist
lyrics by
office held by head of the organisation
series spin-off
organisation directed from the office or person
worshipped by
family name
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Vermont" . ?e_2 <pred:name> "New York" . ?e_2 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Dutchess County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Vermont
function: Find
inputs: Dutchess County
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
backward
function: Find
inputs: New York
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4