Question: Which numbers of landforms are the terrain feature of the ceremonial county of England, its catalog code is 66 (vice-county is the catalog of this statement)?
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 <located_on_terrain_feature> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "ceremonial county of England" . ?e_1 <catalog_code> ?pv . ?pv <pred:value> "66" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <catalog_code> ; <pred:fact_t> ?pv ] <catalog> ?qpv . ?qpv <pred:value> "vice-county" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: catalog code
66
function: QFilterStr
dependencies: 1
inputs: catalog
vice-county
function: FilterConcept
dependencies: 2
inputs: ceremonial county of England
function: Relate
dependencies: 3
inputs: located on terrain feature
forward
function: FilterConcept
dependencies: 4
inputs: landform
function: Count
dependencies: 5