Question: How is Roy Thomas (the one whose date of birth is 1953-06-22) related to St. Louis Cardinals ?
Choices:
edition or translation of
member of sports team
member of political party
contains administrative territorial entity
located in the administrative territorial entity
grants
eye color
head of government
enclave within
seed team
Program:
function: Find
inputs: Roy Thomas
function: FilterDate
dependencies: 0
inputs: date of birth
1953-06-22
=
function: Find
inputs: St. Louis Cardinals
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roy Thomas" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1953-06-22"^^xsd:date . ?e_2 <pred:name> "St. Louis Cardinals" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team