Question: For the individual whose ISNI is 0000 0001 0920 987X, how many Massachusetts counties are his/her birthplace?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Massachusetts" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0001 0920 987X" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 0920 987X
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: place of birth
forward
function: FilterConcept
dependencies: 3
inputs: county of Massachusetts
function: Count
dependencies: 4