Question: How many entertainments are related to cycling or that follow Guitar Hero II?
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> "entertainment" .  { ?e <sport> ?e_1 . ?e_1 <pred:name> "cycling" .  } UNION { ?e <follows> ?e_1 . ?e_1 <pred:name> "Guitar Hero II" .  } }
Program:
function: Find
inputs: cycling
function: Relate
dependencies: 0
inputs: sport
backward
function: FilterConcept
dependencies: 1
inputs: entertainment
function: Find
inputs: Guitar Hero II
function: Relate
dependencies: 3
inputs: follows
backward
function: FilterConcept
dependencies: 4
inputs: entertainment
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1