Question: How many historic England counties are the working location of Bobby (a South Korea citizen)?
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> "historic county of England" . ?e_1 <work_location> ?e . ?e_1 <pred:name> "Bobby" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "South Korea" .   }
Program:
function: Find
inputs: South Korea
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Bobby
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: work location
forward
function: FilterConcept
dependencies: 4
inputs: historic county of England
function: Count
dependencies: 5
Answer: 0