mountain bike describes which of the bicycle models?
Entity Entity Entity Entity
m.03qpf8g m.0603p8l m.0rzd57c m.0cvm6d9
Specialized Stumpjumper 2003 Rocky Mountain Elevation S-Works Epic Carbon 29 XTR (2013) Kona Cinder Cone
class entity
bicycles.bicycle_model m.0_mjp
bicycles.bicycle_model bicycles.bicycle_type
Bicycle model Mountain bike
none none
bicycles.bicycle_model.bicycle_type
Bicycle 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 :bicycles.bicycle_model . 
VALUES ?x1 { :m.0_mjp } 
?x0 :bicycles.bicycle_model.bicycle_type ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND bicycles.bicycle_model (JOIN bicycles.bicycle_model.bicycle_type m.0_mjp))