apartment hotel provides which accomodations?
Entity Entity Entity Entity
m.0qzj84d m.0myyg5m m.0_qvfh3 m.0_r2p9q
Andreadakis Apartments Marriott Executive Apartments Sao Paulo AURA Travel Natural Pension
class entity
travel.accommodation m.0f86px
travel.accommodation travel.accommodation_type
Accommodation Apartment hotel
none none
travel.accommodation.accommodation_type
Accommodation 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 :travel.accommodation . 
VALUES ?x1 { :m.0f86px } 
?x0 :travel.accommodation.accommodation_type ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND travel.accommodation (JOIN travel.accommodation.accommodation_type m.0f86px))