Re: [Wikidata] Wikidata HDT dump

2017-10-30 Thread Laura Morales
@Wouter

> Thanks for the pointer!  I'm downloading from 
> https://dumps.wikimedia.org/wikidatawiki/entities/latest-all.ttl.gz now.

Any luck so far?

___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] How to get direct link to image

2017-10-30 Thread Daniel Kinzler
Am 30.10.2017 um 19:10 schrieb Laura Morales:
>> You can also use the Wikimedia Commons API made by Magnus:
> https://tools.wmflabs.org/magnus-toolserver/commonsapi.php
>> It will also gives you metadata about the image (so you'll be able to cite 
>> the author of the image when you reuse it).
> 
> Is the same metadata also available in the Turtle/HDT dump?

Sadly not. We don't have proper structured meta-data yet. That's what the
Structured Data on Commons project is about:



-- 
Daniel Kinzler
Principal Platform Engineer

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

___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] How to get direct link to image

2017-10-30 Thread Laura Morales
> You can also use the Wikimedia Commons API made by Magnus:
https://tools.wmflabs.org/magnus-toolserver/commonsapi.php
> It will also gives you metadata about the image (so you'll be able to cite 
> the author of the image when you reuse it).

Is the same metadata also available in the Turtle/HDT dump?

___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] How to get direct link to image

2017-10-30 Thread Envel Le Hir
You can also use the Wikimedia Commons API made by Magnus:
https://tools.wmflabs.org/magnus-toolserver/commonsapi.php

It will also gives you metadata about the image (so you'll be able to cite
the author of the image when you reuse it).

On Mon, Oct 30, 2017 at 6:34 PM, Lucas Werkmeister  wrote:

> The actual value of the statement is just the image name itself (in this
> case “0 A.D. logo.png”), the c.w.o/wiki/ link is only generated for the
> HTML view. You can get the path to the actual file using
> Special:FilePath on Commons; for instance, the RDF export of the entity
> (https://www.wikidata.org/wiki/Special:EntityData/Q161234.ttl) contains
> the statement wd:Q161234 wdt:P18
>  %20Seleucide.jpg>.
>
>
> On 30.10.2017 18:16, Laura Morales wrote:
> > - wikidata entry: https://www.wikidata.org/wiki/Q161234
> > - "logo image" property pointing to: https://commons.wikimedia.org/
> wiki/File:0_A.D._logo.png
> >
> > However... that's a HTML page... How do I get a reference to the .png
> file? In this case https://upload.wikimedia.org/
> wikipedia/commons/1/1c/0_A.D._logo.png
> >
> > Thanks.
> >
> > ___
> > Wikidata mailing list
> > Wikidata@lists.wikimedia.org
> > https://lists.wikimedia.org/mailman/listinfo/wikidata
>
>
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] Wikidata Concepts Monitor

2017-10-30 Thread Yaroslav Blanter
The graphs's title is

*Wikidata item usage per semantic category in each project type*
on the page I linked to

http://wdcm.wmflabs.org/WDCM_UsageDashboard/

Thanks
Cheers
Yaroslav

On Mon, Oct 30, 2017 at 6:34 PM, Lydia Pintscher <
lydia.pintsc...@wikimedia.de> wrote:

> On Mon, Oct 30, 2017 at 6:27 PM, Yaroslav Blanter 
> wrote:
> > Thanks a lot all who are involved, very interesting.
> >
> > However, when I look at the statistics of usage,
> >
> > http://wdcm.wmflabs.org/WDCM_UsageDashboard/
> >
> > I see that Wikivoyage allegedly uses, in particular, genes, humans
> (quite a
> > lot, actually), and scientific articles. How could this be? I am pretty
> sure
> > it does not use any of these.
>
> That does indeed sound wrong :D  Which graph are you talking about?
> Then Goran can have a look.
>
>
> 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
>
> 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
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] How to get direct link to image

2017-10-30 Thread Lucas Werkmeister
The actual value of the statement is just the image name itself (in this
case “0 A.D. logo.png”), the c.w.o/wiki/ link is only generated for the
HTML view. You can get the path to the actual file using
Special:FilePath on Commons; for instance, the RDF export of the entity
(https://www.wikidata.org/wiki/Special:EntityData/Q161234.ttl) contains
the statement wd:Q161234 wdt:P18
.


On 30.10.2017 18:16, Laura Morales wrote:
> - wikidata entry: https://www.wikidata.org/wiki/Q161234
> - "logo image" property pointing to: 
> https://commons.wikimedia.org/wiki/File:0_A.D._logo.png
>
> However... that's a HTML page... How do I get a reference to the .png file? 
> In this case 
> https://upload.wikimedia.org/wikipedia/commons/1/1c/0_A.D._logo.png
>
> Thanks.
>
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata


___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] Wikidata Concepts Monitor

2017-10-30 Thread Lydia Pintscher
On Mon, Oct 30, 2017 at 6:27 PM, Yaroslav Blanter  wrote:
> Thanks a lot all who are involved, very interesting.
>
> However, when I look at the statistics of usage,
>
> http://wdcm.wmflabs.org/WDCM_UsageDashboard/
>
> I see that Wikivoyage allegedly uses, in particular, genes, humans (quite a
> lot, actually), and scientific articles. How could this be? I am pretty sure
> it does not use any of these.

