TriplyDB / Yasgui

Yet Another Sparql GUI
https://yasgui.triply.cc
MIT License
185 stars 55 forks source link

Inserting certain text in YASQE causes it to hang #132

Closed jakubklimek closed 4 years ago

jakubklimek commented 5 years ago

YASQE hangs when the following text is inserted:

<https://data.gov.cz/zdroj/lokální-katalogy/CSShZbzpcn/695492977> a <http://plugins.linkedpipes.com/ontology/e-sparqlEndpointList#Task>;
  <http://plugins.linkedpipes.com/ontology/e-sparqlEndpointList#endpoint> "https://data.cssz.cz/sparql";
  <http://plugins.linkedpipes.com/ontology/e-sparqlEndpointList#group> "https://data.cssz.cz/sparql";
  <http://plugins.linkedpipes.com/ontology/e-sparqlEndpointList#query> """PREFIX dcat: <http://www.w3.org/ns/dcat#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

CONSTRUCT {
   <https://data.gov.cz/zdroj/lokální-katalogy/CSShZbzpcn/695492977> dcat:endpointURL \"https://data.cssz.cz/sparql\"^^xsd:anyURI ;
   dcat:dataset ?dataset .
} WHERE {
  ?dataset a dcat:Dataset .
}""" .
LaurensRietveld commented 4 years ago

This is fixed in the latest version (see https://yasgui.triply.cc)