Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Error SR596: Unable to place abnormally long XML tree #138

jakubklimek opened this Issue Feb 14, 2014 · 0 comments


None yet
2 participants

Federated query:

Virtuoso 42000 Error SR596: Unable to place abnormally long XML tree, 2097151 elements are above 2097151 limit

SPARQL query:

define sql:signal-void-variables 1 PREFIX gr: <http://purl.org/goodrelations/v1#>
PREFIX ruian: <http://ruian.linked.opendata.cz/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX ec: <http://ec.europa.eu/eurostat/ramon/ontologies/geographic.rdf#>
PREFIX s: <http://schema.org/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
select ?region ?s ?t
?check a s:CheckAction;
s:location/s:location ?region.
filter not exists {?region a ec:LAURegion;
ec:level 2;
dcterms:title ?l2label ;
ec:hasParentRegion ?lau1.
?lau1 dcterms:title ?l1label ;
ec:hasParentRegion ?nuts3 .
?nuts3 rdfs:label ?n3label ;
ec:hasParentRegion ?nuts2 .
?nuts2 rdfs:label ?n2label ;
ec:hasParentRegion ?nuts1 .
?nuts1 rdfs:label ?n1label.}
filter (regex(str(?region), "[0-9]{6}"))
bind (replace(str(?region), ".*([0-9]{6}).*", "$1") as ?notation)
service <http://ruian.linked.opendata.cz:8890/sparql> {
select ?s ?t where {?s a ?t; skos:notation ?notation .}

@iv-an-ru iv-an-ru was assigned by openlink Feb 16, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment