Question: How many Grammy Awards use http://www.grammy.com/ as the official website or are given in the genre of teen pop ?>
Choices:
22
23
24
25
26
27
28
29
30
31
Answer: 29
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Grammy Award" .  { ?e <field_of_work> ?e_1 . ?e_1 <pred:name> "teen pop" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.grammy.com/" .  } }
Program:
function: Find
inputs: teen pop
function: Relate
dependencies: 0
inputs: field of work
backward
function: FilterConcept
dependencies: 1
inputs: Grammy Award
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.grammy.com/
function: FilterConcept
dependencies: 4
inputs: Grammy Award
function: Or
dependencies: 2
5
function: Count
dependencies: 6