We have corrected the settings. However, sorry, due to the configuration of the upper network, this endpoint cannot have a timeout setting longer than 5 minutes when running externally.
When executed in isql
, it returns 20 results as follows.
target link step linkName linkId
LONG VARCHAR LONG VARCHAR LONG VARCHAR LONG VARCHAR LONG VARCHAR
_______________________________________________________________________________
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
http://purl.obolibrary.org/obo/GO_0016123 http://purl.obolibrary.org/obo/GO_0016123 0 xanthophyll biosynthetic process GO:0016123
20 Rows. -- 2216 msec.
But, I will not get this result if you run it over http. I am aware that I used to get the same results as with isql.
My apologies. I would like to correct part of the query from “GO:0016123”^^xsd:string to “GO:0016123” as follows
DEFINE sql:select-option "order"
DEFINE input:inference "go-trans"
PREFIX obo: <http://www.geneontology.org/formats/oboInOwl#>
SELECT ?target ?link ?step ?linkName ?linkId
WHERE {
{
SELECT DISTINCT ?target ?link ?step
WHERE {
{
SELECT ?target ?parent
WHERE {
?target obo:id "GO:0016123" .
VALUES (?parent) {(<http://purl.obolibrary.org/obo/GO_0008150>)}
}
}
?target rdfs:subClassOf ?parent
OPTION (TRANSITIVE,
T_DISTINCT,
T_EXISTS,
T_DIRECTION 2,
T_IN(?target),
T_OUT(?parent),
T_MIN(0),
T_STEP(?target) AS ?link,
T_STEP('step_no') AS ?step ) .
}
}
?link rdfs:label ?linkName .
?link obo:id ?linkId .
FILTER (?link != <http://purl.obolibrary.org/obo/GO_0008150>)
}
ORDER BY DESC(?step)
And, when I run this query with isql, I get 20 results in about 2 seconds, but when I run it with http, I get the following error:
Virtuoso 42000 Error TN...: Exceeded 1000000000 bytes in transitive
temp memory. use t_distinct, t_max or more T_MAX_memory options to
limit the search or increase the pool
Sorry, but due to the configuration of the upper network, this endpoint will not show any error messages when run from the outside.
I followed the error message and set T_MAX_memory as follows, but it gave me a syntax error.
OPTION (TRANSITIVE,
T_DISTINCT,
T_EXISTS,
T_DIRECTION 2,
T_IN(?target),
T_OUT(?parent),
T_MIN(0),
T_STEP(?target) AS ?link,
T_STEP('step_no') AS ?step,
T_MAX_memory 1000000000 ) .
→
Virtuoso 37000 Error SP030: SPARQL compiler, line 28: syntax error
at 'T_MAX_memory' before '1000000000'
OPTION (TRANSITIVE,
T_DISTINCT,
T_EXISTS,
T_DIRECTION 2,
T_IN(?target),
T_OUT(?parent),
T_MIN(0),
T_STEP(?target) AS ?link,
T_STEP('step_no') AS ?step,
T_MAX_memory(1000000000) ) .
→
Virtuoso 37000 Error SP030: SPARQL compiler, line 28: syntax error
at 'T_MAX_memory' before '('
Finally, I tried updating MaxMemPoolSize in virtuoso.ini, but the first error (= Virtuoso 42000 Error) was reproduced and the phenomenon did not change.
-MaxMemPoolSize = 134217728
+MaxMemPoolSize = 10000000000
Sorry for the delay in replying, I didn’t notice the notification.