Question: How many MTV Movie Awards are represented by the website www.mtv.com/ontv/movieawards or were awarded to Speed, with Mark Mancina as composer?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 5
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_1 <award_received> ?e . ?e_1 <pred:name> "Speed" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> "Mark Mancina" .  } }
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: Mark Mancina
function: Relate
dependencies: 3
inputs: composer
backward
function: Find
inputs: Speed
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: award received
forward
function: FilterConcept
dependencies: 7
inputs: MTV Movie Awards
function: Or
dependencies: 2
8
function: Count
dependencies: 9