Question: How many art movements include either the genre of Panic! at the Disco or whose Artsy gene is cubism?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art movement" .  { ?e_1 <genre> ?e . ?e_1 <pred:name> "Panic! at the Disco" .  } UNION { ?e <Artsy_gene> ?pv . ?pv <pred:value> "cubism" .  } }
Program:
function: Find
inputs: Panic! at the Disco
function: Relate
dependencies: 0
inputs: genre
forward
function: FilterConcept
dependencies: 1
inputs: art movement
function: FindAll
function: FilterStr
dependencies: 3
inputs: Artsy gene
cubism
function: FilterConcept
dependencies: 4
inputs: art movement
function: Or
dependencies: 2
5
function: Count
dependencies: 6