Question: How many New Jersey cities are the working location of Thandie Newton and have a postal code of 07505?
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> "city in New Jersey" . ?e_1 <work_location> ?e . ?e_1 <pred:name> "Thandie Newton" .  ?e <postal_code> ?pv . ?pv <pred:value> "07505" .  }
Program:
function: Find
inputs: Thandie Newton
function: Relate
dependencies: 0
inputs: work location
forward
function: FilterConcept
dependencies: 1
inputs: city in New Jersey
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
07505
function: FilterConcept
dependencies: 4
inputs: city in New Jersey
function: And
dependencies: 2
5
function: Count
dependencies: 6