And if the data serialization is JSON, why not use JSON-LD which is all the rage these days? http://www.w3.org/TR/json-ld/
On Wed, Dec 2, 2015 at 8:27 AM, Conal Tuohy conal.tuohy@gmail.com wrote:
Hi Jeroen
Yes I had expected to see links almost everywhere, given the nature of the underlying dataset. For instance I looked at the representation of New Zealand, and found a screed of data including the name of the Prime Minister, the name of the Capital City, the name of the Highest Peak, and so on, but with no links to any of those things.
At least the names of those things are meaningful data in themselves, but many of the other names are not at all useful, e.g.
"coat of arms": { "value": "Coat of arms of New Zealand", "type": "string" } "history of topic": { "value": "history of New Zealand", "type": "string" }
On 2 December 2015 at 10:18, Jeroen De Dauw jeroendedauw@gmail.com wrote:
Hey Conal,
I was interested to take a look at your API but I was surprised to see it described as REST. It doesn't look like hypertext to me. In a REST API, related resources should be represented using hyperlinks.
There are hyperlinks in various places. For instance at [0], the items are linked, and pagination can be done via link headers in the response. Are these the type of hyperlinks you are looking for? In addition, are there links that you'd expect at other locations and that are not there yet? Note that a lot of stuff might not be there yet simply due to the very preliminary state of the API, for instance [1].
[0] http://queryr.wmflabs.org/api/items [1] https://github.com/JeroenDeDauw/QueryrAPI/issues/13
Cheers
-- Jeroen De Dauw - http://www.bn2vs.com Software craftsmanship advocate ~=[,,_,,]:3
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
-- Conal Tuohy http://conaltuohy.com/ @conal_tuohy +61-466-324297
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata