which nobility system originates from republic of austria?
Entity
m.05wgmq
Austrian nobility
class entity
royalty.system_of_nobility m.0h7x
royalty.system_of_nobility location.country
System of nobility republic of austria
none none
royalty.system_of_nobility.country_of_origin
Country of origin
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 :royalty.system_of_nobility . 
VALUES ?x1 { :m.0h7x } 
?x0 :royalty.system_of_nobility.country_of_origin ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.system_of_nobility (JOIN royalty.system_of_nobility.country_of_origin m.0h7x))