Question: How many movie characters have the military rank of major or hail from the Marvel Universe?
Choices:
4
5
6
7
8
9
10
11
12
13
Program:
function: Find
inputs: major
function: Relate
dependencies: 0
inputs: military rank
backward
function: FilterConcept
dependencies: 1
inputs: film character
function: Find
inputs: Marvel Universe
function: Relate
dependencies: 3
inputs: from fictional universe
backward
function: FilterConcept
dependencies: 4
inputs: film character
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film character" .  { ?e <military_rank> ?e_1 . ?e_1 <pred:name> "major" .  } UNION { ?e <from_fictional_universe> ?e_1 . ?e_1 <pred:name> "Marvel Universe" .  } }
Answer: 4