Question: How many art movements' Dewey Decimal Classification is 709.04042 or country is France?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art movement" .  { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "709.04042" .  } UNION { ?e <country> ?e_1 . ?e_1 <pred:name> "France" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
709.04042
function: FilterConcept
dependencies: 1
inputs: art movement
function: Find
inputs: France
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: art movement
function: Or
dependencies: 2
5
function: Count
dependencies: 6