-
Notifications
You must be signed in to change notification settings - Fork 211
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
Virtuoso 37000 Error SP031: SPARQL: Internal error: The length of generated SQL text has exceeded 10000 lines of code #664
Comments
When I load your SQL and R2RML triple mappings script the query runs and returns no results ... How exactly do you load your R2RML mapping as I load via the Conductor R2RML tab ? |
I used the following script run from isql prompt.
Then I executed the SPARQL query from the Conductor Interactive SQL |
I can't reproduce the error with latest builds of Virtuoso Universal Server. I'd suspect multiple loads of same set blobs on;
select DB.DBA.R2RML_MAKE_QM_FROM_G ('http://trush.me/1') as x long varchar; and EXEC ('SPARQL ' || DB.DBA.R2RML_MAKE_QM_FROM_G ('http://trush.me/1')); ? |
@IvanMikhailov please find below the output of the requested commands execution.
I am obliged to delete the .ttl graph
Please find attached as well my |
@IvanMikhailov
I notice that the working environment has one difference that seems meaningful. It is in the following line
in comparison with the response of the not working environment,
See the attachment below for the full command result of the working environment.
If this is the case why in one environment it is exclusive and in the other one is not? In both environments the same simple example has been installed. |
@IvanMikhailov I have now obtained the generated SQL of the SPARQL query above from the working environment and from the not working environment. The difference is astonishing! The working one has 5 The environment currently not showing the problem has the following version
|
Hi, @BeppeM -- I'm wondering whether this issue resolved for you? Assuming you're still having this issue with some build(s) of 7.2.4, it would be helpful to know what your experience is with a current build of VOS 7.2.5.1 (stable/7) (prebuilt binary is an option here -- you can replace just the If you still have one environment showing the problem, and one not, it would be helpful to know the full version info (as shown in your last update here) for both of these instances. It would also be helpful to get output of this SPARQL query discussed here. |
Hi Ted
No, the issue has never been fixed.
What we did not to remain stuck was to switch to physical graphs. With them
all the queries worked fine and we never experienced any longer this (and
other) strange behaviours.
Cheers
Beppe
|
The following error --
-- is issued when I execute the SPARQL statement below on a virtual graph in Virtuoso Open Source. The graph has been obtained with the R2RML mapping.
The following are the needed operations to reproduce the issue starting from the scratch. It happens as well leaving the DB tables empty.
git clone
, compile it and install it. I got the version07.20.3217
virtuoso.ini
file in the parameterDefaultHost = ec.europa.eu
cartridges_dav.vad
,rdb2rdf_dav.vad
from theisql
promptSPARQL
theSPARQL_SELECT
role and thedba
primary roledownload the script
create_tables_bug.txt
rename it from
.txt
to.sql
and run it from theisql
prompt.copy the R2RML script
R2RML_bug.txt
inyour_directory
rename the downloaded file from
.txt
to.sql
finally run the following commands from the
isql
prompt.This should be enough to run the above SPARQL query
The text was updated successfully, but these errors were encountered: