Question: What is the connection between Chad Smith (the one whose date of birth is 1980-02-24) to Houston Dynamo?
Choices:
works in collection
child astronomical body
author
from fictional universe
takes place in fictional universe
said to be the same as
languages spoken, written or signed
location
followed by
member of sports team
Program:
function: Find
inputs: Chad Smith
function: FilterDate
dependencies: 0
inputs: date of birth
1980-02-24
=
function: Find
inputs: Houston Dynamo
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Chad Smith" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1980-02-24"^^xsd:date . ?e_2 <pred:name> "Houston Dynamo" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team