Question: What is the connection between John Spencer (the one whose date of birth is 1898-01-01) to Hartlepool United F.C.?
Choices:
child
office held by head of state
diplomatic relation
location of discovery
officially opened by
diaspora
member of sports team
academic degree
kit supplier
contains administrative territorial entity
Program:
function: Find
inputs: John Spencer
function: FilterDate
dependencies: 0
inputs: date of birth
1898-01-01
=
function: Find
inputs: Hartlepool United F.C.
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Spencer" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1898-01-01"^^xsd:date . ?e_2 <pred:name> "Hartlepool United F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team