comunica / jQuery-Widget.js

🖼 A jQuery widget to query heterogeneous interfaces using Comunica SPARQL
http://query.linkeddatafragments.org/
MIT License
19 stars 34 forks source link

Feature/graphql #11

Closed rubensworks closed 6 years ago

rubensworks commented 6 years ago

This PR adds tabs for SPARQL and GraphQL-LD inputs.

Some GraphQL-LD example queries have been added as well.

@joachimvh Could you have a look to see if you can break anything?

joachimvh commented 6 years ago

Would rename compact results to something else, like "JSON tree results".

The labels next to the text boxes in the GraphQL tab react weirdly when resizing the text boxes.

Found some bugs related to memento, not sure which ones are because of memento and which ones are due to the interface. When doing the Brad Pitt query and one of the sources is Ruben's foaf profile, you get "Error requesting https://ruben.verborgh.org/profile/#me" and a single result. When you then press execute query again, you get the same single result but no error (but the query keeps running infinitely though and provides no new results). So internally an error disappears.

Similarly, the San Franciscans book query provides a typeerror when trying with memento (and has the same problem as above the second time)