Question: What is the end time for the war that is the main subject of Three Kings?
Choices:
1974-08-09
1997-04-27
1804-08-10
2016-06-02
1795-01-18
1957-03-06
1991-02-28
1901-09-14
1914
1892-01-01
Program:
function: Find
inputs: Three Kings
function: Relate
dependencies: 0
inputs: main subject
forward
function: FilterConcept
dependencies: 1
inputs: war
function: QueryAttr
dependencies: 2
inputs: end time
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "war" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Three Kings" .  ?e <end_time> ?pv .  }
Answer: 1991-02-28