Question: What is the ending date of Western Front (that has the Battle of the Sommee as a component)?
Choices:
1723-02-25
1918-11-11
1963-01-01
1651-09-03
2002-05-20
1930-03-28
1808
1951-01-01
1961-01-20
1999-04-06
Program:
function: Find
inputs: Battle of the Sommee
function: Relate
dependencies: 0
inputs: part of
forward
function: Find
inputs: Western Front
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: end time
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Western Front" . ?e_1 <part_of> ?e . ?e_1 <pred:name> "Battle of the Sommee" .  ?e <end_time> ?pv .  }
Answer: 1918-11-11