Question: How many video games are the product or material produced by News Corporation or were published in 1994?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" .  { ?e_1 <product_or_material_produced> ?e . ?e_1 <pred:name> "News Corporation" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> 1994 .  } }
Program:
function: Find
inputs: News Corporation
function: Relate
dependencies: 0
inputs: product or material produced
forward
function: FilterConcept
dependencies: 1
inputs: video game
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1994
=
function: FilterConcept
dependencies: 4
inputs: video game
function: Or
dependencies: 2
5
function: Count
dependencies: 6