What is {is in the voivodeship of} of {canals of Amsterdam}, that has {Q48460} is {2--492352} ?
What is in the voivodeship of canals of Amsterdam, that has Q48460 is 2--492352?
What is in the voivodeship of canals of Amsterdam, that has Q48460 is 2--492352?
SELECT ?g WHERE { FILTER ( CONTAINS ( ?x , '2--492352' ) ) . ?g property:Dewey_Decimal_Classification ?x . resource:canals_of_Amsterdam property:located_in_the_administrative_territorial_entity ?g }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q340013> . ?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--492352> . }
SELECT ?answer WHERE { wd:Q340013 wdt:P131 ?answer . ?answer wdt:P1036 ?x FILTER(contains(?x , '2--492352'))}