Re: [Wikidata] Software API : {{P:part of}} or {{P:API}} ?

2016-07-13 Thread Loic Dachary


On 13/07/2016 03:53, Thad Guidry wrote:
> Loïc
> ​,​
> 
> Yes, I highly suggest a property like that to complete the graph structure 
> between the 2 kinds of topics.
> 
> but instead of something very narrow like "provides API" you might call it 
> "provides Service" ?  Perhaps you have something along those lines already ?
> 
> Then you can just query those that provide a Service of the Class=API  ... or 
> some such... that seems more flexible with a property like "provides Service" 
>  which can be just about anything... or just simply "provides"  or "offers".
> 
> Thoughts ?  already have properties like that ?

I did not find anything like that in 
https://www.wikidata.org/wiki/Wikidata:List_of_properties/all#Generic

Properties matching "service" 
https://www.wikidata.org/w/index.php?title=Special:Search=500=0=default=Property%3Aservice
Properties matching "offer" 
https://www.wikidata.org/w/index.php?title=Special:Search=500=0=default=Property%3Aoffer

And I'm not sure I understand how properties are classified (i.e. what makes 
them show up in https://www.wikidata.org/wiki/Wikidata:List_of_properties/all)

I guess it's when a property is an instance of a subclass of Wikidata property 
(https://www.wikidata.org/wiki/Q18616576 ) such as "Wikidata property for items 
about organizations" https://www.wikidata.org/wiki/Q18608993 and a bot takes 
the last part of the property name to be the category ?

> 
> 
> Thad
> +ThadGuidry <https://www.google.com/+ThadGuidry>
> 
> On Tue, Jul 12, 2016 at 4:31 PM, Loic Dachary <l...@dachary.org 
> <mailto:l...@dachary.org>> wrote:
> 
> Hi Thad,
> 
> On 12/07/2016 19:27, Thad Guidry wrote:
> > OpenStreetMap  an API interface to their Software and 
> Database.
> 
> Unless I'm mistaken, there is no "provides" property at the moment. Do 
> you suggest one should be created ?
> 
> Cheers
> 
> >
> > OpenStreetMap is an Organization.
> >
> > It provides things.  It has things.
> > One thing is Software.  OpenStreeMap Maps and DB.
> > Another thing is the Software provides an API interface to retrieve 
> data from that Software.
> >
> > Looks like Wikidata does NOT currently provide a nice proper property 
> to say "provides API".
> > Ideally, it would also be shown as a "see also" here: 
> https://www.wikidata.org/wiki/Property:P2699
> >
> > An API typically "uses" a Protocol 
> https://www.wikidata.org/wiki/Property:P2700
> > another view would be to say that the API doesn't "use" a Protocol, but 
> instead that a user communicates with an API through a Protocol.
> >
> > Also, the "OpenStreetMap API" can be "used by" other Organizations and 
> Software https://www.wikidata.org/wiki/Property:P1535
> >
> > I would avoid using subclass ... you could say "part of" ... but then 
> it gets lost in the shuffle with Sparql queries because there no easy way to 
> see just API Providers versus Parts of Organizations which could be anything.
> >
> > It would be much better and way cooler to easily list and see all the 
> organizations that "provide API" and even then filter on those API's by 
> different criteria and categories.
> >
> >
> > Thad
> > +ThadGuidry <https://www.google.com/+ThadGuidry>
> >
> > On Tue, Jul 12, 2016 at 11:48 AM, Loic Dachary <l...@dachary.org 
> <mailto:l...@dachary.org> <mailto:l...@dachary.org 
> <mailto:l...@dachary.org>>> wrote:
> >
> > Hi,
> >
> > An API such as the OpenStreetMap API ( 
> https://www.wikidata.org/wiki/Q25822543 ) is a subclass of the API item 
> https://www.wikidata.org/wiki/Q16519, it makes sense to me that the 
> OpenStreetMap API is a part of ( https://www.wikidata.org/wiki/Property:P361 
> ) OpenStreetmap ( https://www.wikidata.org/wiki/Q936 ).
> >
> > Another way of looking at it would be to have an "API" property 
> which would link OpenStreetmap to its API. I'm new to wikidata and would very 
> much appreciate your advice on this.
> >
> > Cheers
> >
> > --
> > Loïc Dachary, Artisan Logiciel Libre
> >
> > ___
> > Wikidata mailing list
> > Wikidata@lists.wikimedia.org <mailto:Wikidata@lists.wikimedia.org> 
> <mailto:Wikidata@lists.wikimedia.org <mailto

Re: [Wikidata] Software API : {{P:part of}} or {{P:API}} ?

2016-07-12 Thread Loic Dachary
Hi Thad,

On 12/07/2016 19:27, Thad Guidry wrote:
> OpenStreetMap  an API interface to their Software and Database.

Unless I'm mistaken, there is no "provides" property at the moment. Do you 
suggest one should be created ?

Cheers

> 
> OpenStreetMap is an Organization.
> 
> It provides things.  It has things.
> One thing is Software.  OpenStreeMap Maps and DB.
> Another thing is the Software provides an API interface to retrieve data from 
> that Software.
> 
> Looks like Wikidata does NOT currently provide a nice proper property to say 
> "provides API".
> Ideally, it would also be shown as a "see also" here: 
> https://www.wikidata.org/wiki/Property:P2699
> 
> An API typically "uses" a Protocol 
> https://www.wikidata.org/wiki/Property:P2700
> another view would be to say that the API doesn't "use" a Protocol, but 
> instead that a user communicates with an API through a Protocol.
> 
> Also, the "OpenStreetMap API" can be "used by" other Organizations and 
> Software https://www.wikidata.org/wiki/Property:P1535
> 
> I would avoid using subclass ... you could say "part of" ... but then it gets 
> lost in the shuffle with Sparql queries because there no easy way to see just 
> API Providers versus Parts of Organizations which could be anything.
> 
> It would be much better and way cooler to easily list and see all the 
> organizations that "provide API" and even then filter on those API's by 
> different criteria and categories.
> 
> 
> Thad
> +ThadGuidry <https://www.google.com/+ThadGuidry>
> 
> On Tue, Jul 12, 2016 at 11:48 AM, Loic Dachary <l...@dachary.org 
> <mailto:l...@dachary.org>> wrote:
> 
> Hi,
> 
> An API such as the OpenStreetMap API ( 
> https://www.wikidata.org/wiki/Q25822543 ) is a subclass of the API item 
> https://www.wikidata.org/wiki/Q16519, it makes sense to me that the 
> OpenStreetMap API is a part of ( https://www.wikidata.org/wiki/Property:P361 
> ) OpenStreetmap ( https://www.wikidata.org/wiki/Q936 ).
> 
> Another way of looking at it would be to have an "API" property which 
> would link OpenStreetmap to its API. I'm new to wikidata and would very much 
> appreciate your advice on this.
> 
> Cheers
> 
> --
> Loïc Dachary, Artisan Logiciel Libre
> 
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org <mailto: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
> 

-- 
Loïc Dachary, Artisan Logiciel Libre

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


Re: [Wikidata] Creating humans with no sitelink

2016-07-17 Thread Loic Dachary
Thanks !

On 17/07/2016 13:02, Sjoerd de Bruin wrote:
> Hello,
> 
> The notability page starts the list of criteria with the following: "if it 
> meets at least one of the criteria below". It meets number three, a 
> structural need. There is no need to satisfy all the numbers.
> 
> Greetings,
> 
> Sjoerd de Bruin
> sjoerddebr...@me.com
> 
>> Op 17 jul. 2016, om 12:57 heeft Loic Dachary <l...@dachary.org> het volgende 
>> geschreven:
>>
>> Hi,
>>
>> Volker Kohaupt https://www.wikidata.org/wiki/Q17147547 was created because 
>> he is an author of https://www.wikidata.org/wiki/Q13716155. Is this ok ? It 
>> does not seem to satisfy the first notability criterion for 
>> https://www.wikidata.org/wiki/Wikidata:Notability (no sitelink). But maybe 
>> that's an exception ?
>>
>> Cheers
>>
>> -- 
>> Loïc Dachary, Artisan Logiciel Libre
>>
>> ___
>> 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
> 

-- 
Loïc Dachary, Artisan Logiciel Libre

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


[Wikidata] Creating humans with no sitelink

2016-07-17 Thread Loic Dachary
Hi,

Volker Kohaupt https://www.wikidata.org/wiki/Q17147547 was created because he 
is an author of https://www.wikidata.org/wiki/Q13716155. Is this ok ? It does 
not seem to satisfy the first notability criterion for 
https://www.wikidata.org/wiki/Wikidata:Notability (no sitelink). But maybe 
that's an exception ?

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre

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


Re: [Wikidata] Wikidata property for items about software

2016-07-15 Thread Loic Dachary
Hi Tobias,

On 15/07/2016 19:03, Tobias Schönberg wrote:
> @Loic
> 
> You might have already found the answer, but you can request for an
> item to be deleted here:
> 
> https://www.wikidata.org/wiki/Wikidata:Requests_for_deletions

I did not find it, thanks ! I've added a request 
https://www.wikidata.org/wiki/Wikidata:Requests_for_deletions#Q25857383

> I don't know if we have any good automatically updating tables of
> properties, but there is at least an attempt to curate the software
> properties here:
> 
> https://www.wikidata.org/wiki/Wikidata:WikiProject_Informatics

I did find this one and created two sub-pages for Software and FLOSS

https://www.wikidata.org/wiki/Wikidata:WikiProject_Informatics/Software
https://www.wikidata.org/wiki/Wikidata:WikiProject_Informatics/FLOSS

I'd very much appreciate your input on what I did. I'm new to wikidata and 
despite my best efforts I certainly did things backwards :-)

Cheers

> 
> -Tobias
> 
> 2016-07-13 15:54 GMT+02:00 Loic Dachary <l...@dachary.org>:
>> Hi,
>>
>> I created "Wikidata property for items about software" 
>> https://www.wikidata.org/wiki/Q25857383 modeled after "Wikidata property for 
>> items about works" https://www.wikidata.org/wiki/Q18618644. It is my 
>> understanding that it will automagically display all properties that are an 
>> instance of "Wikidata property for items about software" in the "Software" 
>> part (which does not exist yet) of 
>> https://www.wikidata.org/wiki/Wikidata:List_of_properties/all
>>
>> There also is an existing "Wikidata property for software" 
>> https://www.wikidata.org/wiki/Q21126229 which seems identical but worded 
>> slightly differently. I realize creating a new item with an identical 
>> purpose was a mistake but I don't know how to remove this new item. And I 
>> don't understand why properties that are instance of "Wikidata property for 
>> software" do not show in 
>> https://www.wikidata.org/wiki/Wikidata:List_of_properties/all.
>>
>> I would very much appreciate any advice you may have on this topic :-)
>>
>> Cheers
>>
>> --
>> Loïc Dachary, Artisan Logiciel Libre
>>
>> ___
>> 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
> 

-- 
Loïc Dachary, Artisan Logiciel Libre

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


[Wikidata] Software API : {{P:part of}} or {{P:API}} ?

2016-07-12 Thread Loic Dachary
Hi,

An API such as the OpenStreetMap API ( https://www.wikidata.org/wiki/Q25822543 
) is a subclass of the API item https://www.wikidata.org/wiki/Q16519, it makes 
sense to me that the OpenStreetMap API is a part of ( 
https://www.wikidata.org/wiki/Property:P361 ) OpenStreetmap ( 
https://www.wikidata.org/wiki/Q936 ). 

Another way of looking at it would be to have an "API" property which would 
link OpenStreetmap to its API. I'm new to wikidata and would very much 
appreciate your advice on this.

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre

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


[Wikidata] Wikidata property for items about software

2016-07-13 Thread Loic Dachary
Hi,

I created "Wikidata property for items about software" 
https://www.wikidata.org/wiki/Q25857383 modeled after "Wikidata property for 
items about works" https://www.wikidata.org/wiki/Q18618644. It is my 
understanding that it will automagically display all properties that are an 
instance of "Wikidata property for items about software" in the "Software" part 
(which does not exist yet) of 
https://www.wikidata.org/wiki/Wikidata:List_of_properties/all

There also is an existing "Wikidata property for software" 
https://www.wikidata.org/wiki/Q21126229 which seems identical but worded 
slightly differently. I realize creating a new item with an identical purpose 
was a mistake but I don't know how to remove this new item. And I don't 
understand why properties that are instance of "Wikidata property for software" 
do not show in https://www.wikidata.org/wiki/Wikidata:List_of_properties/all.

I would very much appreciate any advice you may have on this topic :-)

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre

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


[Wikidata] wikiconvention & wikidata: thanks and a bug report

2016-08-21 Thread Loic Dachary
Hi,

A short mail to report a bug in the organization of the wikidata workshop held 
today during the wikiconvention in Paris[1]. Weeks in advance I convinced a few 
people to attend so that we can work on our topic of interest: Software and 
Free Software in particular[2]. There is no better context than being 
surrounded by seasoned wikidata contributors to improve and contribute at the 
same time. The description was appealing:

"After a one hour training, we will create groups according to the desire of 
the participants: contribute, discover and install useful gadgets..."

When the audience was asked for their preferences, I raised my hand and happily 
declared "Contributing to the Software and FLOSS projects !". Much to my 
surprise this was quickly dismissed: "we're only going to learn about tools, we 
create groups to use and learn about tools, not to work on a specific project". 
My interest for the Software project is known to both Harmonia Amanda and 
Ash_Crow, to the extent that I discussed with them my intent to recruit people 
to participate in the workshop for that particular topic[3], well in advance. 
The focus of our interest was also made clear in the participant list[4].

Of course the rebuttal was not enough to discourage us from contributing to 
wikidata :-) We found another room and did useful work together, just without 
the pleasure of being part of the group.

When facing such a minor disappointment, I suppose there is not much cause for 
concern. But I thought it would be useful to report what appears to be a glitch 
in the organization so that it can be fixed. This is not a pleasant thing to 
write or read, but what would be life without a few mistakes ?

In conclusion I would like to thank everyone for a wonderful first experience, 
specially Harmonia Amanda and Ash_Crow who do a tremendous work with wikidata.

Cheers

[1] 
https://meta.wikimedia.org/wiki/WikiConvention_francophone/2016/Programme/Atelier_de_formation_%C3%A0_Wikidata
[2] https://www.wikidata.org/wiki/Wikidata:WikiProject_Informatics/Software 
https://www.wikidata.org/wiki/Wikidata:WikiProject_Informatics/FLOSS
[3] 15 july 2016  Ash_Crow: pour 
https://meta.wikimedia.org/wiki/WikiConvention_francophone/2016/Programme/Atelier_de_formation_%C3%A0_Wikidata
 nous serons au moins trois avec pour centre d'intérêt 
https://www.wikidata.org/wiki/Wikidata:WikiProject_Informatics/FLOSS et 
https://www.wikidata.org/wiki/Wikidata:WikiProject_Informatics/Software . 
J'espère convaincre deux autres personnes mais c'est pas gagné ... l'attrait 
des vacances...
[4] 
https://meta.wikimedia.org/wiki/WikiConvention_francophone/2016/Programme/Atelier_de_formation_%C3%A0_Wikidata#Participants_int.C3.A9ress.C3.A9s_.28inscrivez-vous_ci-dessous_et_posez_d.C3.A8s_.C3.A0_pr.C3.A9sent_vos_questions_.C3.A0_l.27organisateur_de_la_session.29
-- 
Loïc Dachary, Artisan Logiciel Libre

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


Re: [Wikidata] Deleting properties / items in test.wikidata.org

2016-09-14 Thread Loic Dachary
Hi,

It looks like the wikibase API[1] does not provide a way to delete an item. To 
remove an item / propery on http://test.wikidata.org a script would have do web 
scrapping and use the same interface people attending the deletion requests 
do[2]. Unfortunately a regular user does not seem to have permission to do that 
on test.wikidata.org. Would it be possible to upgrade the user permissions to 
allow deletion of items / property on test.wikidata.org ?

Cheers


[1] https://www.mediawiki.org/wiki/Wikibase/API
[2] https://www.wikidata.org/wiki/Wikidata:Requests_for_deletions

On 08/09/2016 17:54, Loic Dachary wrote:
> Hi,
> 
> I'd like to write integration tests for 
> https://www.wikidata.org/wiki/User:FLOSSbot and use test.wikidata.org for 
> that. I figured out how to create properties[1] with pywikibot and search for 
> them[2]. But I was not able to figure out how to remove them afterwards, to 
> not clutter test.wikidata.org. The 
> https://www.mediawiki.org/wiki/Wikibase/API page does not show anything 
> obvious.
> 
> Any idea ?
> 
> Cheers
> 
> [1] 
> import pywikibot
> site = pywikibot.Site("test", "wikidata")
> print(str(site.editEntity({'new': 'property'}, {'datatype':'item',
> "labels":
>  {"en":
>   
> {"language":"en","value":"FLOSS3property"}
>  }
> })))
> 
> [2]
> import pywikibot
> site = pywikibot.Site("test", "wikidata")
> for e in site.search_entities('FLOSS', 'en', type='property'):
> print(str(e))
> 

-- 
Loïc Dachary, Artisan Logiciel Libre


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


Re: [Wikidata] Deleting properties / items in test.wikidata.org

2016-09-16 Thread Loic Dachary


On 16/09/2016 15:54, Markus Kroetzsch wrote:
> Hi,
> 
> I don't think you need to worry at all about cluttering test.wikidata.org. I 
> guess it is purged regularly anyway.

Ok then, fine with me :-)

> Best,
> 
> Markus
> 
> On 14.09.2016 20:32, Legoktm wrote:
>> Hi,
>>
>> On 09/08/2016 08:54 AM, Loic Dachary wrote:
>>> Hi,
>>>
>>> But I was not able to figure out how to remove them afterwards, to not 
>>> clutter test.wikidata.org.
>>
>> You would just use the normal MediaWiki API delete feature[1]. Pywikibot
>> abstracts it as Page.delete(...).
>>
>> [1] https://www.mediawiki.org/wiki/API:Delete
>>
>> -- Legoktm
>>
>> ___
>> 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

-- 
Loïc Dachary, Artisan Logiciel Libre

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


Re: [Wikidata] wikiconvention & wikidata: thanks and a bug report

2016-08-26 Thread Loic Dachary
Hi Sylvain,

On 26/08/2016 11:43, Sylvain Boissel wrote:
> 
> 
> 2016-08-21 19:06 GMT+02:00 Loic Dachary <l...@dachary.org 
> <mailto:l...@dachary.org>>:
> 
> When the audience was asked for their preferences, I raised my hand and 
> happily declared "Contributing to the Software and FLOSS projects !". Much to 
> my surprise this was quickly dismissed: "we're only going to learn about 
> tools, we create groups to use and learn about tools, not to work on a 
> specific project". My interest for the Software project is known to both 
> Harmonia Amanda and Ash_Crow, to the extent that I discussed with them my 
> intent to recruit people to participate in the workshop for that particular 
> topic[3], well in advance.
> 
> And I answered you weeks ago that I plan to organize a fully dedicated 
> workshop on this topic later this year, involving local free software 
> organizations like Parinux or Framasoft.

I remember that, excellent initiative :-) I'm not sure how it explains what 
happened during the wikiconvention though.

