Question: How many art movements originate in the country of France or have a founding year different from 1848?
Choices: 4
5
6
7
8
9
10
11
12
13
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 <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1848 ) .  } }
Program:
function: Find
inputs: France
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: art movement
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1848
!=
function: FilterConcept
dependencies: 4
inputs: art movement
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 10