Question: What is the name of a metropolitan borough, if we know that its GSS code (2011) is the same as E11000006, and that it is different from Newcastle upon Tyne (the one that is the narrative location of Billy Elliot)?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" . ?e_1 <different_from> ?e . ?e_1 <pred:name> "Newcastle upon Tyne" . ?e_2 <narrative_location> ?e_1 . ?e_2 <pred:name> "Billy Elliot" .  ?e <GSS_code_(2011)> ?pv . ?pv <pred:value> "E11000006" .  }
Program:
function: Find
inputs: Billy Elliot
function: Relate
dependencies: 0
inputs: narrative location
forward
function: Find
inputs: Newcastle upon Tyne
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: different from
forward
function: FilterConcept
dependencies: 4
inputs: metropolitan borough
function: QueryAttr
dependencies: 5
inputs: GSS code (2011)
function: VerifyStr
dependencies: 6
inputs: E11000006
Answer: no