What is {located in administrative unit} of {Archbasilica of St. John Lateran}, that has {Q48460} is {2--45634} ?
What is at Q484460, 2--45634 at the Archbasiclica of St. John Lateran in the administrative unit?
What is at Q484460, 2--45634 at the Archbasiclica of St. John Lateran in the administrative unit?
SELECT ?l WHERE { ?l property:Dewey_Decimal_Classification ?v . resource:Archbasilica_of_St._John_Lateran property:located_in_the_administrative_territorial_entity ?l . FILTER ( CONTAINS ( ?v , '2--45634' ) ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q84090> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131>. ?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/P1036> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <2--45634> . }
SELECT ?answer WHERE { wd:Q84090 wdt:P131 ?answer . ?answer wdt:P1036 ?x FILTER(contains(?x , '2--45634'))}