What is <Scottish Poetry Library poet ID> of <James Hogg> ?
[]
What is Scottish poetry library ID for James Hogg?
SELECT DISTINCT ?k WHERE { resource:James_Hogg property:Scottish_Poetry_Library_poet_ID ?k }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q941810> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P5470> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer. }
select distinct ?answer where { wd:Q941810 wdt:P5470 ?answer}