That does indeed sound wrong :D  Which graph are you talking about?
Then Goran can have a look.


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

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
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] How to get direct link to image

2017-10-30 Thread Jan Ainali
Use Special:Filepath.

https://commons.wikimedia.org/wiki/Special:Filepath/0_A.D._logo.png

/Jan Ainali
(skickat på språng så ursäkta min fåordighet)

On Oct 30, 2017 18:16, "Laura Morales"  wrote:

> - wikidata entry: https://www.wikidata.org/wiki/Q161234
> - "logo image" property pointing to: https://commons.wikimedia.org/
> wiki/File:0_A.D._logo.png
>
> However... that's a HTML page... How do I get a reference to the .png
> file? In this case https://upload.wikimedia.org/
> wikipedia/commons/1/1c/0_A.D._logo.png
>
> Thanks.
>
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] How to get direct link to image

2017-10-30 Thread Jérémie Roquet
2017-10-30 18:16 GMT+01:00 Laura Morales :
> - wikidata entry: https://www.wikidata.org/wiki/Q161234
> - "logo image" property pointing to: 
> https://commons.wikimedia.org/wiki/File:0_A.D._logo.png
>
> However... that's a HTML page... How do I get a reference to the .png file? 
> In this case 
> https://upload.wikimedia.org/wikipedia/commons/1/1c/0_A.D._logo.png

That's not exactly straightforward, given you have to make a query for
every single file (or batch of up to 50 of them), but you can get the
URL through the API. In this case:

https://commons.wikimedia.org/w/api.php?action=query&format=json&prop=imageinfo&iiprop=url&titles=File%3A0_A.D._logo.png

Best regards,

-- 
Jérémie

___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] Wikidata Concepts Monitor

2017-10-30 Thread Yaroslav Blanter
Thanks a lot all who are involved, very interesting.

However, when I look at the statistics of usage,

http://wdcm.wmflabs.org/WDCM_UsageDashboard/

I see that Wikivoyage allegedly uses, in particular, genes, humans (quite a
lot, actually), and scientific articles. How could this be? I am pretty
sure it does not use any of these.

Cheers
Yaroslav

On Mon, Oct 30, 2017 at 6:12 PM, Lydia Pintscher <
lydia.pintsc...@wikimedia.de> wrote:

> Hey folks :)
>
> As you might already have seen in the birthday presents list there is
> another birthday present: the Wikidata Concepts Monitor (WDCM -
> http://wdcm.wmflabs.org). It is a tool that enables you to browse and
> build an understanding of the way Wikidata is used across the
> Wikimedia projects.
>
> Here’s the technical gist behind it: Currently 789 projects have
> client-side Wikidata usage tracking enabled, which allowed us to built
> a system that counts the number of pages using a particular Wikidata
> item per project. The count data were subjected to statistical
> modeling (1) by an unsupervised statistical learning algorithm -
> https://en.wikipedia.org/wiki/Latent_Dirichlet_allocation (2) that is
> typically used in distributional semantics -
> https://en.wikipedia.org/wiki/Distributional_semantics (3) to discover
> the most natural groupings of Wikidata items in 14 semantic categories
> - https://en.wikipedia.org/wiki/Topic_model (4) in respect to the way
> they are used across the Wikimedia universe by the respective
> communities.
>
> We hope for the WDCM system to become a tool that helps you discover.
> Beyond Wikidata’s syntax and semantics we are now beginning to learn
> about its pragmatics: the way Wikidata items will cluster in respect
> to how they are used is not necessarily the same as the way they go
> together in the Wikidata formal ontology. WDCM is the first step
> towards building an understanding of the highly complicated structure
> of Wikidata usage. This system can help you discover what Wikidata
> client projects are similar and in what respect, what semantic
> categories of items are used more or less frequently across 789
> projects, how do items connect in respect to how similarly they are
> used by our communities, what are the most popular items per project,
> and many more (hopefully) interesting things.
>
> Check out the WDCM and don’t forget to let us know what you think on
> the WDCM Wikidata project discussion page! I'd love to hear about any
> cool or interesting things you find in the visualizations.
> https://www.wikidata.org/wiki/Wikidata:Wikidata_Concepts_Monitor
>
> Thanks to Goran who put in a lot of time to get this up and running
> and everyone who helped him.
>
>
> 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
>
> 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
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


[Wikidata] How to get direct link to image

2017-10-30 Thread Laura Morales
- wikidata entry: https://www.wikidata.org/wiki/Q161234
- "logo image" property pointing to: 
https://commons.wikimedia.org/wiki/File:0_A.D._logo.png

However... that's a HTML page... How do I get a reference to the .png file? In 
this case https://upload.wikimedia.org/wikipedia/commons/1/1c/0_A.D._logo.png

Thanks.

___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


[Wikidata] Wikidata Concepts Monitor

2017-10-30 Thread Lydia Pintscher
Hey folks :)

