which hotel is the hotel brand which residence inn san juan capistrano is part of?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0nbwr9h m.0myy9r8 m.0wz80zb m.0nbwr93 m.0y854w_ m.0nbwr8y m.0nbwr9w m.0wf7tcs m.0zg2zz8 m.0ypncxs m.0z459z7 m.0wzdmp5 m.0wfg94l m.0n28tkt m.0pc1n04 m.0z3w6j4 m.0zp0ty8 m.0wrhdd1 m.0zglgrx m.0n9c_dw m.0wk1prp m.0n28x7g m.0p8d2vx m.0wqmggb m.0ws6zql m.0nbwr9d m.0y8cmbq m.0wdynsj m.0wz6k2b m.0wpb80g m.0lvdqv2
Residence Inn Irvine John Wayne Airport/Orange County Residence Inn San Jose Escazu Residence Inn Phoenix Airport Residence Inn Sacramento Cal Expo Residence Inn Houston Clear Lake Residence Inn Camarillo Residence Inn San Diego Rancho Bernardo/Carmel Mountain Ranch Residence Inn Pasadena Arcadia Residence Inn Melbourne Residence Inn Atlanta Airport North/Virginia Avenue Residence Inn Jacksonville Baymeadows Residence Inn Tempe Residence Inn Alexandria Old Town/Duke Street Residence Inn San Francisco Airport/Oyster Point Waterfront Residence Inn St. Petersburg Clearwater Residence Inn Dallas Las Colinas Residence Inn Orlando at SeaWorld Residence Inn Fresno Residence Inn New Orleans Metairie Residence Inn Costa Mesa Newport Beach Residence Inn Dallas Market Center Residence Inn Alexandria Old Town South at Carlyle Residence Inn Phoenix Desert View at Mayo Clinic Residence Inn Newark Elizabeth/Liberty International Airport Residence Inn Pleasant Hill Concord Residence Inn Irvine Spectrum Residence Inn Atlanta Cumberland Residence Inn Allentown Bethlehem/Lehigh Valley Airport Residence Inn Cypress Los Alamitos Residence Inn Salt Lake City Cottonwood Residence Inn Calgary Airport
class class entity
travel.hotel travel.hotel_brand m.0nbwy7_
travel.hotel travel.hotel_brand travel.hotel
Hotel Hotel Brand Residence Inn San Juan Capistrano
none none none
travel.hotel_brand.hotels_in_this_brand travel.hotel.operating_brand
Hotels in this Brand Part of Brand
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 :travel.hotel . 
?x1 :type.object.type :travel.hotel_brand . 
VALUES ?x2 { :m.0nbwy7_ } 
?x1 :travel.hotel_brand.hotels_in_this_brand ?x0 . 
?x2 :travel.hotel.operating_brand ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND travel.hotel (JOIN (R travel.hotel_brand.hotels_in_this_brand) (JOIN (R travel.hotel.operating_brand) m.0nbwy7_)))