Question: What is the connection between Walter Murphy (the one that is related to sport baseball) to New York City?
Choices:
ethnic group
place of birth
native language
famous people
candidate
highest judicial authority
location of final assembly
depicts
official color
has dialect (DEPRECATED)
Program:
function: Find
inputs: baseball
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Walter Murphy
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Walter Murphy" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "baseball" . ?e_2 <pred:name> "New York City" . ?e_1 ?p ?e_2 .  }
Answer: place of birth