Re: [Wikidata-tech] Untangling Wikibase extension dependency mess for PHPUnit 6 ugprade

2018-04-15 Thread Jonas Kress
Thanks Kunal!
I had a quick look and I am confident that we can merge those patches this
week.

Cheers,
Jonas


2018-04-15 8:08 GMT+02:00 Kunal Mehta <lego...@member.fsf.org>:

> Hi,
>
> It seems that WikimediaBadges, WikibaseQuality, and
> WikibaseQualityConstraints are failing tests due to the PHPUnit 6
> upgrade. And to make things painful, they all circularly depend upon
> each other.
>
> There are 3 patches to fix this:
>
> * WikibaseQuality: https://gerrit.wikimedia.org/r/#/c/426646/
> * WikibaseQualityConstraints: https://gerrit.wikimedia.org/r/#/c/426647/
> * WikimediaBadges: https://gerrit.wikimedia.org/r/#/c/426649/
>
> The first two will need to be force merged and the third can go through
> Jenkins normally. (The specific order doesn't matter that much, two have
> to be force merged regardless).
>
> -- Legoktm
>
>
> ___
> Wikidata-tech mailing list
> Wikidata-tech@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
>
>


-- 
Jonas Kress
Software Developer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
http://wikimedia.de

Imagine a world, in which every single human being can freely share in the
sum of all knowledge. That‘s our commitment.

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/681/51985.
___
Wikidata-tech mailing list
Wikidata-tech@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech


Re: [Wikidata] Running queries on a schedule / How does Constraint Violations Reporting work?

2017-06-13 Thread Jonas Kress
Hi Greg,

thanks for your interest! We are currently working hard on improving the
property constraint system.
We have implemented a UI integration on item pages and the possibility to
use SPARQL for constraint checks. We are also working on importing
constraints from property statements instead of templates.
You will find more information in the help portal [1] and the Phabricator
board [2].

For using your own SPARQL queries and creating violation lists you could
use Magnus' tool listera [3]

Cheers,
Jonas

[1] https://www.wikidata.org/wiki/Help:Property_constraints_portal
[2] https://phabricator.wikimedia.org/tag/wikibase-quality-constraints/
[3] https://en.wikipedia.org/wiki/Template:Wikidata_list



2017-06-13 18:50 GMT+02:00 Greg S <stup...@gmail.com>:

