What is <SwimSwam ID> of <Michael Phelps> ?
[]
Which is the SwimSwam ID of Michael Phelps?
SELECT DISTINCT ?v WHERE { resource:Michael_Phelps property:SwimSwam_ID ?v }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q39562> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P4315> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer. }
select distinct ?answer where { wd:Q39562 wdt:P4315 ?answer}