Question: What is the connection between William Gibson (the one whose date of birth is 1815-01-01) to Ottawa?
Choices:
writing system
depicts
software engine
official language
honorific prefix
sibling
work location
author
season starts
military casualty classification
Answer: work location
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William Gibson" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1815-01-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 birth
1815-01-01
=
function: Find
inputs: Ottawa
function: QueryRelation
dependencies: 1
2