Question: How many New Jersey cities are the working location of Rob Thomas (who has the occupation of television producer) and are located in the Eastern Time Zone?
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> "Rob Thomas" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "television producer" .  ?e <located_in_time_zone> ?e_3 . ?e_3 <pred:name> "Eastern Time Zone" .  }
Program:
function: Find
inputs: television producer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Rob Thomas
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: work location
forward
function: FilterConcept
dependencies: 4
inputs: city in New Jersey
function: Find
inputs: Eastern Time Zone
function: Relate
dependencies: 6
inputs: located in time zone
backward
function: FilterConcept
dependencies: 7
inputs: city in New Jersey
function: And
dependencies: 5
8
function: Count
dependencies: 9