what kind of airport is the beni mellal airport?
Entity
m.01xpkvj
Public airport
class entity
aviation.airport_type m.010vrfjd
aviation.airport_type aviation.airport
Airport type Beni Mellal Airport
none none
aviation.airport_type.airports_of_this_type
Airports of this 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 :aviation.airport_type . 
VALUES ?x1 { :m.010vrfjd } 
?x0 :aviation.airport_type.airports_of_this_type ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND aviation.airport_type (JOIN aviation.airport_type.airports_of_this_type m.010vrfjd))