Hello,
I' ve sent a query which consists of big number of UNION blocks. Then I' ve
received this error:
"Virtuoso 37000 Error SP031: SPARQL compiler: The nesting depth of
subexpressions exceed limits of SPARQL compiler"
My UNION blocks is in the form of below:
{ ?y_0 <http://www.w3.org/2002/07/owl#sameAs> <
http://dbpedia.org/resource/Tetrahydrocannabinol> .
?Int_0 <
http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/interactionDrug1>
?y_0 .
?Int_0 <
http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/interactionDrug2>
?IntDrug_0 .
?Int_0 <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/text>
?IntEffect_0
}
UNION
{ ?y_1 <http://www.w3.org/2002/07/owl#sameAs> <
http://dbpedia.org/resource/Mescaline> .
?Int_1 <
http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/interactionDrug1>
?y_1 .
?Int_1 <
http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/interactionDrug2>
?IntDrug_1 .
?Int_1 <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/text>
?IntEffect_1
}
UNION
{ ?y_2 <http://www.w3.org/2002/07/owl#sameAs> <
http://dbpedia.org/resource/Bacillus_Calmette-Gu%C3%A9rin> .
?Int_2 <
http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/interactionDrug1>
?y_2 .
?Int_2 <
http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/interactionDrug2>
?IntDrug_2 .
?Int_2 <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/text>
?IntEffect_2
}
...
I use POST request method to send this big query.
How this error can be solved?
Best,
Burak Yönyül
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Virtuoso-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtuoso-users