Re: [Wikidata-tech] Wikidata + GraphQL

2018-01-21 Thread Thomas Pellissier Tanon
Nice to see you like it :-). I have just implemented a findEntitiesWithSPARQL feature that allows to execute a WHERE close of a SPARQL query and get the results as GraphQL objects. Here is an example: https://tools.wmflabs.org/tptools/wdql.html?query=%7B%0A%20%20douglas_adams_types%3A%20findEnti

Re: [Wikidata-tech] Wikidata + GraphQL

2018-01-03 Thread Denny Vrandečić
That's great! I was having the same thought, but was thinking on top of the SPARQL interface - but if it works on top of the API even better. Thanks for that, this might be quite interesting. I really hope that it can integrated into Wikidata proper. On Mon, Jan 1, 2018 at 9:12 AM Thomas Pellissi

[Wikidata-tech] Wikidata + GraphQL

2018-01-01 Thread Thomas Pellissier Tanon
Dear all, I just started to implement a simple GraphQL wrapper on top of the Wikibase API. For those who do not know what GraphQL is, it is a query language optimized for data retrieval: http://graphql.org/ It currently maps most of the PHP DataModel structures with an interface similar to the one