Question: What is the connection between John Carter (the one whose date of birth is 1963-05-03) to San Jose Sharks?
Choices:
occupation
Wikidata property
relative
captain
designed to carry
member of sports team
highest judicial authority
art director
symptom of
position played on team / speciality
Program:
function: Find
inputs: John Carter
function: FilterDate
dependencies: 0
inputs: date of birth
1963-05-03
=
function: Find
inputs: San Jose Sharks
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Carter" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1963-05-03"^^xsd:date . ?e_2 <pred:name> "San Jose Sharks" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team