What is <Surman ID> of <John Bunyan> ?
[]
What is John Bunyan's Surman ID?
SELECT DISTINCT ?g WHERE { resource:John_Bunyan property:Surman_ID ?g }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q108206> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P3392> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer. }
select distinct ?answer where { wd:Q108206 wdt:P3392 ?answer}