Question: Ted Kennedy who died on 2005-01-01 has what connection to the Catholic Church?
Choices:
nominated for
official symbol
head coach
production designer
religion
occupation
risk factor
located in or next to body of water
narrative role
narrator
Program:
function: Find
inputs: Ted Kennedy
function: FilterDate
dependencies: 0
inputs: date of death
2005-01-01
=
function: Find
inputs: Catholic Church
function: QueryRelation
dependencies: 1
2
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ted Kennedy" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "2005-01-01"^^xsd:date . ?e_2 <pred:name> "Catholic Church" . ?e_1 ?p ?e_2 .  }
Answer: religion