I use api.php to get the QID of something using its English label.
Example: Mozambique
→ Q1029
$ wget --quiet -O - "http://www.wikidata.org/w/api.php?action=wbgetentities \
&sites=enwiki&titles=Mozambique&format=xml&props="
<?xml version="1.0"?><api success="1"><entities><entity id="Q1029" type="item" /></entities></api>
QUESTION: How to do the same with a single small SPARQL request?