the people of first spanish republic have what form of government?
Entity
m.01d9r3
Presidential system
class entity
government.form_of_government m.0346sd
government.form_of_government location.country
Form of Government First Spanish Republic
none none
government.form_of_government.countries
Countries
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 :government.form_of_government . 
VALUES ?x1 { :m.0346sd } 
?x0 :government.form_of_government.countries ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND government.form_of_government (JOIN government.form_of_government.countries m.0346sd))