Question: What is the connection between Hal Smith (the one whose date of birth is 1902-06-30) to baseball?
Choices:
follows
set in period
medical condition
works in collection
operating system
art director
candidacy in election
partner
sport
stated in
Program:
function: Find
inputs: Hal Smith
function: FilterDate
dependencies: 0
inputs: date of birth
1902-06-30
=
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> "1902-06-30"^^xsd:date . ?e_2 <pred:name> "baseball" . ?e_1 ?p ?e_2 .  }
Answer: sport