I am trying to get Wikipedia infoxbox data from Wikidata's API, for a number of companies. For example, Deliveroo:
https://www.wikidata.org/w/api.php?action=wbgetentities&format=jsonfm&sites=enwiki&titles=Deliveroo&props=info%7Clabels%7Cdescriptions%7Cclaims&languages=en
The JSON the API returns (actually JSON embedded in HTML in this case - use format=jsonfm for pure JSON) is missing some data from the Wikipedia page like "Industry: Online food ordering, Food delivery". Is there any way to find this data with Wikidata? Also, the data that is returned uses codes in place of attribute names, for example, for the "Founded" attribute in the Wikipedia infobox, Wikidata has:
mainsnak": {
"snaktype": "value",
"property": "P571",
"hash": "7f617d23c9e1f8b6ce23c06baf4d3bdad9b4fbb9",
"datavalue": {
"value": {
"time": "+2013-00-00T00:00:00Z",
"timezone": 0,
"before": 0,
"after": 0,
"precision": 9,
"calendarmodel": "http://www.wikidata.org/entity/Q1985727"
},
"type": "time"
},
"datatype": "time"
},
I am guessing that "property": "P571",
refers to the founded attribute, but I am not sure how to map these codes the the actual text names. Any help would be greatly appreciated.