Question: What is the connection between Tom McCarthy (the one that was born in Fort Wayne) to baseball?
Choices:
sport
material used
film regional debut venue
kit supplier
organizer
parent organization
director of photography
license
owner of
taxon rank
Answer: sport
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom McCarthy" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Fort Wayne" . ?e_2 <pred:name> "baseball" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Fort Wayne
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Tom McCarthy
function: And
dependencies: 1
2
function: Find
inputs: baseball
function: QueryRelation
dependencies: 3
4