Question: How many India states are located in the continent of the geographic region whose demonym is asiatiche?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of India" . ?e <continent> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "geographic region" . ?e_1 <demonym> ?pv . ?pv <pred:value> "asiatiche" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
asiatiche
function: FilterConcept
dependencies: 1
inputs: geographic region
function: Relate
dependencies: 2
inputs: continent
backward
function: FilterConcept
dependencies: 3
inputs: state of India
function: Count
dependencies: 4