> I would like to implement a version of constraint violations reporting (
> https://www.wikidata.org/wiki/Wikidata:Database_
> reports/Constraint_violations) (example (https://www.
> wikidata.org/wiki/Wikidata:Database_reports/Constraint_
> violations/P698#Single_value)) using some pre-specified SPARQL queries,
> to run only on my Talk page. Basically, I would like to have a page
> containing a handful of SPARQL queries, which would get run on a schedule
> (every week), and the output included into the page (as a table/list/etc).
> This seems really similar to what the constraint violations reporting is
> doing, but I'm having trouble figuring out how it works. It looks like
> there is a bot (https://www.wikidata.org/wiki/User:KrBot) that is
> fetching the constraints from each property's talk page and running the
> checks on a schedule. Is that correct? I cannot seem to find any
> documentation or source code. Has anyone else implemented something like
> this? Is there a way to execute a SPARQL query from a module?
>
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>
>


-- 
Jonas Kress
Software Developer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
http://wikimedia.de

Imagine a world, in which every single human being can freely share in the
sum of all knowledge. That‘s our commitment.

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/681/51985.
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] query.wikidata.org: wdqs-app-footer-updated

2017-04-14 Thread Jonas Kress
Yes, it should be this query:
https://github.com/wikimedia/wikidata-query-gui/blob/master/wikibase/queryService/api/Sparql.js#L84

Cheers,
Jonas

2017-04-14 14:07 GMT+02:00 Adrian Bielefeldt <
adrian.bielefe...@mailbox.tu-dresden.de>:

> Hello everyone,
>
> I'm working on a research project on wikidata queries and was wondering
> if the wdqs-app-footer-updated element uses a sparql-query to determine
> when the data was updated. The reason I'm asking is that we have the
> same query asking when wikidata was last modified (all formated in the
> same way) from a bunch of different userAgents (mostly browsers).
>
> Greetings,
>
> Adrian
>
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>



-- 
Jonas Kress
Software Developer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
http://wikimedia.de

Imagine a world, in which every single human being can freely share in the
sum of all knowledge. That‘s our commitment.

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/681/51985.
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] Query Assistance

2017-04-09 Thread Jonas Kress
>Was it difficult to construct?
It is pretty easy to create such a query with the Query Helper
<https://www.wikidata.org/wiki/Help:SPARQL/Query_Helper> .
I have created a video
<https://commons.wikimedia.org/wiki/File:Wikidata_Query_-_Query_Helper_-_Catalog.webm>
for
you to show you how it works modifying an existing query ( cats ).

Cheers,
Jonas

2017-04-09 2:25 GMT+02:00 Erika Herzog aka BrillLyle <wp.brilll...@gmail.com
>:

> Oh my. Yes!
>
> Was it difficult to construct? I haven't run many queries yet.
>
> Grateful thanks for this! I will show it to Heather from Black Lunch
> Table.
>
> Heather and I did a Wikidata intensive last Saturday that went really well
> -- she totally got it and I'm hopeful the work will be very impactful. I'm
> also very excited at this integration of Wikidata into outreach initiative
> task lists. It makes it so that Wikidata is part of the conversation at her
> editathons from the get-go now, and supports notability via Authority
> control identifiers. Love it!
>
> Thanks again!!!
>
> - Erika
>
> On Apr 8, 2017, at 2:58 AM, Nicolas VIGNERON <vigneron.nico...@gmail.com>
> wrote:
>
> Hi,
>
> Somtehing like this ? https://query.wikidata.org/#SELECT%20%3Fitem%20%
> 3FitemLabel%20%3FgenderLabel%20%3FoccupationLabel%20%3FplaceBirthLabel%20%
> 3FplaceDeathLabel%20%3FresidenceLabel%20%3FeducationLabel%20WHERE%20%
> 7B%0A%20%20%3Fitem%20wdt%3AP972%20wd%3AQ28781198%20.%
> 0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP21%20%3Fgender%20%7D%0A%20%
> 20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP106%20%3Foccupation%
> 20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP19%20%
> 3FplaceBirth%20%7D%0A%20%20OPTIONAL%20%7B%20%3Fitem%
> 20wdt%3AP20%20%3FplaceDeath%20%7D%0A%20%20OPTIONAL%20%7B%
> 20%3Fitem%20wdt%3AP551%20%3Fresidence%20%7D%0A%20%
> 20OPTIONAL%20%7B%20%3Fitem%20wdt%3AP69%20%3Feducation%20%
> 7D%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%
> 3AserviceParam%20wikibase%3Alanguage%20%22en%22%20%7D%0A%7D
>
> Cdlt, ~nicolas
>
> 2017-04-08 3:39 GMT+02:00 Brill Lyle <wp.brilll...@gmail.com>:
>
>> Hi there,
>>
>> I need to do a Wikidata query of the Black Lunch Table task list that
>> includes location-specific faceted searching:
>>
>> So for the upcoming Boston event, would like to be able to search by
>> - residence (P551)
>> - place of birth (P19)
>> - place of death (P20)
>> - educated at (P69)
>> and maybe
>> - employed by
>>
>> Here's the Listeria table:
>> https://en.wikipedia.org/wiki/Wikipedia:Meetup/Black_Lunch_T
>> able/Lists_of_Articles#Black_Lunch_Table_Project_Wikidata_task_list
>>
>> It would be for this event:
>> https://en.wikipedia.org/wiki/Wikipedia:Meetup/Black_Lunch_T
>> able/Boston_Univ_Apr2017_1
>>
>> The query would provide data that could be curated / vetted / updated on
>> Wikidata to populate the Listeria table on the Boston 1 page.
>>
>> Thanks in advance for any help with this.
>>
>> - Erika
>>
>> *Erika Herzog*
>> Wikipedia *User:BrillLyle <https://en.wikipedia.org/wiki/User:BrillLyle>*
>>
>> ___
>> 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
>
>


-- 
Jonas Kress
Software Developer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30 219 158 26-0
http://wikimedia.de

Imagine a world, in which every single human being can freely share in the
sum of all knowledge. That‘s our commitment.

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/681/51985.
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] Fwd: [Ops] Wikidata Query Service (WQDS) regular deployment window

2016-03-24 Thread Jonas Kress
Hi!
Could we also have some daily deployed test site, so new features could be
tried out and tested?

Cheers,
Jonas

2016-03-24 1:11 GMT+01:00 Stas Malyshev :

