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 of the JSON API and provides some demo queries and mutations.
More details are in this Phabricator task: https://phabricator.wikimedia.org/T173214
Happy new year,
Thomas (User:Tpt)
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 Pellissier Tanon < thomas@pellissier-tanon.fr> wrote:
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 of the JSON API and provides some demo queries and mutations.
More details are in this Phabricator task: https://phabricator.wikimedia.org/T173214
Happy new year,
Thomas (User:Tpt) _______________________________________________ Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
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_...
Cheers,
Thomas
Le 3 janv. 2018 à 18:07, Denny Vrandečić vrandecic@gmail.com a écrit :
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 Pellissier Tanon thomas@pellissier-tanon.fr wrote: 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 of the JSON API and provides some demo queries and mutations.
More details are in this Phabricator task: https://phabricator.wikimedia.org/T173214
Happy new year,
Thomas (User:Tpt) _______________________________________________ Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech _______________________________________________ Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
wikidata-tech@lists.wikimedia.org