what animal is the mascot of salem state and ripley high school?
Entity
m.03z8k_t
Viking
class entity entity
education.school_mascot m.03b_l3l m.0780xj
education.school_mascot education.school education.university
School mascot Ripley High School salem state
none none none
education.educational_institution.mascot education.school_mascot.school
Mascot School
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 :education.school_mascot . 
VALUES ?x1 { :m.03b_l3l } 
VALUES ?x2 { :m.0780xj } 
?x1 :education.educational_institution.mascot ?x0 . 
?x0 :education.school_mascot.school ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND education.school_mascot (AND (JOIN (R education.educational_institution.mascot) m.03b_l3l) (JOIN education.school_mascot.school m.0780xj)))