Question: How many art movements do we know that follow Art Nouveau or that have a famous person Sufjan Stevens associated with them?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Art Nouveau
function: Relate
dependencies: 0
inputs: followed by
forward
function: FilterConcept
dependencies: 1
inputs: art movement
function: Find
inputs: Sufjan Stevens
function: Relate
dependencies: 3
inputs: famous people
backward
function: FilterConcept
dependencies: 4
inputs: art movement
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art movement" .  { ?e_1 <followed_by> ?e . ?e_1 <pred:name> "Art Nouveau" .  } UNION { ?e <famous_people> ?e_1 . ?e_1 <pred:name> "Sufjan Stevens" .  } }
Answer: 2