On 28.04.2016 22:36, Sebastian Burgstaller wrote:
Thanks for your replies!

I like the idea of a resolver service on labs, but I think it cannot
solve the issue. e.g. for ChEMBL and IUPHAR (international union of
pharmacology), there is no way to guess from the identifier onto the
sub-domain this identifier belongs to. For ChEMBL, the pattern is:
'CHEMBL' prefix, followed by several digits, for IUPHAR IDs: digits
only. For a resolver service to work in this case, it would either need
to hold all ChEMBL IDs or would need to guess all ~5 URLs in order to
find the correct one. Both approaches do not seem sustainable at this point.

So a temporary workaround could be to add the correct url as a
qualifier, which I think would be doable, as most external ids will not
have additional qualifiers anyway.

One should also point out to the authorities maintaining these IDs that they should spend some effort on producing a workable solution for this. It seems they should be the first to provide a resolver service (or maybe it would be an "ID search engine" if it is so complicated).

With the qualifiers in place, Wikidata can also be used to achieve this, of course, but it seems we are just manually reverse engineering something that should be done at the site of whoever is controlling the ID registration.

Cheers,

Markus


Cheers,
Sebastian

On Thu, Apr 28, 2016 at 3:59 AM, Lydia Pintscher
<[email protected] <mailto:[email protected]>> wrote:

    On Wed, Apr 27, 2016 at 9:54 PM Markus Kroetzsch
    <[email protected]
    <mailto:[email protected]>> wrote:

        Doing this in Wikidata is tricky and takes time. I don't even
        see how to
        do it well (note that external tools like Reasonator or SQID
        would also
        need to implement the same smart resolution mechanism). Having
        several
        properties for the same thing just because of different ID types
        used
        does not seem very compelling either.

        How about building a little external referrer service that
        redirects IDs
        to the correct resource based on their structure? This could be
        a simple
        PHP-based web service hosted on Labs. In the end, the formatter
        URL is
        just for users to click on, so as long as you end up at the
        right place,
        this little indirection is maybe no problem.


    Yeah I also don't have a good solution for this case so far. IMDB is
    also causing issues. I think creating a service on labs is at least
    a good solution until we have something better built into Wikibase.

    Cheers
    Lydia
    --
    Lydia Pintscher - http://about.me/lydia.pintscher
    Product Manager for Wikidata

    Wikimedia Deutschland e.V.
    Tempelhofer Ufer 23-24
    10963 Berlin
    www.wikimedia.de <http://www.wikimedia.de>

    Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.

    Eingetragen im Vereinsregister des Amtsgerichts
    Berlin-Charlottenburg unter der Nummer 23855 Nz. Als gemeinnützig
    anerkannt durch das Finanzamt für Körperschaften I Berlin,
    Steuernummer 27/029/42207.

    _______________________________________________
    Wikidata mailing list
    [email protected] <mailto:[email protected]>
    https://lists.wikimedia.org/mailman/listinfo/wikidata




_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata



_______________________________________________
Wikidata mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata

Reply via email to