As you might already have seen in the birthday presents list there is
another birthday present: the Wikidata Concepts Monitor (WDCM -
http://wdcm.wmflabs.org). It is a tool that enables you to browse and
build an understanding of the way Wikidata is used across the
Wikimedia projects.

Here’s the technical gist behind it: Currently 789 projects have
client-side Wikidata usage tracking enabled, which allowed us to built
a system that counts the number of pages using a particular Wikidata
item per project. The count data were subjected to statistical
modeling (1) by an unsupervised statistical learning algorithm -
https://en.wikipedia.org/wiki/Latent_Dirichlet_allocation (2) that is
typically used in distributional semantics -
https://en.wikipedia.org/wiki/Distributional_semantics (3) to discover
the most natural groupings of Wikidata items in 14 semantic categories
- https://en.wikipedia.org/wiki/Topic_model (4) in respect to the way
they are used across the Wikimedia universe by the respective
communities.

We hope for the WDCM system to become a tool that helps you discover.
Beyond Wikidata’s syntax and semantics we are now beginning to learn
about its pragmatics: the way Wikidata items will cluster in respect
to how they are used is not necessarily the same as the way they go
together in the Wikidata formal ontology. WDCM is the first step
towards building an understanding of the highly complicated structure
of Wikidata usage. This system can help you discover what Wikidata
client projects are similar and in what respect, what semantic
categories of items are used more or less frequently across 789
projects, how do items connect in respect to how similarly they are
used by our communities, what are the most popular items per project,
and many more (hopefully) interesting things.

Check out the WDCM and don’t forget to let us know what you think on
the WDCM Wikidata project discussion page! I'd love to hear about any
cool or interesting things you find in the visualizations.
https://www.wikidata.org/wiki/Wikidata:Wikidata_Concepts_Monitor

Thanks to Goran who put in a lot of time to get this up and running
and everyone who helped him.


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

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
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] Wikidata is becoming a proper citizen of the linked open data web

2017-10-30 Thread Lydia Pintscher
On Fri, Oct 27, 2017 at 11:06 AM, Jakob Voß  wrote:
> Hi Lydia an all of you,
>
> Lydia wrote:
>
>> The identifier can often be expanded to a full URI. (For example, LoC
>> ID n81114174 becomes http://id.loc.gov/authorities/names/n81114174.)
>> This full URI can then be used in the linked open data web to match
>> our data with other datasets and use both of them together easily.
>>
>>  From today on, Wikidata has full URIs for statements that represent
>> external identifiers in its RDF exports, and thereby becomes a proper
>> citizen of the linked open data web. To make this work the property
>> for the external ID needs to have a statement with property “URI used
>> in RDF” (https://www.wikidata.org/wiki/Property:P1921).
>
>
> Could you give an example? The RDF of item Q43027 with LoC ID n81114174 does
> not include the URI  if
> exported with http://www.wikidata.org/wiki/Special:EntityData/Q43027
>
> I also tried with a statement just added to make sure it's not some caching
> issue. Is the feature not enabled yet?
>
> In particular I'm interested how the external URI and Wikidata URI are
> connected.
>
> subject: 
> property: ???
> object: 
>
> I'm sure the RDF-property also depends on the Wikidata-property so this
> feature requires some additional tweaking. At least the property is not
> always owl:sameAs because we have at least 1-to-n relationships between
> Wikidata items and external ids.

Hey :)

It is back and your example works now for me.


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

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
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


[Wikidata] WikidataCon & Wikidata birthday

2017-10-30 Thread Léa Lacroix
Hello all,

As you know, this weekend we celebrated Wikidata's fifth birthday, during
the WikidataCon in Berlin, but also in Tokyo, Seoul and Munich.

We collected a lot of amazing *presents and stories*, that you can find
here: https://www.wikidata.org/wiki/Wikidata:Fifth_Birthday

During the WikidataCon, 200 members of the community met, shared their
knowledge, experiences, favorite tools, and discussed about a lot of
topics. We're currently trying to document the outcomes of the conference
as best as possible. You can already find some content on:
* the video recordings of the sessions happening in room A
https://media.ccc.de/b/conferences/wikidatacon/2017
* the slides and notes of each session of day 1
https://www.wikidata.org/wiki/Wikidata:WikidataCon_2017/Documentation/Proceedings
* the Commons category & subcategories
https://commons.wikimedia.org/wiki/Category:WikidataCon_2017

We are also very happy to announce that the *WikidataCon will be back in
October 2019 in Berlin*, to host even more attendees and more exciting
content.

In 2018, we encourage all the local communities to organize their own
events around the sixth birthday, in order to build a *Wikidata birthday
around the world*. Meetups or trainings, conferences or parties, big or
small, all the ideas are welcome to celebrate Wikidata with your local
community and engage new editors. More information will come in the next
months, but you can already mention your projects on this page:
https://www.wikidata.org/wiki/Wikidata:Sixth_Birthday

Cheers,

-- 
Léa Lacroix
Project Manager Community Communication for Wikidata

Wikimedia Deutschland e.V.
Tempelhofer Ufer 23-24
10963 Berlin
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
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata