Question: When did the civil war that is the main subject of Gettysburg (the one that origins from United States of America) end?
Choices:
1858-06-20
1585
1977-01-01
1865-05-10
1815-02-18
1862-10-20
1192
1980-12-14
1928-08-12
1945-04-12
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Gettysburg
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: civil war
function: QueryAttr
dependencies: 5
inputs: end time
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "civil war" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Gettysburg" . ?e_1 <country_of_origin> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e <end_time> ?pv .  }
Answer: 1865-05-10