Question: What is the connection between Josh Schwartz to Providence (the one that is the working location of H. P. Lovecraft)?
Choices:
student
student of
editor
participant of
diplomatic relation
writing system
named after
country of citizenship
operator
place of birth
Program:
function: Find
inputs: Josh Schwartz
function: Find
inputs: H. P. Lovecraft
function: Relate
dependencies: 1
inputs: work location
forward
function: Find
inputs: Providence
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Josh Schwartz" . ?e_2 <pred:name> "Providence" . ?e_3 <work_location> ?e_2 . ?e_3 <pred:name> "H. P. Lovecraft" . ?e_1 ?p ?e_2 .  }
Answer: place of birth