Question: Tell me the relation from Shakira (which has date of birth of 1977-02-02) to PepsiCo
Choices:
director/manager
located on terrain feature
employer
head of government
editor
published in
instrumentation
author
airline hub
copyright holder
Answer: employer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Shakira" . ?e_1 <date_of_birth> ?pv . ?pv <pred:date> "1977-02-02"^^xsd:date . ?e_2 <pred:name> "PepsiCo" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Shakira
function: FilterDate
dependencies: 0
inputs: date of birth
1977-02-02
=
function: Find
inputs: PepsiCo
function: QueryRelation
dependencies: 1
2