How to use the Wikidata API or an alternative to Freebase
<p>I have a couple of years of programming experience in Java (Android) and this is my first time with the use of API's to retrieve JSON data. So to get basic facts on a queried topic I thought of using Freebase API however this is now going to be deprecated and Google is moving it to Wikidata. However the query API is still in beta and I simply cannot understand the query API documentation or how to retrieve the facts. So is there an alternative to Wikidata and Freebase?</p>

<p>These are my final questions:</p>

<ul>
<li>Can someone please explain to me how I would go about using the Wikidata query API? AND retrieve the facts in a readable format? </li>
<li>Or can someone suggest me a better alternative to Freebase other than Wikidata?</li>
</ul>