Question: What is the connection between Nantucket to Massachusetts (the one that contains Mount Holyoke College)?
Choices:
general manager
owned by
costume designer
geography of topic
programming language
family name
developer
vehicle normally used
located in the administrative territorial entity
convicted of
Answer: located in the administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nantucket" . ?e_2 <pred:name> "Massachusetts" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Mount Holyoke College" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Nantucket
function: Find
inputs: Mount Holyoke College
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Massachusetts
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4