Question: What is the CANTIC-ID of the spouse of Elie Samaha (the end time of this statement is 2000)?
Choices:
a10435402
a11788823
a11959836
a11021652
a10920912
a10073644
a1131008x
a11827415
a10149235
a12373576
Answer: a11788823
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Elie Samaha" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 2000 . ?e <CANTIC-ID> ?pv .  }
Program:
function: Find
inputs: Elie Samaha
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterYear
dependencies: 1
inputs: end time
2000
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: CANTIC-ID