dbpedia / gstore

Git repo / triple store hybrid graph storage
Apache License 2.0
3 stars 0 forks source link

jetty queryt timeout too short #27

Open JJ-Author opened 1 year ago

JJ-Author commented 1 year ago

I have a problem with this query. I think it is a jetty problem (timeout or http resultset is not big enough)

manonthegithub commented 1 year ago

@JJ-Author please update to new version, check and close in case if fixed

JJ-Author commented 1 year ago

no it is unfortunately still an issue

root@dbpedia:~# curl -i 'http://localhost:3002/sparql'   -H 'Accept: application/sparql-results+json,*/*;q=0.9'   -H 'Accept-Language: en-US,en;q=0.9,de;q=0.8'   -H 'Cache-Control: no-cache'   -H 'Connect
ion: keep-alive'   -H 'Content-Type: application/x-www-form-urlencoded'   -H 'DNT: 1'   -H 'Origin: https://yasgui.triply.cc'   -H 'Pragma: no-cache'   -H 'Referer: https://yasgui.triply.cc/'   -H 'Sec-Fe
tch-Dest: empty'   -H 'Sec-Fetch-Mode: cors'   -H 'Sec-Fetch-Site: cross-site'   -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36'   -H
 'sec-ch-ua: "Chromium";v="104", " Not A;Brand";v="99", "Google Chrome";v="104"'   -H 'sec-ch-ua-mobile: ?0'   -H 'sec-ch-ua-platform: "Linux"'   --data-raw $'query=PREFIX%20fn%3A%20%3Chttp%3A%2F%2Fwww.w3
.org%2F2005%2Fxpath-functions%23%3E%0APREFIX%20dcat%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fdcat%23%3E%0APREFIX%20foaf%3A%20%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0APREFIX%20dataid%3A%20%3Chttp%3A%2F
%2Fdataid.dbpedia.org%2Fns%2Fcore%23%3E%0APREFIX%20dataidcv%3A%20%3Chttp%3A%2F%2Fdataid.dbpedia.org%2Fns%2Fcv%23%3E%0APREFIX%20owl%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23%3E%0APREFIX%20dct%3A
%20%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0APREFIX%20rdf%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0APREFIX%20rdfs%3A%20%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%
23%3E%0A%0ASELECT%20%3FsourceNS%20%3FtargetNS%20%3Ftypes%20(%3Fsize%2F1024%2F1024%20as%20%3FMiB)%20%0A%7B%0A%20%20%09%3Fgroup%20dct%3Atitle%20%3Ftypes%20.%0A%20%20%20%20%3Fdataid%20dataid%3Agroup%20%3Fgro
up%20.%0A%20%20%20%20%3Fdataid%20dct%3Apublisher%20%3Fpublisher%20.%0A%20%20%20%20%3Fdataid%20dataid%3Aartifact%3Fartifact%20.%0A%20%20%20%20GRAPH%20%3Fg2%20%7B%20%3Chttps%3A%2F%2Fdev.databus.dbpedia.org%
2Fmarvin%3E%20foaf%3Amaker%20%3Fpublisher%20.%20%7D%0A%20%20%20%20%3Fdataid%20dcat%3Adistribution%20%3Fdistribution%20.%0A%20%20%20%20%3Fdistribution%20dataidcv%3Atarget%20%3FtargetNS%20.%0A%20%20%20%20%3
Fdistribution%20dataidcv%3Asource%20%3FsourceNS%20.%0A%20%20%20%20%3Fdistribution%20dataid%3Afile%20%3Ffile%20.%0A%20%20%20%20%3Fdistribution%20dcat%3AbyteSize%20%3Fsize%20.%0A%20%20%20%20%23BIND(replace(
str(%3Fartifact)%2C%22https%3A%2F%2Fdev.databus.dbpedia.org%2Fmarvin%2Fdbpedia.org--ontology--%5BA-Za-z%5D%2B%2F%22%2C%22%22)%20as%20%3FsourceNS)%20.%0A%20%20%20%20FILTER%20(STR(%3FtargetNS)%20\u0021%3D%2
0%22NULL%22%20)%0A%20%20%20%20%23FILTER%20(STR(%3Ftarget)%20\u0021%3D%20%22NULL%22%20%26%26%20regex(%3FsourceNS%2C%22%3F.dbpedia.org%22)%0A%20%20%20%20%7D%20'   --compressed > sparql.out
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  673k    0  672k  100  1824  11467     30  0:01:00  0:01:00 --:--:--  179k
curl: (18) transfer closed with outstanding read data remaining

seems to hit a timeout of one minute now

manonthegithub commented 1 year ago

@JJ-Author I cannot reproduce this, so really hard to help. Maybe you could send me the data for reproduction?

manonthegithub commented 1 year ago

@JJ-Author try now, hope now works

JJ-Author commented 1 year ago

yes, great. it works now. thank you.