Question: How many MTV Movie Awards have the official website http://www.mtv.com/ontv/movieawards/ or were nominated to The Fast and the Furious (whose composer is BT)?
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_1 <nominated_for> ?e . ?e_1 <pred:name> "The Fast and the Furious" . ?e_1 <composer> ?e_2 . ?e_2 <pred:name> "BT" .  } }
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: BT
function: Relate
dependencies: 3
inputs: composer
backward
function: Find
inputs: The Fast and the Furious
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: nominated for
forward
function: FilterConcept
dependencies: 7
inputs: MTV Movie Awards
function: Or
dependencies: 2
8
function: Count
dependencies: 9