Question: What is the connection between George Gershwin to Brooklyn (the one that is the narrative location of Shortbus)?
Choices:
programming language
inspired by
Wikidata property
health specialty
place of birth
characters
military conflicts
home world
territory claimed by
mouth of the watercourse
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "George Gershwin" . ?e_2 <pred:name> "Brooklyn" . ?e_3 <narrative_location> ?e_2 . ?e_3 <pred:name> "Shortbus" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: George Gershwin
function: Find
inputs: Shortbus
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4