Question: How many US cities with the subreddit beverlyhills are the namesake of Portsmouth, where Neil Gaiman was born?
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 of the United States" . ?e <subreddit> ?pv . ?pv <pred:value> "beverlyhills" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Portsmouth" . ?e_2 <place_of_birth> ?e_1 . ?e_2 <pred:name> "Neil Gaiman" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: subreddit
beverlyhills
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: Neil Gaiman
function: Relate
dependencies: 3
inputs: place of birth
forward
function: Find
inputs: Portsmouth
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: named after
backward
function: FilterConcept
dependencies: 7
inputs: city of the United States
function: And
dependencies: 2
8
function: Count
dependencies: 9
Answer: 0