Question: How many MTV Video Music Awards have the official website http://www.mtv.com/ontv/vma/ or were received by Pearl Jam (that received a Grammy Award for Best Hard Rock Performance)?
Choices: 12
13
14
15
16
17
18
19
20
21
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "MTV Video Music Award" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.mtv.com/ontv/vma/" .  } UNION { ?e_1 <award_received> ?e . ?e_1 <pred:name> "Pearl Jam" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "Grammy Award for Best Hard Rock Performance" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.mtv.com/ontv/vma/
function: FilterConcept
dependencies: 1
inputs: MTV Video Music Award
function: Find
inputs: Grammy Award for Best Hard Rock Performance
function: Relate
dependencies: 3
inputs: award received
backward
function: Find
inputs: Pearl Jam
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: award received
forward
function: FilterConcept
dependencies: 7
inputs: MTV Video Music Award
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 15