[Tagging] wikidata instead of wikipedia

Jo winfixit at gmail.com
Tue Feb 25 18:19:39 UTC 2014


While I was adding name:etymology:wikidata=Q336977 tags to the many streets
in Belgium and the Netherlands that were name after the poet Guido Gezelle,
I encountered his tombstone.

I marked this with a subject:wikidata=Q336977 tag. I hope this is correct.
Does it make sense to add something to the wikidata or wikipedia page
itself?

Maybe adding an Overpass query as a url on wikipedia

https://nl.wikipedia.org/w/index.php?title=Guido_Gezelle&action=edit&section=9

is useful?

Anyway, I'm experimenting a bit to get a feel for the possibilities...

Polyglot (long time Wiktionary and OSM contributor)


2014-02-24 9:20 GMT+01:00 Erik Johansson <erjohan at gmail.com>:

> Yeah it's pretty "easy" to get wikidata data. Warning though; the data
> in  Wikidata is not all CC0 licensed. You never know where the data
> came from they are not as strict about these things as OSM is.
>
> lang=en;
> title=OpenStreetMap;
> bad_title=gracefully_handle_bad_input
>
> curl  "
> www.wikidata.org/w/api.php?action=wbgetentities&sites=${lang}wiki&titles=$title|$bad_title&props=labels&props=info&format=json
> "|
>   perl -lpe 's/([{},])/$1\n/g'
>
>
> #curl "$
> lang.wikipedia.org/w/api.php?action=query&titles=$title&prop=langlinks&format=json&lllimit=500
> "|
> #  sed 's/}/}\n/g'
>
> On Sun, Feb 23, 2014 at 4:59 PM, bulwersator <bulwersator at zoho.com> wrote:
> >
> >
> > ---- On Sun, 23 Feb 2014 06:31:18 -0800 Martin
> > Koppenhoefer<dieterdreist at gmail.com> wrote ----
> >
> > +1, it would be premature to switch completely to wikidata at this point,
> > and the human readable titles in the wikipedia tag have generally this
> > advantage over machine only cryptic ids
> >
> > cheers,
> > Martin
> > _______________________________________________
> > Tagging mailing list
> > Tagging at openstreetmap.org
> > https://lists.openstreetmap.org/listinfo/tagging
> >
> >
> > Maybe there is a simple way to obtain wikidata id of article X on
> wikipedia
> > Y? This would make unnecessary to introduce cryptic tags.
> >
> > _______________________________________________
> > Tagging mailing list
> > Tagging at openstreetmap.org
> > https://lists.openstreetmap.org/listinfo/tagging
> >
>
>
>
> --
> /emj
>
> _______________________________________________
> Tagging mailing list
> Tagging at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/tagging
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tagging/attachments/20140225/c34d1e1c/attachment.html>


More information about the Tagging mailing list