Question: How is Julius Caesar (the one whose name in native language is Gaius Iulius Caesar) related to Cleopatra (the one whose date of death is -30) ?
Choices:
dissertation submitted to
studied by
employer
founded by
partner
interested in
parent club
operator
military branch
godparent
Answer: partner
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Julius Caesar" . ?e_1 <name_in_native_language> ?pv . ?pv <pred:value> "Gaius Iulius Caesar" . ?e_2 <pred:name> "Cleopatra" . ?e_2 <date_of_death> ?pv_1 . ?pv_1 <pred:year> -30 . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Julius Caesar
function: FilterStr
dependencies: 0
inputs: name in native language
Gaius Iulius Caesar
function: Find
inputs: Cleopatra
function: FilterYear
dependencies: 2
inputs: date of death
-30
=
function: QueryRelation
dependencies: 1
3