Question: Which state differs from Guernsey (the one whose area is 63.4 square kilometre)?
Choices:
Tajikistan
Finland
Fiji
Trinidad and Tobago
Saint Vincent and the Grenadines
Papua New Guinea
Lithuania
Guernsey
Kosovo
Jamaica
Program:
function: Find
inputs: Guernsey
function: FilterNum
dependencies: 0
inputs: area
63.4 square kilometre
=
function: Relate
dependencies: 1
inputs: different from
backward
function: FilterConcept
dependencies: 2
inputs: state
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <different_from> ?e_1 . ?e_1 <pred:name> "Guernsey" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "63.4"^^xsd:double .   }
Answer: Guernsey