W3C home > Mailing lists > Public > public-sparql-dev@w3.org > January to March 2017

Re: Matching on accented letters

From: Naveen Chawla <naveen.chwl@gmail.com>
Date: Thu, 09 Mar 2017 16:44:50 +0000
Message-ID: <CAGs7EcVufGvjgSWJG7B05-g5J8amMTbkEsnvZhDo7Dm4rDnHnQ@mail.gmail.com>
To: "EBIRIM, Angela" <ebirima@parliament.uk>, "public-sparql-dev@w3.org" <public-sparql-dev@w3.org>
Store the normalized names in the db and just search against that. I think
trying to match against all possible letter names would give a very slow
performance. What do you think?

On Tue, 28 Feb 2017, 10:26 p.m. EBIRIM, Angela, <ebirima@parliament.uk>

I am looking for a way to match letters and their accented equivalents in a
SPARQL query.  For example, a search for names beginning with the letter O
would return names such as Osbourne, Owen, but also Ă–men.  I have found
lots of resources around normalising accented characters, but essentially
we are trying to go the other way, by taking a non-accented character and
matching it against itself and all its possible accented equivalents.

Has anyone done this before and if so how?

UK Parliament Disclaimer: This e-mail is confidential to the intended
recipient. If you have received it in error, please notify the sender and
delete it from your system. Any unauthorised use, disclosure, or copying is
not permitted. This e-mail has been checked for viruses, but no liability
is accepted for any damage caused by any virus transmitted by this e-mail.
This e-mail address is not secure, is not encrypted and should not be used
for sensitive data.
Received on Friday, 10 March 2017 09:27:31 UTC

This archive was generated by hypermail 2.3.1 : Friday, 10 March 2017 09:27:32 UTC