Question: How many Pennsylvania cities are there whose country is the sovereign state having the ISNI 0000 0001 2331 5230?
Choices:
11
12
13
14
15
16
17
18
19
20
Answer: 17
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0001 2331 5230" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2331 5230
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Relate
dependencies: 2
inputs: country
backward
function: FilterConcept
dependencies: 3
inputs: city of Pennsylvania
function: Count
dependencies: 4