Question: How is the Tom McCarthy who died on 1933-03-28 related to baseball?
Choices:
honorific prefix
owner of
composer
continent
worshipped by
enclave within
academic degree
copyright holder
winner
sport
Program:
function: Find
inputs: Tom McCarthy
function: FilterDate
dependencies: 0
inputs: date of death
1933-03-28
=
function: Find
inputs: baseball
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom McCarthy" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1933-03-28"^^xsd:date . ?e_2 <pred:name> "baseball" . ?e_1 ?p ?e_2 .  }
Answer: sport