Question: How many secondary schools are headquartered in Norwich (the one whose official website is http://www.norwich.gov.uk/) and have Josh Groban working for them?
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> "secondary school" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Norwich" . ?e_1 <official_website> ?pv . ?pv <pred:value> "http://www.norwich.gov.uk/" .  ?e_2 <employer> ?e . ?e_2 <pred:name> "Josh Groban" .  }
Program:
function: Find
inputs: Norwich
function: FilterStr
dependencies: 0
inputs: official website
http://www.norwich.gov.uk/
function: Relate
dependencies: 1
inputs: headquarters location
backward
function: FilterConcept
dependencies: 2
inputs: secondary school
function: Find
inputs: Josh Groban
function: Relate
dependencies: 4
inputs: employer
forward
function: FilterConcept
dependencies: 5
inputs: secondary school
function: And
dependencies: 3
6
function: Count
dependencies: 7