Question: What are the number of video games followed by Guitar Hero 5 or whose official website is http://www.disney.com/carsvideogames ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game" .  { ?e_1 <follows> ?e . ?e_1 <pred:name> "Guitar Hero 5" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.disney.com/carsvideogames" .  } }
Program:
function: Find
inputs: Guitar Hero 5
function: Relate
dependencies: 0
inputs: follows
forward
function: FilterConcept
dependencies: 1
inputs: video game
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.disney.com/carsvideogames
function: FilterConcept
dependencies: 4
inputs: video game
function: Or
dependencies: 2
5
function: Count
dependencies: 6