Question: What town is located in Lincolnshire and has a native label of Grimsby?
Choices:
Doncaster
Wigan
Wimbledon
South Shields
Basingstoke
Colchester
Macclesfield
Edmonton
Grimsby
Blackburn
Answer: Grimsby
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Lincolnshire" .  ?e <native_label> ?pv . ?pv <pred:value> "Grimsby" .  }
Program:
function: Find
inputs: Lincolnshire
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: town
function: FindAll
function: FilterStr
dependencies: 3
inputs: native label
Grimsby
function: FilterConcept
dependencies: 4
inputs: town
function: And
dependencies: 2
5
function: What
dependencies: 6