I was connected to #wikidata-fr today and read a conversation on this topic, 
involving you and Harmonia Amanda (which I will not quote here because I assume 
this is not a good behavior to quote from channels that are not logged). The 
general tone was unfriendly and made me feel unwanted as a contributor. It also 
made me realize that my efforts to bring more French people / organizations to 
wikidata were mocked and unappreciated.

As a volunteer I value good relationships even more than technical 
contributions. For this reason I will distance myself from the wikidata French 
community. I hope to return in the future when a more welcoming context has 
been established.

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre


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


Re: [Wikidata] Changing the datatype of a property in test.wikidata.org

2016-10-11 Thread Loic Dachary


On 11/10/2016 22:50, Denny Vrandečić wrote:
> Properties don't have an identity besides their ID - so you could in test.wd 
> just rename the subclass of property and reclaim that name.

Of course !

Thank you :-)

> 
> On Tue, Oct 11, 2016 at 1:19 PM Loic Dachary <l...@dachary.org 
> <mailto:l...@dachary.org>> wrote:
> 
> Hi,
> 
> I'd like to run integration tests using test.wikidata.org 
> <http://test.wikidata.org>[1] and the "subclass of" property. Unfortunately 
> it already exist ... with a datatype that is different from what wikidata.org 
> <http://wikidata.org> has (wikibase-item)[2]. It does not seem to be possible 
> to change that via the API[3]. Deleting a property does not seem possible 
> either.  asked a month ago in the thread "Deleting properties / items in 
> test.wikidata.org <http://test.wikidata.org>".
> 
> It's not an absolute blocker: I can add code so that "subclass of" is a 
> random string instead when test.wikidata.org <http://test.wikidata.org> is 
> used. But before doing that and making integration tests more difficult to 
> debug and implement, I'd like to be sure I'm not missing something.
> 
> How do you suggest I deal with this problem ?
> 
> Cheers
> 
> [1] 
> https://phabricator.wikimedia.org/diffusion/PBFB/browse/master/tests/test_repository.py
> [2] https://test.wikidata.org/wiki/Property:P748
> [3] https://www.wikidata.org/w/api.php?action=help=wbeditentity
> --
> Loïc Dachary, Artisan Logiciel Libre
> 
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org <mailto: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
> 

-- 
Loïc Dachary, Artisan Logiciel Libre

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