Question: How many fictional universes are the imaginary world of Lois Lane (who uses the English language) or of Finding Neverland?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Lois Lane
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: from fictional universe
forward
function: FilterConcept
dependencies: 4
inputs: fictional universe
function: Find
inputs: Finding Neverland
function: Relate
dependencies: 6
inputs: takes place in fictional universe
forward
function: FilterConcept
dependencies: 7
inputs: fictional universe
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "fictional universe" .  { ?e_1 <from_fictional_universe> ?e . ?e_1 <pred:name> "Lois Lane" . ?e_1 <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> "English" .  } UNION { ?e_1 <takes_place_in_fictional_universe> ?e . ?e_1 <pred:name> "Finding Neverland" .  } }
Answer: 1