what is the {collection} for {Northern Ireland} has {locator map image} as {LocationNorthernIreland.svg} ?
When did Northern Ireland become LocationNorthernIreland.svg}?
When was the Northern Ireland has been declared as LocationNorthernIreland.svg} ?
SELECT ?y WHERE { resource:Northern_Ireland property:locator_map_image ?l . FILTER ( CONTAINS ( ?j , 'LocationNorthernIreland.svg' ) ) . ?l property:locator_map_image ?j . ?l property:collection ?y }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q26> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P242> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <LocationNorthernIreland.svg> .
?statement <http://www.wikidata.org/entity/P195> ?value. 
} 

SELECT ?value WHERE { wd:Q26 p:P242 ?s . ?s ps:P242 ?x filter(contains(?x , 'LocationNorthernIreland.svg')) . ?s pq:P195 ?value}