What is the {country} for {anthem} of {The Star-Spangled Banner}
What nation has The Star-Spangled Standard as its song of devotion?
What country has The Star-Spangled Banner as its anthem?
SELECT DISTINCT ?r WHERE { ?r property:anthem resource:The_Star-Spangled_Banner . ?r rdf:type ontology:country }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P85> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q44696> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q6256> } 
 select distinct ?sbj where { ?sbj wdt:P85 wd:Q44696 . ?sbj wdt:P31 wd:Q6256 } 
American Samoa United States of America