Hey all,

I've made a number of changes based on your feedback that are now live:

* TL;DR: http://queryr.wmflabs.org/api/items/Q64
* The data is now indexed by property id rather than property label
* The data sections now contain a property map with properties "label",
"id" and "url"
* Values of type entity id no longer get turned into strings. Instead they
get turned into maps with properties "label", "id" and "url"
* Item and property responses now contain links to get parts of their data,
ie "data_url": "api/items/Q64/data"
* Item responses now contain a link to Wikipedia
* Property responses now include the data section
* Bonus TL;DR: http://img.ctrlv.in/img/15/12/06/5663c0afad19a.jpg

Conal, Martynas, Bene and other JSON-LD proponents: I'm willing to spend
some time on this. However, I'd appreciate if someone who is already
familiar with JSON-LD can write the spec for the format. This does not need
to be elaborate or formal. An example of a simple item response (including
headers) with one or two values of different types will do plenty. Once I
have this I'll review it and implement it in the API software.

Cheers

--
Jeroen De Dauw - http://www.bn2vs.com
Software craftsmanship advocate
~=[,,_,,]:3
_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to