> Hi!
>
> FYI to those it may concern - we plan to institute regular WDQS
> deployments on Mondays for both code and GUI. Not much going to change
> except regular deployments would happen at predictable time instead of
> "whenever I feel like it" :) Does not preclude emergency deployments in
> case something is broken, of course, but hopefully this would introduce
> more predictability as the service matures. Guillaume would be doing the
> deployments, usually, with me stepping in if he can not.
>
>  Forwarded Message 
> Subject: [Ops] Wikidata Query Service (WQDS) regular deployment window
> Date: Tue, 22 Mar 2016 22:04:21 +0100
> From: Guillaume Lederrey 
> To: A public mailing list about Wikimedia Search and Discovery projects
> , Operations Engineers
> 
>
> Hello!
>
> After discussion with Stas, we want to have a regular deployment
> window for Wikidata Query Service. This should help give better
> visibility on when new version arrives and help track issues with
> those new versions. I will take care of the deployments (with Stas'
> support, of course).
>
> The deployment window is: every Monday, from 7pm CET (10am PST - 5pm
> UTC) starting from Monday April 11th.
>
> Let me know if you have any question or if you know of another place
> where I should publicize this deployment window.
>
>   Take care,
>
> Guillaume
>
> --
> Guillaume Lederrey
> Operations Engineer, Discovery
> Wikimedia Foundation
>
> ___
> Ops mailing list
> o...@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/ops
>
>
>
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>



-- 

Jonas KressSoftware Developer
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963
BerlinPhone: +49 (0)30 219 158 26-0http://wikimedia.de

Imagine a world, in which every single human being can freely share in
the sum of all knowledge. That‘s our commitment.

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.
V. Eingetragen im Vereinsregister des Amtsgerichts
Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig
anerkannt durch das Finanzamt für Körperschaften I Berlin,
Steuernummer 27/681/51985.
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] qwery.me - simpler queries for wikidata

2015-11-11 Thread Jonas Kress
Hey Paul,

nice work! Can I find the code somewhere? This is a webpack setup right?
We have also improved query.wikidata.org very much with stuff like auto
completion, so maybe we could share some code in the future. You are very
welcome to contribute! You will find the git project here (see gui folder):
git clone https://gerrit.wikimedia.org/r/wikidata/query/rdf/

Cheers,
Jonas





2015-11-11 1:35 GMT+01:00 Info WorldUniversity <
i...@worlduniversityandschool.org>:

> Hi Paul and Wikidatans,
>
> Thanks, great, and this looks greatly simple and useful, and I haven't
> written wikidata queries in SPARQL.
>
> CC World University and School (WUaS) which just donated CC WUaS to CC
> Wikidata for its third birthday (
> https://www.wikidata.org/wiki/Wikidata:Third_Birthday/Presents), would
> like to build in such ways to query wikidata as WUaS begins to develop in
> MediaWiki/Wikdiata/Wikibase around these approximately 10 main areas (e.g.
> beginning with all-languages, each a wiki school or university) -
> http://worlduniversityandschool.org/ - with this main SUBJECT TEMPLATE -
> http://worlduniversity.wikia.com/wiki/SUBJECT_TEMPLATE - and, for
> example, around these open wiki Subjects -
> http://worlduniversity.wikia.com/wiki/Subjects - planned as Q Items, and
> inter-lingually.
>
> How is your qwery.me going to anticipate, or develop for, Wikidata's
> inter-linguality in Wikipedia's 300 languages? Are you anticipating doing
> this in voice some years hence to make it yet more helpfully simple and
> useful?
>
> Would you like to help build in qwery.me in Wikidata/WUaS and
> inter-lingually?
>
> Cheers,
> Scott
>
>
>
> On Tue, Nov 10, 2015 at 4:09 PM, Paul Sonnentag <
> paul.sonnen...@googlemail.com> wrote:
>
>> Hey,
>>
>> A week ago I started working on a project which tries to make it simpler
>> to query wikidata.
>> It's still in a very early stage of development but I would like to hear
>> your feedback, especially if you haven't used SPARQL, because you found it
>> too complicated to get started with.
>>
>> qwery.me
>>
>> My approach was it to simplify SPARQL as much as possible without loosing
>> too much of its power. Basically you can just write statements and the ids
>> are autocompleted. Currently there are still a lot of features missing like
>> data literals, filters and group by which i want to implement eventually.
>>
>> So please tell me, is something like that usefull to you? Is it simple
>> enough?
>>
>> Cheers,
>> Paul
>>
>> ___
>> Wikidata mailing list
>> Wikidata@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/wikidata
>>
>>
>
>
> --
>
> - Scott MacLeod - Founder & President
>
> - http://worlduniversityandschool.org
>
> - 415 480 4577
>
> - PO Box 442, (86 Ridgecrest Road), Canyon, CA 94516
>
> - World University and School - like Wikipedia with best STEM-centric
> OpenCourseWare - incorporated as a nonprofit university and school in
> California, and is a U.S. 501 (c) (3) tax-exempt educational organization.
>
>
> World University and School is sending you this because of your interest
> in free, online, higher education. If you don't want to receive these,
> please reply with 'unsubscribe' in the body of the email, leaving the
> subject line intact. Thank you.
>
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>
>


-- 

Jonas KressSoftware Developer
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963
BerlinPhone: +49 (0)30 219 158 26-0http://wikimedia.de

Imagine a world, in which every single human being can freely share in
the sum of all knowledge. That‘s our commitment.

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.
V. Eingetragen im Vereinsregister des Amtsgerichts
Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig
anerkannt durch das Finanzamt für Körperschaften I Berlin,
Steuernummer 27/681/51985.
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] Save to CSV

