What is <National Baseball Hall of Fame and Museum ID> of <Willie Mays> ?
[]
Which is National Baseball Hall of Fame and Museum of Willie Mays
SELECT DISTINCT ?a WHERE { resource:Willie_Mays property:National_Baseball_Hall_of_Fame_and_Museum_ID ?a }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q561852> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P4164> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer. }
select distinct ?answer where { wd:Q561852 wdt:P4164 ?answer}