Question: How many art movements are French or precede postmodern architecture?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art movement" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "France" .  } UNION { ?e_1 <follows> ?e . ?e_1 <pred:name> "postmodern architecture" .  } }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: art movement
function: Find
inputs: postmodern architecture
function: Relate
dependencies: 3
inputs: follows
forward
function: FilterConcept
dependencies: 4
inputs: art movement
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 3