Question: How many cities in New Jersey are administrative division of Camden County or residence of Natalie Morales, who received 38th Daytime Emmy Awards?
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> "city in New Jersey" .  { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Camden County" .  } UNION { ?e_1 <residence> ?e . ?e_1 <pred:name> "Natalie Morales" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "38th Daytime Emmy Awards" .  } }
Program:
function: Find
inputs: Camden County
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: city in New Jersey
function: Find
inputs: 38th Daytime Emmy Awards
function: Relate
dependencies: 3
inputs: award received
backward
function: Find
inputs: Natalie Morales
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: residence
forward
function: FilterConcept
dependencies: 7
inputs: city in New Jersey
function: Or
dependencies: 2
8
function: Count
dependencies: 9
Answer: 2