Question: The French region whose Twitter username is RegionNormandie replaced how many former French regions?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" . ?e <replaced_by> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "region of France" . ?e_1 <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "RegionNormandie" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Twitter username
RegionNormandie
function: FilterConcept
dependencies: 1
inputs: region of France
function: Relate
dependencies: 2
inputs: replaced by
backward
function: FilterConcept
dependencies: 3
inputs: former French region
function: Count
dependencies: 4