What is <Art UK collection ID> of <National Gallery> ?
[]
What is Art UK collection ID for National Gallery?
SELECT DISTINCT ?b WHERE { resource:National_Gallery property:Art_UK_collection_ID ?b }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q180788> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1751> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer. }
select distinct ?answer where { wd:Q180788 wdt:P1751 ?answer}