which natural or cultural site designation has historic buildings and monuments commission for england as the listing agency?
Entity
m.01cq1t
Listed building
class entity
protected_sites.natural_or_cultural_site_designation m.0pc79
protected_sites.natural_or_cultural_site_designation protected_sites.natural_or_cultural_preservation_agency
Natural or Cultural Site Designation historic buildings and monuments commission for england
none none
protected_sites.natural_or_cultural_site_designation.listing_agency
Listing Agency
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :protected_sites.natural_or_cultural_site_designation . 
VALUES ?x1 { :m.0pc79 } 
?x0 :protected_sites.natural_or_cultural_site_designation.listing_agency ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND protected_sites.natural_or_cultural_site_designation (JOIN protected_sites.natural_or_cultural_site_designation.listing_agency m.0pc79))