<div dir="ltr"><div><div>I have finally found the way. I leave some examples here:<br><br>As JSON:<br>
<a href="http://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q5720&languages=en&format=json" target="_blank">http://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q5720&languages=en&format=json</a><br>

As XML:<br>
<a href="http://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q5720&languages=en&format=xml" target="_blank">http://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q5720&languages=en&format=xml</a><br>

<br>
Using title:<br><a href="http://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&titles=Valencian%20Community&languages=en&format=xml">http://www.wikidata.org/w/api.php?action=wbgetentities&sites=enwiki&titles=Valencian%20Community&languages=en&format=xml</a><br>
<br></div>Regards,<br><br></div>César<br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/4 Eugene Alvin Villar <span dir="ltr"><<a href="mailto:seav80@gmail.com" target="_blank">seav80@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Fri, Oct 4, 2013 at 1:35 AM, César Martínez Izquierdo <span dir="ltr"><<a href="mailto:cesar.izq@gmail.com" target="_blank">cesar.izq@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div><div>Thanks Eugene, that looks really promising.<br></div>I've seen there is an API to query Wikidata (results can be list of Wikidata item IDs encoded as JSON), but I don't see the way to get the item itself as JSON (or any other parseable format). Is it on the way?<span><font color="#888888"><br>

</font></span></div></div></blockquote><div><br></div></div><div>Unfortunately, I am not up-to-par with the API side of Wikidata. I assume that every bit of data on Wikidata can or will be accessible through APIs. Otherwise, it would limit the usefulness of Wikidata if we resort to scraping the HTML page.<br>

<br></div><div class="im"><div> <br></div></div></div></div></div></blockquote></div><br clear="all"><br>-- <br>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br>   César Martínez Izquierdo<br>   GIS developer<br>
   -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -<br>   ETC-SIA: <a href="http://sia.eionet.europa.eu/" target="_blank">http://sia.eionet.europa.eu/</a><br>   Universitat Autňnoma de Barcelona (SPAIN)<br>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
</div></div>