Question: How many landforms are the geography topic of the state that is different from Guernsey (the one whose area is 63.4 square kilometre)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "landform" . ?e_1 <geography_of_topic> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state" . ?e_2 <different_from> ?e_1 . ?e_2 <pred:name> "Guernsey" . ?e_2 <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "63.4"^^xsd:double .   }
Program:
function: Find
inputs: Guernsey
function: FilterNum
dependencies: 0
inputs: area
63.4 square kilometre
=
function: Relate
dependencies: 1
inputs: different from
forward
function: FilterConcept
dependencies: 2
inputs: state
function: Relate
dependencies: 3
inputs: geography of topic
forward
function: FilterConcept
dependencies: 4
inputs: landform
function: Count
dependencies: 5