Question: How is Solitary Man related to Long Island which borders Connecticut?
Choices:
filming location
head of government
product or material produced
mother
significant person
official residence
mountain range
lifestyle
country
business division
Program:
function: Find
inputs: Solitary Man
function: Find
inputs: Connecticut
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Long Island
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Solitary Man" . ?e_2 <pred:name> "Long Island" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Connecticut" . ?e_1 ?p ?e_2 .  }
Answer: filming location