Question: What is the link between William Gibson (whose date of birth is 1815-01-01) and politician?
Choices:
commissioned by
has dialect (DEPRECATED)
occupation
interested in
place of burial
facet of
rector
license
filmography
producer
Answer: occupation
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> "politician" . ?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: politician
function: QueryRelation
dependencies: 1
2