Question: Which state is llocated on terrain feature English Channel and whose FIPS 10-4 (countries and regions) is GK?
Choices:
Saint Vincent and the Grenadines
Tajikistan
Trinidad and Tobago
Lithuania
Denmark
Guernsey
Ukrainian Soviet Socialist Republic
Finland
Kosovo
Jamaica
Program:
function: Find
inputs: English Channel
function: Relate
dependencies: 0
inputs: located on terrain feature
backward
function: FilterConcept
dependencies: 1
inputs: state
function: FindAll
function: FilterStr
dependencies: 3
inputs: FIPS 10-4 (countries and regions)
GK
function: FilterConcept
dependencies: 4
inputs: state
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <located_on_terrain_feature> ?e_1 . ?e_1 <pred:name> "English Channel" .  ?e <FIPS_10-4_(countries_and_regions)> ?pv . ?pv <pred:value> "GK" .  }
Answer: Guernsey