Question: What is the connection between Don Carmody to Providence (the one that is the birthplace of Josh Schwartz)?
Choices:
owned by
place of birth
fabrication method
sponsor
film regional debut venue
contributing factor of
appointed by
screenwriter
capital of
destination point
Answer: place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Don Carmody" . ?e_2 <pred:name> "Providence" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Josh Schwartz" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Don Carmody
function: Find
inputs: Josh Schwartz
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Providence
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4