LinkedDataFragments / Client.js

[DEPRECATED] A JavaScript client for Triple Pattern Fragments interfaces.
http://linkeddatafragments.org/
Other
92 stars 35 forks source link

Querying VIAF leads to errors #20

Closed cKlee closed 7 years ago

cKlee commented 7 years ago

Got errors when querying VIAF via the browser client:

http://client.linkeddatafragments.org/#datasources=http%3A%2F%2Fdata.linkeddatafragments.org%2Fviaf&query=SELECT%20%20%3Fviaf_id%20%0AWHERE%20{%0A%20%20%20%3Fviaf_id%20%20schema%3AgivenName%20%22Larry%22%20.%0A}

RubenVerborgh commented 7 years ago

This is a problem on the server side: it sends invalid Turtle (likely a problem with the VIAF HDT file). However, we should handle such errors more nicely on the client as well.

RubenVerborgh commented 7 years ago

This commit already stops the flood of errors in the browser GUI.

RubenVerborgh commented 7 years ago

This commit fixes recursive parser errors being thrown.

RubenVerborgh commented 7 years ago

The client itself is fixed: it now deals correctly with incorrect datasources. I'll also repair the VIAF datasource such that it is valid again.