Question: How many MTV Movie Awards whose official website is http://www.mtv.com/ontv/movieawards/ or were won by Sean Connery?
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> "Sean Connery" .  } }
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: Sean Connery
function: Relate
dependencies: 3
inputs: winner
backward
function: FilterConcept
dependencies: 4
inputs: MTV Movie Awards
function: Or
dependencies: 2
5
function: Count
dependencies: 6