What is the {constitutional republic} for {country of origin} of {The Star-Spangled Banner}
[]
The Star-Spangled Banner originated in which constitutional republic country?
SELECT DISTINCT ?f WHERE { resource:The_Star-Spangled_Banner property:country_of_origin ?f . ?f rdf:type ontology:constitutional_republic }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q44696> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P495> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q1520223> } 
 select distinct ?obj where { wd:Q44696 wdt:P495 ?obj . ?obj wdt:P31 wd:Q1520223 } 
United States of America