Question: What does William Gibson (whose date of birth is 1849-08-07) have to do with Canada?
Choices:
permanent resident of
voice actor
derivative work
culture
member of sports team
uses
set in period
country of citizenship
studies
fabrication method
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William Gibson" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1849-08-07"^^xsd:date . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: William Gibson
function: FilterDate
dependencies: 0
inputs: date of birth
1849-08-07
=
function: Find
inputs: Canada
function: QueryRelation
dependencies: 1
2