mff-uk / odcs-dpus

Repository for DPUs (Data processing units) for ETL tool for RDF data
3 stars 2 forks source link

UK-SparqlConstruct Virtuoso fail with unicode characters in literal with language tag #94

Closed jakubklimek closed 7 years ago

jakubklimek commented 9 years ago

http://fit2.opendata.cz:8080/unifiedviews/#!PipelineEdit/4

The query

CONSTRUCT
{
<a> <b> "í"@cs
.
}
WHERE
{
}
fails. When the language tag is removed, it is OK. When í is substituted by non-unicode character like i, it is also OK. May be a bug in Virtuoso driver, however, did not happen with sparql endpoint nor interactive sql.

eu.unifiedviews.dpu.DPUException: Problem with query at cz.skodape.app.server.transformer.sparq.construct.SparqConstruct.innerExecute(SparqConstruct.java:64) at 
cz.cuni.mff.xrg.uv.boost.dpu.advanced.DpuAdvancedBase.execute(DpuAdvancedBase.java:204) at
 cz.cuni.mff.xrg.odcs.backend.execution.dpu.DPUExecutor.executeInstance(DPUExecutor.java:231) at
 cz.cuni.mff.xrg.odcs.backend.execution.dpu.DPUExecutor.execute(DPUExecutor.java:369) at 
cz.cuni.mff.xrg.odcs.backend.execution.dpu.DPUExecutor.run(DPUExecutor.java:451) at 
java.lang.Thread.run(Thread.java:745) 
Caused by: org.openrdf.query.UpdateExecutionException: : SPARQL execute failed:[WITH INSERT { "í"@cs . } USING WHERE { }] Exception:virtuoso.jdbc4.VirtuosoException: Language is specified for typed literal in DB.DBA.RDF_MAKE_LONG_OF_TYPEDSQLVAL() at 
virtuoso.sesame2.driver.VirtuosoRepositoryConnection.executeSPARUL(VirtuosoRepositoryConnection.java:1834) at 
virtuoso.sesame2.driver.VirtuosoRepositoryConnection$4.execute(VirtuosoRepositoryConnection.java:518) at 
cz.skodape.app.server.transformer.sparq.construct.SparqConstruct.innerExecute(SparqConstruct.java:60) ... 5 more
jakubklimek commented 7 years ago

UnifiedViews is deprecated in favor of LinkedPipes ETL