Question: What is the number of MTV Movie Awards that have the official website http://www.mtv.com/ontv/movieawards/ or are won by Will Ferrell?
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> "MTV Movie Awards" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.mtv.com/ontv/movieawards/" .  } UNION { ?e <winner> ?e_1 . ?e_1 <pred:name> "Will Ferrell" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.mtv.com/ontv/movieawards/
function: FilterConcept
dependencies: 1
inputs: MTV Movie Awards
function: Find
inputs: Will Ferrell
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: MTV Movie Awards
function: Or
dependencies: 2
5
function: Count
dependencies: 6