Question: How many Pennsylvania counties have the capital Harrisburg or whose ISNI is 0000 0004 0372 0337?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Pennsylvania" .  { ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Harrisburg" .  } UNION { ?e <ISNI> ?pv . ?pv <pred:value> "0000 0004 0372 0337" .  } }
Program:
function: Find
inputs: Harrisburg
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: county of Pennsylvania
function: FindAll
function: FilterStr
dependencies: 3
inputs: ISNI
0000 0004 0372 0337
function: FilterConcept
dependencies: 4
inputs: county of Pennsylvania
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2