What is {subject in} of {history of Tatarstan}, that has {Wikivoyage banner} is {Ik River banner.jpg} ?
What is the subject within the history of Tatarstan having Wikivoyage pennant of Ik Stream banner.jpg?
What is the subject in the history of Tatarstan having Wikivoyage banner of Ik River banner.jpg?
SELECT ?j WHERE { FILTER ( CONTAINS ( ?a , 'Ik River banner.jpg' ) ) . resource:history_of_Tatarstan property:facet_of ?j . ?j property:page_banner ?a }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q842600> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1269>. ?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/P948> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <Ik River banner.jpg> . }
SELECT ?answer WHERE { wd:Q842600 wdt:P1269 ?answer . ?answer wdt:P948 ?x FILTER(contains(?x , 'Ik River banner.jpg'))}