Question: How many fictional profession have a date of birth before 1939 or are from Marvel Universe?
Choices: 5
6
7
8
9
10
11
12
13
14
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "fictional profession" .  { ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1939 ) .  } UNION { ?e <from_fictional_universe> ?e_1 . ?e_1 <pred:name> "Marvel Universe" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: date of birth
1939
<
function: FilterConcept
dependencies: 1
inputs: fictional profession
function: Find
inputs: Marvel Universe
function: Relate
dependencies: 3
inputs: from fictional universe
backward
function: FilterConcept
dependencies: 4
inputs: fictional profession
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 12