Question: How many civil wars are the main subject of Glory (whose composer is James Horner) and have a start time after 1927?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "civil war" . ?e_1 <main_subject> ?e . ?e_1 <pred:name> "Glory" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> "James Horner" .  ?e <start_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1927 ) .  }
Program:
function: Find
inputs: James Horner
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Glory
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: main subject
forward
function: FilterConcept
dependencies: 4
inputs: civil war
function: FindAll
function: FilterYear
dependencies: 6
inputs: start time
1927
>
function: FilterConcept
dependencies: 7
inputs: civil war
function: And
dependencies: 5
8
function: Count
dependencies: 9