What is <YSO ID> of <Lesotho> ?
[]
Which is the YSO ID for Lesotho?
SELECT DISTINCT ?w WHERE { resource:Lesotho property:YSO_ID ?w }
select distinct ?answer where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1013> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2347> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer. }
select distinct ?answer where { wd:Q1013 wdt:P2347 ?answer}