Question: In which catalog does the ceremonial county of England that has the capital Durham (whose OS grid reference is NZ274424) have a code of 66?
Choices: Marvel Database
artist list of the National Museum of Sweden
Fédération Cynologique Internationale Groups
Federation Cynologique Internationale
Encyclopedia Galactica
4501000001
vice-county
Statistical Classification of Economic Activities in the European Community
Arkitekter verksamma i Sverige
516
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Durham" . ?e_1 <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "NZ274424" . ?e <catalog_code> ?pv . ?pv <pred:value> "66" . [ <pred:fact_h> ?e ; <pred:fact_r> <catalog_code> ; <pred:fact_t> ?pv ] <catalog> ?qpv .  }
Program:
function: Find
inputs: Durham
function: FilterStr
dependencies: 0
inputs: OS grid reference
NZ274424
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: ceremonial county of England
function: QueryAttrQualifier
dependencies: 3
inputs: catalog code
66
catalog
Answer: vice-county