2015-11-04 Thread Jonas Kress
Works in Firefox, but not in Chrome.
No error is thrown, so it might be a Chrome bug.

2015-11-04 14:47 GMT+01:00 David Lowe <davidl...@nypl.org>:

> Thanks, Jonas. Here is:
>
> PREFIX wd: <http://www.wikidata.org/entity/>
> PREFIX wdt: <http://www.wikidata.org/prop/direct/>
> PREFIX wikibase: <http://wikiba.se/ontology#>
> PREFIX p: <http://www.wikidata.org/prop/>
> PREFIX v: <http://www.wikidata.org/prop/statement/>
> PREFIX q: <http://www.wikidata.org/prop/qualifier/>
> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
>
> SELECT ?photographer ?photographer_label ?pob ?pob_label ?state
> ?state_label ?cob ?cob_label WHERE {
>?photographer wdt:P106 wd:Q33231 .# find items that have
> "occupation (P106): photographer (Q33231) "
>?photographer wdt:P19 ?pob .   # with a P19 (place of birth) claim
>?pob wdt:P17 ?cob .   # ... where the pob has a Country
>?pob wdt:P131 ?state ; #where the pob has a state
>
>OPTIONAL {?photographer rdfs:label ?photographer_label filter
> (lang(?photographer_label) = "en") .}
>OPTIONAL {?pob rdfs:label ?pob_label filter (lang(?pob_label) = "en") .}
>OPTIONAL {?cob rdfs:label ?cob_label filter (lang(?cob_label) = "en") .}
>OPTIONAL {?state rdfs:label ?state_label filter (lang(?state_label) =
> "en") .}
> }
>
> On Wed, Nov 4, 2015 at 1:49 AM, Jonas Kress <jonas.kr...@wikimedia.de>
> wrote:
>
>> Could you provide your query, so I can test whats wrong with exporting
>> your result.
>>
>> Cheers,
>> Jonas
>>
>> 2015-11-03 21:48 GMT+01:00 David Lowe <davidl...@nypl.org>:
>>
>>> I seem to be unable to download my SPARQL query results. It does nothing
>>> when I click any off the options, nothing happens (it's only ~8,000
>>> results, so it shouldn't be too taxing...). Is this working for others?
>>>
>>> ___
>>> Wikidata mailing list
>>> Wikidata@lists.wikimedia.org
>>> https://lists.wikimedia.org/mailman/listinfo/wikidata
>>>
>>>
>>
>>
>> --
>>
>> Jonas KressSoftware Developer
>> Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 BerlinPhone: 
>> +49 (0)30 219 158 26-0http://wikimedia.de
>>
>> Imagine a world, in which every single human being can freely share in the 
>> sum of all knowledge. That‘s our commitment.
>>
>> Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V. 
>> Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter 
>> der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für 
>> Körperschaften I Berlin, Steuernummer 27/681/51985.
>>
>>
>> ___
>> 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
>
>


-- 

Jonas KressSoftware Developer
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963
BerlinPhone: +49 (0)30 219 158 26-0http://wikimedia.de

Imagine a world, in which every single human being can freely share in
the sum of all knowledge. That‘s our commitment.

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.
V. Eingetragen im Vereinsregister des Amtsgerichts
Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig
anerkannt durch das Finanzamt für Körperschaften I Berlin,
Steuernummer 27/681/51985.
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata


Re: [Wikidata] Save to CSV

2015-11-03 Thread Jonas Kress
Could you provide your query, so I can test whats wrong with exporting your
result.

Cheers,
Jonas

2015-11-03 21:48 GMT+01:00 David Lowe :

> I seem to be unable to download my SPARQL query results. It does nothing
> when I click any off the options, nothing happens (it's only ~8,000
> results, so it shouldn't be too taxing...). Is this working for others?
>
> ___
> Wikidata mailing list
> Wikidata@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/wikidata
>
>


-- 

Jonas KressSoftware Developer
Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963
BerlinPhone: +49 (0)30 219 158 26-0http://wikimedia.de

Imagine a world, in which every single human being can freely share in
the sum of all knowledge. That‘s our commitment.

Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.
V. Eingetragen im Vereinsregister des Amtsgerichts
Berlin-Charlottenburg unter der Nummer 23855 B. Als gemeinnützig
anerkannt durch das Finanzamt für Körperschaften I Berlin,
Steuernummer 27/681/51985.
___
Wikidata mailing list
Wikidata@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata