Question: What is the number of written works whose Dewey Decimal Classification is 813.52 and narrative location is San Francisco (that is the origin of the name Cisco Systems)?
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> "written work" . ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "813.52" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "San Francisco" . ?e_2 <named_after> ?e_1 . ?e_2 <pred:name> "Cisco Systems" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
813.52
function: FilterConcept
dependencies: 1
inputs: written work
function: Find
inputs: Cisco Systems
function: Relate
dependencies: 3
inputs: named after
forward
function: Find
inputs: San Francisco
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: narrative location
backward
function: FilterConcept
dependencies: 7
inputs: written work
function: And
dependencies: 2
8
function: Count
dependencies: 9