Question: How many entertainment pieces are the product or material produced by Sega or comprise the series spin-off of The Purple Rose of Cairo ?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" .  { ?e_1 <product_or_material_produced> ?e . ?e_1 <pred:name> "Sega" .  } UNION { ?e_1 <series_spin-off> ?e . ?e_1 <pred:name> "The Purple Rose of Cairo" .  } }
Program:
function: Find
inputs: Sega
function: Relate
dependencies: 0
inputs: product or material produced
forward
function: FilterConcept
dependencies: 1
inputs: entertainment
function: Find
inputs: The Purple Rose of Cairo
function: Relate
dependencies: 3
inputs: series spin-off
forward
function: FilterConcept
dependencies: 4
inputs: entertainment
function: Or
dependencies: 2
5
function: Count
dependencies: 6