What is {diplomatic relation} of {Norway}, that has {long name} is {Federal Republic of Germany} ?
What is the diplomatic relationship between Norway and the us of a with the full title "Federal Republic Germany"?
What is the diplomatic relationship between Norway and the country with the full title "Federal Republic Germany"?
SELECT ?h WHERE { resource:Norway property:diplomatic_relation ?h . ?h property:official_name ?t . FILTER ( CONTAINS ( ?t , 'Federal Republic of Germany' ) ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q20> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P530>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1448> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <Federal Republic of Germany> . }
SELECT ?answer WHERE { wd:Q20 wdt:P530 ?answer . ?answer wdt:P1448 ?x FILTER(contains(?x , 'Federal Republic of Germany'))}