what is the {media legend} for {Budapest Metro} has {logo image} as {BKV metro.svg} ?
The logo image from BKVmetro.svg is what Budapest Metro media legend?
Who is the Budapest Metro media legend in the logo image BKV metro.svg?
SELECT ?m WHERE { FILTER ( CONTAINS ( ?i , 'BKV metro.svg' ) ) . resource:Budapest_Metro property:logo_image ?s . ?s property:media_legend ?m . ?s property:logo_image ?i }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q211044> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P154> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <BKV metro.svg> .
?statement <http://www.wikidata.org/entity/P2096> ?value. 
} 

SELECT ?value WHERE { wd:Q211044 p:P154 ?s . ?s ps:P154 ?x filter(contains(?x , 'BKV metro.svg')) . ?s pq:P2096 ?value}