Question: What is the relationship between John Williams (the one whose date of birth is 1966-10-26) and the Indiana Pacers?
Choices:
performer
contains administrative territorial entity
member of sports team
located in the administrative territorial entity
is a list of
fictional universe described in
musical conductor
broadcast by
programming paradigm
native language
Program:
function: Find
inputs: John Williams
function: FilterDate
dependencies: 0
inputs: date of birth
1966-10-26
=
function: Find
inputs: Indiana Pacers
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1966-10-26"^^xsd:date . ?e_2 <pred:name> "Indiana Pacers" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team