buildings is a type of which fictional setting?
Entity Entity Entity Entity Entity Entity Entity
m.0bnr95g m.09tv7kg g.12360br2 m.0ny_d m.02bh77 m.0gy90h6 m.0rbf7z2
Aperture Laboratories L.A. Dollhouse Sunnydale High Baxter Building Inn of the Prancing Pony Palace of the Inquisition Eyrie Building
class entity
fictional_universe.fictional_setting m.0cgh4
fictional_universe.fictional_setting fictional_universe.type_of_fictional_setting
Fictional Setting buildings
none none
fictional_universe.fictional_setting.setting_type
Setting type
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 :fictional_universe.fictional_setting . 
VALUES ?x1 { :m.0cgh4 } 
?x0 :fictional_universe.fictional_setting.setting_type ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND fictional_universe.fictional_setting (JOIN fictional_universe.fictional_setting.setting_type m.0cgh4))