Question: What is the number of social sciences that is the geography of topic of the inner planet that is the location of South America?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "social science" . ?e_1 <geography_of_topic> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "inner planet" . ?e_2 <located_on_astronomical_location> ?e_1 . ?e_2 <pred:name> "South America" .   }
Program:
function: Find
inputs: South America
function: Relate
dependencies: 0
inputs: located on astronomical location
forward
function: FilterConcept
dependencies: 1
inputs: inner planet
function: Relate
dependencies: 2
inputs: geography of topic
forward
function: FilterConcept
dependencies: 3
inputs: social science
function: Count
dependencies: 4