Question: How many activities are there in Sonic the Hedgehog (the one whose official website is http://sonic.sega.jp/)?
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> "activity" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "Sonic the Hedgehog" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://sonic.sega.jp/" .   }
Program:
function: Find
inputs: Sonic the Hedgehog
function: FilterStr
dependencies: 0
inputs: official website
http://sonic.sega.jp/
function: Relate
dependencies: 1
inputs: part of the series
backward
function: FilterConcept
dependencies: 2
inputs: activity
function: Count
dependencies: 3