Question: What is the connection between Gilbert Gottfried to Brooklyn (the one that shares border with Jersey City)?
Choices:
applies to jurisdiction
draft pick from school
replaced by
country for sport
place of birth
place served by transport hub
political ideology
film crew member
notable work
fabrication method
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gilbert Gottfried" . ?e_2 <pred:name> "Brooklyn" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Jersey City" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Gilbert Gottfried
function: Find
inputs: Jersey City
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4