Question: What is the connection between Kevin Smith (the one whose date of birth is 1986-12-17) to Detroit Lions?
Choices:
operating system
owned by
month of the year
member of sports team
parent organization
signatory
office held by head of the organisation
drug used for treatment
designed by
field of work
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kevin Smith" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1986-12-17"^^xsd:date . ?e_2 <pred:name> "Detroit Lions" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Kevin Smith
function: FilterDate
dependencies: 0
inputs: date of birth
1986-12-17
=
function: Find
inputs: Detroit Lions
function: QueryRelation
dependencies: 1
2