Question: How many entertainment works were either published after 2005 or followed Guitary Hero World Tour?
Choices:
71
72
73
74
75
76
77
78
79
80
Answer: 79
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2005 ) .  } UNION { ?e <follows> ?e_1 . ?e_1 <pred:name> "Guitar Hero World Tour" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2005
>
function: FilterConcept
dependencies: 1
inputs: entertainment
function: Find
inputs: Guitar Hero World Tour
function: Relate
dependencies: 3
inputs: follows
backward
function: FilterConcept
dependencies: 4
inputs: entertainment
function: Or
dependencies: 2
5
function: Count
dependencies: 6