Question: How many different video games are either distributed by 20th Century Fox or have a Nintendo GameID of RIHE8P?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" .  { ?e <distributor> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .  } UNION { ?e <Nintendo_GameID> ?pv . ?pv <pred:value> "RIHE8P" .  } }
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: distributor
backward
function: FilterConcept
dependencies: 1
inputs: video game
function: FindAll
function: FilterStr
dependencies: 3
inputs: Nintendo GameID
RIHE8P
function: FilterConcept
dependencies: 4
inputs: video game
function: Or
dependencies: 2
5
function: Count
dependencies: 6