-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a cache on the demo server? #16
Comments
Hi Franck, thanks for your message. No it's not a caching problem, I manually checked the initial query on the your endpoint and it seems that the server does not like the default timeout of 30 seconds (timeout=30000) and just returns an empty result: { "head": { "link": [], "vars": ["class", "instanceCount"] }, "results": { "distinct": false, "ordered": true, "bindings": [ ] } } But if you change the timeout to 0 it returns results as expected: { "head": { "link": [], "vars": ["class", "instanceCount"] },
"results": { "distinct": false, "ordered": true, "bindings": [
{ "class": { "type": "uri", "value": "http://www.w3.org/ns/oa#TextQuoteSelector" } , "instanceCount": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "2375909" }},
{ "class": { "type": "uri", "value": "http://www.w3.org/ns/oa#Annotation" } , "instanceCount": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "2375909" }},
{ "class": { "type": "uri", "value": "http://www.w3.org/ns/prov#Entity" } , "instanceCount": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "1860320" }},
{ "class": { "type": "uri", "value": "http://www.w3.org/ns/oa#TextPositionSelector" } , "instanceCount": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "1860319" }},
{ "class": { "type": "uri", "value": "http://www.arg.dundee.ac.uk/aif#I-node" } , "instanceCount": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "119053" }},
{ "class": { "type": "uri", "value": "http://purl.org/ontology/bibo/AcademicArticle" } , "instanceCount": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "111257" }},
{ "class": { "type": "uri", "value": "http://schema.org/ScholarlyArticle" } , "instanceCount": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "111257" }},
{ "class": { "type": "uri", "value": "http://ns.inria.fr/covid19/DocumentBody" } , "instanceCount": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "111256" }},
{ "class": { "type": "uri", "value": "http://purl.org/spar/fabio/Abstract" } , "instanceCount": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "111256" }},
{ "class": { "type": "uri", "value": "http://purl.org/spar/fabio/ResearchPaper" } , "instanceCount": { "type": "typed-literal", "datatype": "http://www.w3.org/2001/XMLSchema#integer", "value": "111256" }} ] } } So I think this is a configuration issue on your endpoint, e.g. the endpoint http://covidontheweb.inria.fr/sparql works fine with timeout=30000. If you have further questions feel free to ask. |
Hi Mark, thx for your quick reply, much appreciated. I understand what you say, although I'm not sure how I can change that from my side: our Virtuoso is configured with quite large timeouts: The query that you show is the one sent by LD-VOWL, right? How can I ask LD-VOWL to set a timeout=0 instead of 30000? Is it a config parameter somewhere? Thx, |
Hi Franck, the Virtuoso settings you mention don't explain the endpoint behavior, because it seems to return empty results for any timeout which is not zero, including small values which should be fine according to these settings. So I still think you have a configuration issue there. Unfortunately you can't change the timeout for the demo server, but you could run LD-VOWL locally and do one of the following:
I just tried both ways and it works fine on your endpoint, see screenshot below: |
Thx a lot for the explanation Mark. Indeed I tried with a timeout up to 4 minutes and the server still returns an empty response, whereas the query completes in 4 to 5 seconds if the timeout is set to 0. So there must be something wrong on that side. Thanks also for the hint about the configuration of LD-VOWL, I'll try to deploy one. By the way, that would be great if you guys could add some documentation, typically about the sparqlTimeout parameter, but maybe also on parameters (?). Thx for your support, |
Hey guys,
I just discovered LD-VOWL, this is awesome! The killer app that WebVOWL was missing.
I've been playing with the demo server at http://vowl.visualdataweb.org/ldvowl/ with 2 endpoints. That works great for one of them.
The second is really huge (1.3 M triples) and it seems that queries fail or time out. So I changed the data to have just a small subset, but nothing changes: the result is still "no classes found". I emptied my browser's cache to make sure.
My endpoint is: http://covidontheweb.inria.fr/allInOne/sparql
It seems like there is a cache somewhere on the server, such that although the data has changed in my endpoint, the result remains the same.
Is that the case? Is there a way you could clear that cache?
Or is there really something in this endpoint that makes it not work with LD-VOWL?
Any advise welcome.
Thx,
Franck.
The text was updated successfully, but these errors were encountered: