Greetings,
nepomuk search is not working when query contain non ascii characters.
Here is part of the output when quering from dolphin:
[Virtuoso Server]SR476: Function search_excerpt needs an array of VARCHAR as
argument 1, not an array of NVARCHAR (225))"
[/usr/bin/nepomukservicestub] "/usr/bin/nepomukservicestub(4274)" Soprano:
"SQLExecDirect failed on query 'sparql select distinct ?r ?reqProp1
(bif:concat(bif:search_excerpt(bif:vector('śmieszna'), ?v2))) as ?_n_f_t_m_ex_
where { { { ?r ?v1 ?v2 . ?v2 bif:contains
"'śmieszna'" . } UNION { ?r ?v1 ?v3 . ?v3 ?v4 ?v2 . ?v4
<http://www.w3.org/2000/01/rdf-schema#subPropertyOf>
<http://www.w3.org/2000/01/rdf-schema#label> . ?v2 bif:contains "'śmieszna'" .
} . ?r <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject> .
FILTER(!bif:exists((select (1) where { ?r
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Folder> . }))) . ?r
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#url> ?reqProp1 . } .
}' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]SR476:
Function search_excerpt needs an array of VARCHAR as argument 1, not an array
of NVARCHAR (225))"
[/usr/bin/nepomukservicestub] "/usr/bin/nepomukservicestub(4274)" Soprano:
"SQLExecDirect failed on query 'sparql select distinct ?r ?reqProp1
(bif:concat(bif:search_excerpt(bif:vector('śmieszna'), ?v2))) as ?_n_f_t_m_ex_
where { { { ?r ?v1 ?v2 . ?v2 bif:contains
"'śmieszna'" . } UNION { ?r ?v1 ?v3 . ?v3 ?v4 ?v2 . ?v4
<http://www.w3.org/2000/01/rdf-schema#subPropertyOf>
<http://www.w3.org/2000/01/rdf-schema#label> . ?v2 bif:contains "'śmieszna'" .
} . ?r <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject> .
FILTER(!bif:exists((select (1) where { ?r
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Folder> . }))) . ?r
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#url> ?reqProp1 . } .
}' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]SR476:
Function search_excerpt needs an array of VARCHAR as argument 1, not an array
of NVARCHAR (225))"
[/usr/bin/nepomukservicestub] "/usr/bin/nepomukservicestub(4274)" Soprano:
"SQLExecDirect failed on query 'sparql select distinct ?r ?reqProp1
(bif:concat(bif:search_excerpt(bif:vector('śmieszna'), ?v2))) as ?_n_f_t_m_ex_
where { { { ?r ?v1 ?v2 . ?v2 bif:contains
"'śmieszna'" . } UNION { ?r ?v1 ?v3 . ?v3 ?v4 ?v2 . ?v4
<http://www.w3.org/2000/01/rdf-schema#subPropertyOf>
<http://www.w3.org/2000/01/rdf-schema#label> . ?v2 bif:contains "'śmieszna'" .
} . ?r <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject> .
FILTER(!bif:exists((select (1) where { ?r
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Folder> . }))) . ?r
<http://www.semanticdesktop.org/ontologies/2007/01/19/nie#url> ?reqProp1 . } .
}' (iODBC Error: [OpenLink][Virtuoso iODBC Driver][Virtuoso Server]SR476:
Function search_excerpt needs an array of VARCHAR as argument 1, not an array
of NVARCHAR (225))"
Is this a bug or configuration issue ?
Best regards
Artur Szymiec
'-------------------------------------------------
KDE 4.5.95 (4.6 RC2) Kubuntu 10.10 Maverick
_______________________________________________
Nepomuk mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/nepomuk