Question: What is the connection between John Spencer (the one whose date of birth is 1898-01-01) to Stoke City F.C.?
Choices:
contains administrative territorial entity
member of sports team
inspired by
said to be the same as
founded by
vehicle normally used
properties for this type
commissioned by
patron saint
approved by
Program:
function: Find
inputs: John Spencer
function: FilterDate
dependencies: 0
inputs: date of birth
1898-01-01
=
function: Find
inputs: Stoke City 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> "Stoke City F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team