Question: How many art movements are located in Paris (the one that is the main subject of An American in Paris) or have the Dewey Decimal Classification of 142.78?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: An American in Paris
function: Relate
dependencies: 0
inputs: main subject
forward
function: Find
inputs: Paris
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: art movement
function: FindAll
function: FilterStr
dependencies: 6
inputs: Dewey Decimal Classification
142.78
function: FilterConcept
dependencies: 7
inputs: art movement
function: Or
dependencies: 5
8
function: Count
dependencies: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "art movement" .  { ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Paris" . ?e_2 <main_subject> ?e_1 . ?e_2 <pred:name> "An American in Paris" .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "142.78" .  } }
Answer: 2