Question: How many MTV Video Music Awards have the official website http://www.mtv.com/ontv/vma or were created in a year other than 1984?
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 Video Music Award" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.mtv.com/ontv/vma" .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1984 ) .  } }
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: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1984
!=
function: FilterConcept
dependencies: 4
inputs: MTV Video Music Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6