Question: How many art movements are in the democratic country whose nominal GDP is 1269179616913.63 United States dollars as of 1990?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
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:instance_of> ?c_1 . ?c_1 <pred:name> "democracy" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "1269179616913.63"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominal_GDP> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1990 .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
1269179616913.63 United States dollar
=
function: QFilterYear
dependencies: 1
inputs: point in time
1990
=
function: FilterConcept
dependencies: 2
inputs: democracy
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: art movement
function: Count
dependencies: 5