Question: How is Hal Smith, who was born on 1931-06-01, related to baseball?
Choices:
affiliation
sport
production company
connects with
voice actor
given name
medical treatment
child
military rank
source of income
Program:
function: Find
inputs: Hal Smith
function: FilterDate
dependencies: 0
inputs: date of birth
1931-06-01
=
function: Find
inputs: baseball
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hal Smith" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1931-06-01"^^xsd:date . ?e_2 <pred:name> "baseball" . ?e_1 ?p ?e_2 .  }
Answer: sport