Question: How is the William Gibson who died on 1890-02-01 connected to Ottawa?
Choices:
given name
work location
main food source
studied by
is a list of
candidacy in election
participant
has immediate cause
published in
record label
Answer: work location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William Gibson" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1890-02-01"^^xsd:date . ?e_2 <pred:name> "Ottawa" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: William Gibson
function: FilterDate
dependencies: 0
inputs: date of death
1890-02-01
=
function: Find
inputs: Ottawa
function: QueryRelation
dependencies: 1
2