Unexpected non-MediaWiki exception encountered, of type "SMWSparqlDatabaseError"
exception 'SMWSparqlDatabaseError' with message 'A SPARQL query error has occurred
Query: PREFIX wiki: <http://culture.si/en/Special:URIResolver/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX swivt: <http://semantic-mediawiki.org/swivt/1.0#>
PREFIX property: <http://culture.si/en/Special:URIResolver/Property-3A>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?result WHERE {
?result swivt:wikiPageSortKey ?resultsk .
{ ?result rdf:type wiki:Category-3AProducers . }
?result property:Region wiki:SI-2D1 .

}
ORDER BY ASC(?resultsk)
OFFSET 0
LIMIT 51
Error: Query refused
Endpoint: http://sparql.ljudmila.net:8890/sparql/
HTTP response code: 500
' in /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlDatabase.php:592
Stack trace:
#0 /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlDatabase.php(465): SMWSparqlDatabase->throwSparqlErrors('http://sparql.l...', 'PREFIX wiki: <h...')
#1 /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlDatabase.php(243): SMWSparqlDatabase->doQuery('PREFIX wiki: <h...')
#2 /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(340): SMWSparqlDatabase->select('?result', '?result swivt:w...', Array, Array)
#3 /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/storage/SMW_SparqlStore.php(387): SMWSparqlStoreQueryEngine->getInstanceQueryResult(Object(SMWQuery))
#4 /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php(505): SMWSparqlStore->getQueryResult(Object(SMWQuery))
#5 /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/parserhooks/SMW_Ask.php(40): SMWQueryProcessor::getResultFromQuery(Object(SMWQuery), Array, 2, 1)
#6 [internal function]: SMWAsk::render(Object(Parser), '[[Category:Prod...', '?Street', '?Town', '?Website', '?Email', '?Telephone', 'format=template', 'template=Addres...')
#7 /home/culture/culture.si/w/includes/parser/Parser.php(3203): call_user_func_array(Array, Array)
#8 /home/culture/culture.si/w/includes/parser/Preprocessor_DOM.php(1085): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#9 /home/culture/culture.si/w/includes/parser/Parser.php(3369): PPFrame_DOM->expand(Object(PPNode_DOM))
#10 /home/culture/culture.si/w/includes/parser/Preprocessor_DOM.php(1085): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#11 /home/culture/culture.si/w/includes/parser/Parser.php(3369): PPFrame_DOM->expand(Object(PPNode_DOM))
#12 /home/culture/culture.si/w/includes/parser/Preprocessor_DOM.php(1085): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#13 /home/culture/culture.si/w/includes/parser/Parser.php(2988): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#14 /home/culture/culture.si/w/includes/parser/Parser.php(1101): Parser->replaceVariables('{{Region\n|name=...')
#15 /home/culture/culture.si/w/includes/parser/Parser.php(348): Parser->internalParse('{{Region\n|name=...')
#16 /home/culture/culture.si/w/includes/WikiPage.php(2914): Parser->parse('{{Region\n|name=...', Object(Title), Object(ParserOptions), true, true, 102525)
#17 /home/culture/culture.si/w/includes/PoolCounter.php(187): PoolWorkArticleView->doWork()
#18 /home/culture/culture.si/w/includes/Article.php(587): PoolCounterWork->execute()
#19 /home/culture/culture.si/w/includes/actions/ViewAction.php(40): Article->view()
#20 /home/culture/culture.si/w/includes/Wiki.php(484): ViewAction->show()
#21 /home/culture/culture.si/w/includes/Wiki.php(278): MediaWiki->performAction(Object(Article))
#22 /home/culture/culture.si/w/includes/Wiki.php(593): MediaWiki->performRequest()
#23 /home/culture/culture.si/w/includes/Wiki.php(503): MediaWiki->main()
#24 /home/culture/culture.si/w/index.php(58): MediaWiki->run()
#25 {main}

#0 /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlDatabase.php(465): SMWSparqlDatabase->throwSparqlErrors('http://sparql.l...', 'PREFIX wiki: <h...')
#1 /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/sparql/SMW_SparqlDatabase.php(243): SMWSparqlDatabase->doQuery('PREFIX wiki: <h...')
#2 /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/storage/SMW_SparqlStoreQueryEngine.php(340): SMWSparqlDatabase->select('?result', '?result swivt:w...', Array, Array)
#3 /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/storage/SMW_SparqlStore.php(387): SMWSparqlStoreQueryEngine->getInstanceQueryResult(Object(SMWQuery))
#4 /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/SMW_QueryProcessor.php(505): SMWSparqlStore->getQueryResult(Object(SMWQuery))
#5 /home/culture/culture.si/w/extensions/SemanticMediaWiki/includes/parserhooks/SMW_Ask.php(40): SMWQueryProcessor::getResultFromQuery(Object(SMWQuery), Array, 2, 1)
#6 [internal function]: SMWAsk::render(Object(Parser), '[[Category:Prod...', '?Street', '?Town', '?Website', '?Email', '?Telephone', 'format=template', 'template=Addres...')
#7 /home/culture/culture.si/w/includes/parser/Parser.php(3203): call_user_func_array(Array, Array)
#8 /home/culture/culture.si/w/includes/parser/Preprocessor_DOM.php(1085): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#9 /home/culture/culture.si/w/includes/parser/Parser.php(3369): PPFrame_DOM->expand(Object(PPNode_DOM))
#10 /home/culture/culture.si/w/includes/parser/Preprocessor_DOM.php(1085): Parser->braceSubstitution(Array, Object(PPTemplateFrame_DOM))
#11 /home/culture/culture.si/w/includes/parser/Parser.php(3369): PPFrame_DOM->expand(Object(PPNode_DOM))
#12 /home/culture/culture.si/w/includes/parser/Preprocessor_DOM.php(1085): Parser->braceSubstitution(Array, Object(PPFrame_DOM))
#13 /home/culture/culture.si/w/includes/parser/Parser.php(2988): PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#14 /home/culture/culture.si/w/includes/parser/Parser.php(1101): Parser->replaceVariables('{{Region\n|name=...')
#15 /home/culture/culture.si/w/includes/parser/Parser.php(348): Parser->internalParse('{{Region\n|name=...')
#16 /home/culture/culture.si/w/includes/WikiPage.php(2914): Parser->parse('{{Region\n|name=...', Object(Title), Object(ParserOptions), true, true, 102525)
#17 /home/culture/culture.si/w/includes/PoolCounter.php(187): PoolWorkArticleView->doWork()
#18 /home/culture/culture.si/w/includes/Article.php(587): PoolCounterWork->execute()
#19 /home/culture/culture.si/w/includes/actions/ViewAction.php(40): Article->view()
#20 /home/culture/culture.si/w/includes/Wiki.php(484): ViewAction->show()
#21 /home/culture/culture.si/w/includes/Wiki.php(278): MediaWiki->performAction(Object(Article))
#22 /home/culture/culture.si/w/includes/Wiki.php(593): MediaWiki->performRequest()
#23 /home/culture/culture.si/w/includes/Wiki.php(503): MediaWiki->main()
#24 /home/culture/culture.si/w/index.php(58): MediaWiki->run()
#25 {main}