what is the hotel grading authority that awards golden sand?
Entity Entity
m.0rz850f m.0rz8566
ABC ABC
class class entity
travel.hotel_grading_authority travel.hotel_grade m.0rz849k
travel.hotel_grading_authority travel.hotel_grade travel.hotel
Hotel Grading Authority Hotel Grade Golden Sand
none none none
travel.hotel_grade.awarded_by travel.hotel.grade
Awarded By Grade (Stars)
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_grading_authority . 
?x1 :type.object.type :travel.hotel_grade . 
VALUES ?x2 { :m.0rz849k } 
?x1 :travel.hotel_grade.awarded_by ?x0 . 
?x2 :travel.hotel.grade ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND travel.hotel_grading_authority (JOIN (R travel.hotel_grade.awarded_by) (JOIN (R travel.hotel.grade) m.0rz849k)))