what is the purpose of mandarin oriental, barcelona and jw marriott hotel caracas buildings?
Entity
m.03pty
Hotel
class entity entity
architecture.building_function m.0myx8d6 m.0gwzj9f
architecture.building_function travel.hotel architecture.building
Building function JW Marriott Hotel Caracas Mandarin Oriental, Barcelona
none none none
architecture.building.building_function architecture.building.building_function
Building Function Building Function
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 :architecture.building_function . 
VALUES ?x1 { :m.0myx8d6 } 
VALUES ?x2 { :m.0gwzj9f } 
?x1 :architecture.building.building_function ?x0 . 
?x2 :architecture.building.building_function ?x0 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND architecture.building_function (AND (JOIN (R architecture.building.building_function) m.0myx8d6) (JOIN (R architecture.building.building_function) m.0gwzj9f)))