geotld is the domain type fow which top level domain?
Entity Entity Entity
m.06bj46 m.0859rq m.010hnp1j
cat asia .bar
class entity
internet.top_level_domain m.02w6z0g
internet.top_level_domain internet.top_level_domain_type
Top Level Domain GeoTLD
none none
internet.top_level_domain.domain_type
Domain 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 :internet.top_level_domain . 
VALUES ?x1 { :m.02w6z0g } 
?x0 :internet.top_level_domain.domain_type ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND internet.top_level_domain (JOIN internet.top_level_domain.domain_type m.02w6z0g))