Question: Tell me the number of activities that derive Resident Evil: Extinction or that has Nintendo GameID is RU7E5G
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" .  { ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Resident Evil: Extinction" .  } UNION { ?e <Nintendo_GameID> ?pv . ?pv <pred:value> "RU7E5G" .  } }
Program:
function: Find
inputs: Resident Evil: Extinction
function: Relate
dependencies: 0
inputs: derivative work
backward
function: FilterConcept
dependencies: 1
inputs: activity
function: FindAll
function: FilterStr
dependencies: 3
inputs: Nintendo GameID
RU7E5G
function: FilterConcept
dependencies: 4
inputs: activity
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2