User talk:Magnus Manske/Archive 1

From Wikidata
Jump to navigation Jump to search

wgArticleId:16809633#top

Please add your script there

Please add your script about consistency there Wikidata:Tools. Thanks Snipre (talk) 18:53, 5 February 2013 (UTC)

Done, and moved the code to the wiki. --Magnus Manske (talk) 19:01, 5 February 2013 (UTC)

GeneaWiki integration

I think will be great to add link to this tool onto pages about persons (Property:P107 == Q215627). If not by default for all users, at least as gadget. --EugeneZelenko (talk) 04:33, 16 February 2013 (UTC)

It'll be good idea to limit depth of tree loaded by default (for example to parents/children) and provide interface to load further root/branches. Just to make tool useful for exploring monarchs genealogy (just try current implementation on Special:Contributions/Ch1902). --EugeneZelenko (talk) 15:50, 17 February 2013 (UTC)
It is already limites to 100 nodes. You'll get a red warning message that the tree is incomplete; also, when you select a person, you get an extra link to re-load based on this person. --Magnus Manske (talk) 17:01, 17 February 2013 (UTC)
I made User:Ricordisamoa/GeneaWiki.js: it checks for kinship relations and, in case of presence, gives a link to the current item in GeneaWiki. --Ricordisamoa 18:22, 24 February 2013 (UTC)
Cool! I guess I'll have to update GeneaWiki to follow spouse... --Magnus Manske (talk) 18:30, 24 February 2013 (UTC)
Should we have it as a Gadget? --Ricordisamoa 18:38, 24 February 2013 (UTC)
Absolutely! --Magnus Manske (talk) 18:53, 24 February 2013 (UTC)

Legobot has requested the deletion of this item you created. I can't find any corresponding article on en. Still, you're one of the living legends of MediaWiki, so I figure there's more than meets the eye here, and thought I'd ask what's up before one of the admins deletes it. — PinkAmpers&(Je vous invite à me parler) 22:14, 19 February 2013 (UTC)

(Likewise Q4961607 and Q4962378.) — PinkAmpers&(Je vous invite à me parler) 22:19, 19 February 2013 (UTC)
Hi PinkAmpersand, is there a constraint to have at least one Wikipedia page? It would certainly not be a technical one. If I remember correctly, Wikidata is supposed to be independent, like Commons; in fact, it says so on the Main Page. Is there consensus not to add encyclopedic items to Wikidata unless a Wikipedia article already exists? If so, could you please point me there? Thanks. --Magnus Manske (talk) 23:07, 19 February 2013 (UTC)
Yes, as currently written, Wikidata:Notability establishes that all items must link to at least one Wikipedia page, though I believe there's been some discussion of lifting this restriction in light of the limitation it presents for properties in some cases. — PinkAmpers&(Je vous invite à me parler) 23:31, 19 February 2013 (UTC)
Thanks! I am trying to get this amended. Wish me luck! --Magnus Manske (talk) 23:56, 19 February 2013 (UTC)
Haha good luck. Any objection to the pages in question being deleted for the time being, though? Rules are rules. :P — PinkAmpers&(Je vous invite à me parler) 00:44, 20 February 2013 (UTC)
Well, we started out with "ignore all rules" ;-) And the rules may change soon, if the single reply I got so far is any indication. Delete them if you must, so I can re-create them once the rules have changed. --Magnus Manske (talk) 08:53, 20 February 2013 (UTC)

Wikidata_useful

Nice tool. Could you create a user parameter like a list where each user defines its personal list of properties and that list is then displayed instead of your standard list ? Just a suggestion. Snipre (talk) 17:20, 22 February 2013 (UTC)

Netherlands in wikidata_useful

Thanks, Magnus: great script (though I'm sure it will get extended). I don't know where the country list comes from, but it seems to lack Netherlands. --ColinFine (talk) 11:17, 24 February 2013 (UTC)

Thanks, fixed. --Magnus Manske (talk) 12:25, 24 February 2013 (UTC)

RfD

Please add Property: before adding a property to the deletion request. For exemple

=== [[Property:P10]] ===
{{rfd links|Property:P10|because}}

Regards --Jitrixis (talk) 15:51, 24 February 2013 (UTC)

I was using the javascript tool. Yay bug report! --Magnus Manske (talk) 15:57, 24 February 2013 (UTC)
Ok I will update the script thanks ^^ --Jitrixis (talk) 16:27, 24 February 2013 (UTC)
✓ Fixed Thank you for reporting this bug. It's now fixed. Regards --Jitrixis (talk) 17:01, 24 February 2013 (UTC)
Pssssttt... if anyone wants to simplify things, they could take a look at bugzilla:45079. — PinkAmpers&(Je vous invite à me parler) 21:37, 24 February 2013 (UTC)

Hi Magnus!

I was thinking of unifying our scripts: I wrote mine without checking yours :\
I believe that users should be able to change the script's graphical appearance, so I'll choose icons (and flags instead of State names) and another would choose text. Your opinion? --Ricordisamoa 12:11, 25 February 2013 (UTC)

PS&OT: maybe you're interested in this discussion on Meta. --Ricordisamoa 12:16, 25 February 2013 (UTC)

Bot?

Hello, please take a look at my responses on Wikidata:Requests_for_permissions/Bot/AuCoBot. Ajraddatz (Talk) 13:53, 26 February 2013 (UTC)

Mexico in wikidata useful.js

Great tool that wikidata useful.js. However I noticed that Mexico is missing from the list of countries. Harryboyles (talk) 12:15, 27 February 2013 (UTC)

A Barnstar for You!

The da Vinci Barnstar
I award you this barnstar for the excellent work done on Reasonator, GeneaWiki and wikidata_useful, releasing your tools with a Free License, and for all your work on gadgets and on Wikidata.

PS: also for Wikipedia:Phase II software!

--Ricordisamoa 22:42, 27 February 2013 (UTC)

Thank you Ricordisamoa, very much appreciated! --Magnus Manske (talk) 23:41, 27 February 2013 (UTC)

Regions

Hi, I saw that you started to remove uses of property:Region. That is probably a good idea, but please note that Property:P131 is supposed to use administrative units, not physical regions like Horn of Africa. --Zolo (talk) 13:31, 28 February 2013 (UTC)

That sounds sensible, but with region deprecated, what else is there? --Magnus Manske (talk) 13:45, 28 February 2013 (UTC)
<troll>geocoordinate-based inferrences would be great...</troll> It sounds potentially messy and I do not see it in en.wiki infoboxes, so I am not quite sure we need it, but if we do, I guess we need a dedicated "physical region" property. --Zolo (talk) 13:59, 28 February 2013 (UTC)

conflict in wikidata_useful

Your script can add the 'writer' occupation, but in fact it adds Q482980 (author) and not writer (Q36180). What? --Ricordisamoa 22:26, 28 February 2013 (UTC)

Thanks, fixed. --Magnus Manske (talk) 08:43, 1 March 2013 (UTC)

Geneawiki

Really sweet, but I think readability could be better. Is it really useful to have different arrows for "is child" and "is parent". The only reason I see for it, is that it would reinforce confidence in the data. But given that bots will probably add "is child" relations on the faith of the reciprocal "is parent", I am not convinced it is useful. And instead or blue arrows / red arrows, shouldn't we have boys in blue boxes and gals in pink (or whatever color appear more acceptable :). --Zolo (talk) 17:56, 1 March 2013 (UTC)

Moreover: plastic-handleable trees are funny, but GeneaWiki should also be capable of generating fixed trees (see this example from Rodovid). --Ricordisamoa 18:44, 1 March 2013 (UTC)
And also: allowing a lang parameter in the querystring would be desirable. --Ricordisamoa 19:04, 1 March 2013 (UTC)
And if you have time some day, academic also want to climb trees: P:P184 + P:P185... --Zolo (talk) 15:29, 3 March 2013 (UTC)

wikidata_useful 2

Ich wollte nur sagen, dass ich deinen Code übernommen und abgewandelt habe. Einiges habe ich entfernt und mit dem Code für die Ländernamen habe ich mir etwas vergleichbares wie für die Berufe zusammen geschrieben. Damit kann man die Liste der Berufe stark vergrößern ohne das Tool optisch zu überladen. Denkbar wären auch noch weitere Klappboxen, etwa für "genre" und "architectural style". Werde das wahrscheinlich auch noch bei mir ergänzen. Gruß, --Goldzahn (talk) 18:40, 3 March 2013 (UTC)

Mir ist es jetzt gelungen einen Zwischenspeicher für p- und q-Werte zu bauen. Die Werte werden per Click in zwei Cookies gespeichert und wenn man ein neues item aufruft, werden die Werte automatisch aus dem Cookie geladen. Da bei mir die Cookies beim Browser-schließen gelöscht werden, habe ich mich um das Entfernen der Cookies nicht gekümmert. Verwendet habe ich dafür die System-Funktion jQuery.cookie(). Ich denke, dass könnte auch für dein Skript etwas nützliches sein. --Goldzahn (talk) 06:54, 22 March 2013 (UTC)
Ich hatte schon mit dem Gedanken an HTML5-Storage gespielt, habe ich woanders erfolgreich verwendet. Persistent, und kann viele MB halten. Ist aber aufwändiger. Sollte vielleicht eher in WikiData selbst etabliert werden, zumindest für die Properties. --Magnus Manske (talk) 08:58, 22 March 2013 (UTC)
jStorage is a good help! Allows to store also objects, arrays, etc. in cookies or LocalStorage (depending on availability) --Ricordisamoa 09:41, 22 March 2013 (UTC)

It seems, that the developers change their code and after changing in your script "wikidata useful.js" "div.wb-claims-section" to "div.wb-claims" you will see again what updates you have done to the Wikidata database. --Goldzahn (talk) 06:02, 27 March 2013 (UTC)

Thanks, fixed. --Magnus Manske (talk) 09:15, 27 March 2013 (UTC)

Import statements.js

Hello! I find your tool Import statements.js very useful for collecting data from infoboxes. Why did you remove it from the Wikidata:Tools list a few weeks ago? Is it okay to use it, or do you find some problem?

I suppose it would be a lot of work for you to keep it up-to-date. Since you made the gadget, many more examples of property to infobox parameter mapping have been published at Wd:phase 2, and in the property description form at each property discussion page. See Property talk:P112 for an example. People might want to add infobox mapping from other Wikipedias than enwp. Do you think some kind of collaborative development would be an option?

It would be helpful if this template added info about from which Wikipedia version the data is collected, by adding reference / property / imported from (Property:P143) to the statement, for example with value Q328 (English Wikipedia).

Extracting external references from Wikipedia infoboxes is also important, but more difficult. For example:

Mange01 (talk) 15:50, 13 March 2013 (UTC)

Thanks, I accidentally overwrote that with another tool :-) Re-added. It was intended as an early demo, but I assume bots will be taking over the infobox imports soon. --Magnus Manske (talk) 15:54, 13 March 2013 (UTC)

GeneaWiki

Hi. GeneaWiki has helped me a lot because I have been adding many genealogy statements recently. But when I load some certain item, the graph become a straight line (all vertices are on the same line) like this one. Could you please take a look at it? Regards,--Stevenliuyi (talk) 03:03, 15 March 2013 (UTC)

Hi, this appears to be a failure of the layout library. Rather than crawling into that code, I recommend the geneawiki successor. --Magnus Manske (talk) 08:57, 15 March 2013 (UTC)
Ah, it's even better suited for my purpose. Thank you so much. --Stevenliuyi (talk) 12:56, 15 March 2013 (UTC)

WD useful property value update

Hi Magnus. If you weren't aware, the community has moved to the items Q6581072 and Q6581097 for "female" and "male" as values of P21. (See property talk:p21.) Eventually a bot will fix the old values. Could you update wd_useful with the new values? Thanks, Espeso (talk) 18:19, 19 March 2013 (UTC)

Done. --Magnus Manske (talk) 18:26, 19 March 2013 (UTC)

wikidata_useful some requests

the tool is very much useful to add statements easily. i kindly request some more features like P107 -> Q215627 person before man | woman. and P106 -> Q2066131 sportsperson link too before the sports that would be very useful Aswn (talk) 02:30, 20 March 2013 (UTC)

Done, and done. --Magnus Manske (talk) 08:57, 28 March 2013 (UTC)

Special values in Wdstats

Hello Magnus, Talk:Q7745125 has me wonder whether wdstats could support the "unknown" and "no value" special values. --Zolo (talk) 21:12, 23 March 2013 (UTC)

Not at the moment. The database that is exposed on the toolserver does not actually contain the property:value pairs; I get them by forming a subsection of both wiki-links, and then confirm via API. But "unknown" and "no value" have no such links. --Magnus Manske (talk) 21:40, 23 March 2013 (UTC)

Your bot requests

Hello, could you please respond to the queries on your bot requests if you're still interested? Thanks.  Hazard-SJ  ✈  02:19, 24 March 2013 (UTC)

Mit wd_query Label abfragen?

Hallo ist es möglich mit deinem tool wd_query zu prüfen, ob Bezeichnung oder Beschreibung (also label und description) leer sind?--CENNOXX (talk) 23:52, 24 March 2013 (UTC)

Meinst Du, dass z.B. [%22!P50,P98,P123%22,%22Q571%22&format=json das hier] auch Label/Description (in einer bestimmten Sprache) oder den "binären" Zustand (hat/hat nicht) zurückgeben soll? Oder "nur leere labels" als Option in der Abfrage selbst? --Magnus Manske (talk) 10:35, 25 March 2013 (UTC)
Ich meinte das zweite.--CENNOXX (talk) 17:17, 25 March 2013 (UTC)

Request for authority_control.js

Would you please add support for Property:P349 (NDL) and Property:P271 (CiNii), and also search Japanese Wikipedia for Normdaten template? It would be great! --fryed-peach (talk) 08:32, 27 March 2013 (UTC)

Added, but untested. --Magnus Manske (talk) 09:04, 27 March 2013 (UTC)
Thanks a lot! In my testing, it seems to work correctly. --fryed-peach (talk) 03:25, 28 March 2013 (UTC)

wikidata_useful.js colours red, and prevents addition

Hey MM. I started using your wikidata_useful.js script today. I found an issue that I couldn't circumvent. I have been adding missing names, ie. where they page is labelled Qnnnnnn and no name, and when I tried with your script in action, it pre-filled with the missing name, highlighted with red, however, it wouldn't let me save that name field. Am I missing a trick here?  — billinghurst sDrewth 07:06, 29 March 2013 (UTC)

Yeah, I couldn't get the interface to accept the auto-fill as an edit, so what you do is you type a space, which enables saving, then enter. The space will be removed automatically by the interface. Best I could do there :-( --Magnus Manske (talk) 14:56, 29 March 2013 (UTC)
Sweet, tried other things, but clearly not that.  — billinghurst sDrewth 10:06, 30 March 2013 (UTC)

Apologies for bothering, at a page like Q2616857 your text scraper gathers the text from the coords (displayed from enWP's {{Infobox UK place}}). Is there an easy means to get it to ignore something like Coordinates: 52.641709°N 1.132793°E / 52.641709; 1.132793}} and take the next paragraph? I have also seen it on hatnotes, though predominantly it is coords that show.  — billinghurst sDrewth 09:53, 2 April 2013 (UTC)

and thanks a lot for the tool, it makes some of the basics a lot quicker, and less bothersome.  — billinghurst sDrewth 09:59, 2 April 2013 (UTC)
Hi, that text is generated by the MediaWiki API. I have now switched the setting from "5 sentences" to "300 characters". Potentially more ugly, but it does show actual text for your example. --Magnus Manske (talk) 10:02, 2 April 2013 (UTC)
I am using this js a lot, though for the areas that I am working upon, I would be wanting to change some of the easy selections, eg. different countries, and sometimes different professions. I can see that I could copy the code over, and then interchange those countries, and locations of interest, however, that would defeat the purpose of stealing using the code of someone hacking competent. Had you thought of having the code so that people could have their own sets lists (set filenames in one's own user space) for some of the sub-properties and these could be pulled with your code if/where personal lists exist? If it is a low priority, that is fine, and I will just copy your code, and just keep a watchful eye for when you update. Thanks. If you do, then I am comfortable to look to do some of the documentation for the use of the script and how one may customise.  — billinghurst sDrewth 04:49, 6 April 2013 (UTC)
Would your settings replace the default, add to them, or need to both add and remove things? Different amount of work, as you know :-) If you think your items are generally useful, feel free to edit the source on my page! --Magnus Manske (talk) 16:01, 6 April 2013 (UTC)

Wikidata useful extension?

Hey,

I was just wondering if there's a way to adapt wd useful to be able to duplicate statements from page as well, e.g. from the items linked at Wikidata:Tropical cyclones task force/standard/Atlantic. And, if so, may it be implemented please? Danke sehr ;-) Hurricanefan24 (talk) 14:49, 29 March 2013 (UTC)

I'll have a look, maybe tomorrow. --Magnus Manske (talk) 21:02, 9 April 2013 (UTC)
Thanks; your effort will be/is appreciated! :) Hurricanefan24 (talk) 22:52, 9 April 2013 (UTC)
Try it now! --Magnus Manske (talk) 11:51, 10 April 2013 (UTC)
Thanks a ton...you deserve some applause for you work. :) Hurricanefan24 (talk) 15:46, 10 April 2013 (UTC)
The Wikidata Barnstar
For your great work on Wikidata which allows us lazy people to kick back and relax while you do all the hard work... thanks a ton! ;-) Hurricanefan24 (talk) 15:46, 10 April 2013 (UTC)

Bugs

Hallo Magnus Manske,

LCCN in authority_control.js

ich glaub authority_control.js lädt die LCCN irgendwie falsch. Hab hier die mit deinem Tool geladene LCCN korrigiert: http://www.wikidata.org/w/index.php?title=Q61629&diff=18172930&oldid=18172727 Bin mir nicht sicher, aber kann es sein, dass das mit dem Format zusammenhängt und das Tool die Schrägstriche wegfallen lässt? LCCN sollte jedenfalls ohne die Schrägstriche so: Property_talk:P244#Format_Summary abgespeichert werden.--CENNOXX (talk) 18:50, 1 April 2013 (UTC)

Einige der LCCNs aus de.wikipedia kommen falsch rüber. Bin mir nicht sicher warum. LCCNs, die direkt von viaf.org kommen, scheinen korrekt zu sein.
wikidata_useful.js

Das Tool verdeckt das Untermenü neben dem Beobachtungsstern, (p-cactions) wenn das augeklappt wird und ein bisschen länger ist

Ja, muss am Layout arbeiten, überlege aber noch, wie am Besten (Tablets, Telefone etc.)
consistency_check.js

Das Tool hat vorhin bei mir nicht mehr geklappt (jetzt hab ichs rausgetan, ich brauchs nicht unbedingt), kann aber auch an meinen anderen Scripten gelegen haben. Sollte es sonst noch bei allen anderen gehen und nur bei mir aufgetreten sein, ist das also egal.

Viele Grüße, --CENNOXX (talk) 18:50, 1 April 2013 (UTC)

wikidata_useful.js #2

Hallo, Teile des Tools (mir ist das bei tryAutoAdd aufgefallen) funktionieren nur, wenn als Sprach-Oberfläche Englisch eingestellt ist.--CENNOXX (talk) 17:00, 6 April 2013 (UTC)

Noch ne Idee für das Script: Du könntest abfragen, ob es sich um eine Kategorie handelt und wenn dem so ist, die Description mit "Wikipedia category" füllen und das Label mit dem Artikelnamen füllen, weil von Bots manchmal die Klammer-Ergänzung weggelassen wird.[1]--CENNOXX (talk) 18:06, 6 April 2013 (UTC)
Ich nochmal: Ist es möglich, als Source imported from- English Wikipedia anzugeben, wenn die Daten mit "Duplicate statements to en category" weiterkopiert werden?--CENNOXX (talk) 00:38, 7 April 2013 (UTC)

Wdstats

Hi Magnus

Nice tool. Good to see that data can already be explored online.

BTW for items with a string-type property, it seems that they always appear as "none". If the value can't be determined easily, it would be interesting to split between "no property" and "property available". --  Docu  at 15:49, 7 April 2013 (UTC)


Can the tool query limit change to more than 1000? --Napoleon.tan (talk) 22:36, 7 June 2013 (UTC)

P107: Stats

Hi Magnus, danke für die regelmäßigen Updates! Ich habe die Statistik nach oben verschoben, damit man sie leichter findet. --Kolja21 (talk) 01:27, 9 April 2013 (UTC)

Typo in the Resonator tool

Hello, Magnus! There is a typo in the Resonator source code: &nbsb; instead of &nbsp;. See for example [2]. Rsocol (talk) 18:55, 13 April 2013 (UTC)

Thanks, fixed. --Magnus Manske (talk) 22:59, 13 April 2013 (UTC)

Hello, will you react to my remark? Those links are used now deliberately wrong. Infovarius (talk) 08:34, 14 April 2013 (UTC)

I've done that, because Magnus Manske didn't reacted…--CENNOXX (talk) 11:35, 14 April 2013 (UTC)

WikiData query for Strings

Hi!

Is it possible to use https://toolserver.org/~magnus/ts2/php/wd_query.php for Strings? Specifically, I'm interested in all items that have Property:P345 with a String value that doesn't match this regexp: ^(tt|nm|ch|co)[0-9]{7}$ If not, do you know of some other way in which to do this? Gabbe (talk) 15:04, 17 April 2013 (UTC)

It cannot check actual values, as these are not exposed on the toolserver. Items/properties I check via the intrawiki-links, which is why the tool tends to produce false positives. Maybe when they fix the toolserver setup, or Wikimedia Labs gets databases. --Magnus Manske (talk) 18:12, 17 April 2013 (UTC)
Ah, I see. Thanks anyway! Gabbe (talk) 18:21, 17 April 2013 (UTC)

About tool "Import statments"

How to handle w:Template:Automatic taxobox, Sir? It's get notice "Infoboxes scanned, 0 statements imported". Kind regards,  Ę-oиė  >>> 17:13, 17 April 2013 (UTC)

That one's going to be ... tricky. --Magnus Manske (talk) 18:18, 17 April 2013 (UTC)
Can you use your magic, Sir? :)  Ę-oиė  >>> 18:58, 17 April 2013 (UTC)

Criss-crossing lines in Geneawiki2

Just wondering if that would be complicated to avoid. For instance this tree would be easier to read if children of Seth were above children of Cain, and so on. --Zolo (talk) 07:50, 19 April 2013 (UTC)

Added to the to-do-list (as in: eventually, but not soon. This gets much more complicated once mothers are there, too. Needs a completely different layout algorithm.) --Magnus Manske (talk) 09:14, 19 April 2013 (UTC)
Ok thanks.-Zolo (talk) 15:19, 19 April 2013 (UTC)

Wikidata Query doesn't work

Hi, try Opera with no GND and you'll see a list of 3 items which have the GND property. Same problem with any query I tried. --Viscontino (talk) 12:02, 24 April 2013 (UTC)

Yes, the tool is based on the toolserver mirror of the database, which is several decades or so out-of-date. --Magnus Manske (talk) 12:25, 24 April 2013 (UTC)

Wiri

You : What are you?

Wiri : I am the Singularity. Now bend over.

O.o ... FrigidNinja 21:27, 24 April 2013 (UTC)

Yeah, she's like that sometimes ;-) --Magnus Manske (talk) 21:56, 24 April 2013 (UTC)

Adminsitrative divisions in Wikidata useful

Hi, as I said "province" or "district" can mean completely different things depending on countries (and, consequentially, translations can be very wrong, "Province of Iran" means something different in English and Italian). Bots can add better values based on templates/categories but it is easiest to do when another one is not already there. --Zolo (talk) 14:31, 29 April 2013 (UTC)

Well, I was somewhat upset when I clicked on "city" and it wouldn't appear, and that should translate nicely. Do we actually have nuanced items for the "Province of Iran" issue? My point being, yes, some of these might not be accurate, but deactivating all of them is not helpful either. Also, if the links don't actually add a specific value anymore, best remove them completely. --Magnus Manske (talk) 14:35, 29 April 2013 (UTC)
Yes, maybe better to remove it completely. "City" should often translate nicely but that is not a really accurate term either, actually items are about municipalities, and they are very different both in political attributions and in geographic extension depending on countries. We have many items like province of Iran, we still need to correct the labels but the concept is corrrect. --Zolo (talk) 14:42, 29 April 2013 (UTC)
So, can I remove all administrative divisions from the script ? "Village" and "cities" could be relevant in item descriptions, but as type of administrative divisions, they are actually often incorrect. --Zolo (talk) 09:43, 30 April 2013 (UTC)
Would it make sense to use "instance of" instead of "administrative division" there? --Magnus Manske (talk) 09:46, 30 April 2013 (UTC)
Yes, that is what I think too. Actually, I made a bulk deletion request for several "type of" properties that do not make much sense to me, but it did not succeeed (and actually "administrative division" is one of the trickiest of them as an administrative unit can be an instance of other things at the same time). --Zolo (talk) 09:54, 30 April 2013 (UTC)
Unless you have major objections to it, I will remove it, as it is really not good. "County" and "Province" are terrible but even "city" does not really mean anything (for instance France is divided into communes, and "city" usually means a commune with more than 2000 inhabitants, which will be much more precisely retrieved from querying the population property). --Zolo (talk) 06:42, 14 May 2013 (UTC)

Reasonator

Nice tool. I like it.

P119, P409, P349 might be worth displaying on the right side as well. Somehow P269 doesn't get displayed at all. --  Docu  at 05:41, 3 May 2013 (UTC)

Thanks. P119 is "place of burial", not sure why that should go into the right column. The others should be supported now. --Magnus Manske (talk) 08:11, 3 May 2013 (UTC)
Sorry, I meant P434, not 119. Q1339 also has P396. Thanks. --  Docu  at 17:40, 3 May 2013 (UTC)
Done. Can't find a URL schema for ICCU, though. --Magnus Manske (talk) 18:15, 3 May 2013 (UTC)
Good, thanks! For ICCU, there is some discussion about the format and URL on Property_talk:P396. Neither point seems to have reached a satisfactory conclusion. --  Docu  at 07:25, 4 May 2013 (UTC)

Single quotes in Resonator tool

Hello, Magnus! It appears that articles with names containing single quotes (and maybe other characters, too) are not handled correctly in Resonator. See, for example, the link to fr.wiki in http://toolserver.org/~magnus/ts2/reasonator/?q=Q86974. Rsocol (talk) 18:50, 7 May 2013 (UTC)

Thanks, fixed. Damn, why do the French have to write in a way that forces me to properly escape HTML attributes?!? --Magnus Manske (talk) 19:27, 7 May 2013 (UTC)

Top-terminator for russian

Can you please turn on the link: http://toolserver.org/~magnus/wd_terminator.php?list&lang=ru --Infovarius (talk) 16:36, 13 May 2013 (UTC)

Done, should come online after the next update. --07:44, 14 May 2013 (UTC)
Or not. Toolserver is fubar. --Magnus Manske (talk) 11:18, 14 May 2013 (UTC)
Sorry, the list is empty. Where's error? Infovarius (talk) 11:17, 21 May 2013 (UTC)
Toolserver does not work reliably. Re-running now. --Magnus Manske (talk) 11:43, 21 May 2013 (UTC)

Template for toolserver query

Hi Magnus,

Just to let you know, I made a template to create links for your tool http://toolserver.org/~magnus/ts2/php/wd_query.php at Template:Constraint:Item. --  Docu  at 14:11, 19 May 2013 (UTC)

Cool! You could also use the new query system, which is much faster, and more precise (the one you used only looks at the presence of links, and can't check specific claim "targets"), but is based on the last data dump, so it's a few days old (current one is May 5). Example: language families without a writing system. Also, the new one doesn't work for string properties yet (well, you can ask for a specific string value, though that's not in the interface yet), but that will change soon. News here or on @MagnusManske at Twitter :-) --Magnus Manske (talk) 21:29, 19 May 2013 (UTC)
I added the newer one. Sometimes it seems to show "No items matching the query." when there are (e.g. the query on Property talk:P429 gave Q200077 and more on toolserver, the property was added to the item on 2013‎-04-20). --  Docu  at 06:40, 20 May 2013 (UTC)
As I said, it doesn't work on strings at all in the interface, and only on specific string values in the backend API. Will fix in the next few days. --Magnus Manske (talk) 09:31, 20 May 2013 (UTC)
I had in mind strings in the second criteria .. silly me. I will fix the template. Any idea how we should check the Wikidata replag on toolserver? --  Docu  at 09:36, 20 May 2013 (UTC)
Template is fixed. See Property talk:P133 for several. --  Docu  at 09:50, 20 May 2013 (UTC)
I removed the new one as it gets 404 messages. --  Docu  at 20:26, 21 May 2013 (UTC)
Some joked killed my instance and started a blank Apache instead. Working again now. --Magnus Manske (talk) 21:04, 23 May 2013 (UTC)

AC tool - 2 questions

Hello Magnus :)

I'm an addict of the AC tool on Commons, but here, it does not seem to work on VIAF : even after waiting for 10 minutes, no values are found on VIAF…

Is there a pb with the VIAF database, or is it the tool that works differently… ?

Well, I feel very frustrated, because I work on "Creators" on Commons, and try and update them on wikidata, so that the data can be used from wikidata… but I cannot import the AC from Commons, where there are generally "complete" (because of many languages required on Commons, whilst on wp, there is generally "only" the AC from the National Library of the concerned language… when there is AC at all…

The only way is to do it "manually" :((

Do you think, for "People" (P107 = q215627), it would be possible to try and import AC from Commons, when the Commons Category (P373) is given ? This way, all the AC from Commons could be added very quickly…

Thanx for all your work on facilitating tools… I also find Wikidata Useful very………… USEFUL :D --Hsarrazin (talk) 11:56, 20 May 2013 (UTC)

Hi Hsarrazin, I don't run any bots on wikidata, so I can't mass-import AC data from Commons; you can ask here. For the interactive JavaScript tool I have here, I just switched the proxy server to wmflabs, so it should run much faster now. If you mean yet another tool, please give an URL so I know what you mean. --Magnus Manske (talk) 14:26, 20 May 2013 (UTC)
No, I don't want to "mass import" from Commons… - I much prefer to launch the search with the js when there are AC missing - and control them before leaving :)
This tool (https://www.wikidata.org/wiki/User:Magnus_Manske/authority_control.js) does not finish the task… : it finds the AC on wikipedias, but it does not give any result from VIAF, even after 10 minutes or more… - I work with Ffx 20 (on a Mac), and it does not finish either on Safari…
Did you try after my last reply? You might have to force-reload a wikidata page to get the latest version. I tried several times now (using Chrome, but that shouldn't matter), and it works fine for me now.
I was wondering if, given Commons category, it would be possible to use Commons as source, like wp sources for AC… since the tool on Commons works fine… ;)
I'll look into that as soon as I get around to it.
UPDATE: authority_control.js now also looks for AC data in the "Creator:" page on Commons, if it exists. Additional testing confirms that VIAF is now working quickly and reliably. --Magnus Manske (talk) 08:53, 21 May 2013 (UTC)
Thanks for adding Creators from Commons, though it does not work from mere "Category" (when a sportsman, for ex.) ;)
I made many tests on VIAF, without success… I guess it's a problem due to my configuration (Mac OSX + Ffx) :( --Hsarrazin (talk) 18:45, 22 May 2013 (UTC)
another proposition, if it is possible : given the right VIAF value, fetch "on demand" the missing AC from VIAF, instead of searching the name of the person from VIAF… which does not work on wd…
anyway, thanx for your help --Hsarrazin (talk) 18:09, 20 May 2013 (UTC)

ISNI support in authority control.js

Hi. Would you please support ISNI (Property:P213) in your authority control.js? It would be nice! --fryed-peach (talk) 01:37, 23 May 2013 (UTC)

could you also please add ULAN from Commons, it is very important for artists, and very few pedias use it :) --Hsarrazin (talk) 14:34, 25 May 2013 (UTC)
Both done (though an example for each, and the ULAN property number would have helped). --Magnus Manske (talk) 10:05, 26 May 2013 (UTC)
Sorry… I thought you were the author of the Commons script, so I just guessed you knew it :) - and thank you - for the BNF value Property:P268 from Commons, the convention is different in Commons and Data - in Commons, the syntax keeps the "cb" at the beginning, which is not the case on wikidata — I wonder why, because it is what identifies the value as "Author", to distinguish from "book" values, but, hey :) — is it possible to change that please ? --Hsarrazin (talk) 02:56, 28 May 2013 (UTC)
Done. Again, an example of actual BNF use on Commons would have been useful, but... --Magnus Manske (talk) 08:06, 28 May 2013 (UTC)

Source code

Hi! I just added the source code of a script of mine which improrts data from Wikipedia infoboxes (adapted from your Wikidata_usefuls.js script). If you wanna take a look it's here. It works for bot now, since it's autoediting, but you can manipulate it to make it useful for normal users. Ciaooo! --Viscontino (talk) 08:26, 26 May 2013 (UTC)

Hallo, ich benutze mit User:Holger1959/common.js dein Skript. Seit den heutigen Änderungen [3] wird die ganze Box nicht mehr angezeigt. Hab den Browsercache geleert, dann Javascript testweise deaktiviert und wieder aktiviert, mich hier ausgeloggt und neu angemeldet, mehrere Browser ausprobiert. Hilft alles nichts, die Box bleibt verschwunden. Kannst du was machen? Holger1959 (talk) 17:55, 30 May 2013 (UTC)

Da ist was an der Änderung schief gegangen, sollte jetzt repariert sein. Sorry. --Magnus Manske (talk) 18:00, 30 May 2013 (UTC)
noch mal die selbe Prozedur durchgeführt, aber die nützliche Box bleibt leider verschwunden. Ich weiß nicht, was diese geheimnisvollen Zeilen [4] bewirken, aber eigentlich kann es nur noch daran liegen. Holger1959 (talk) 18:25, 30 May 2013 (UTC)
P.S. man merkt erst richtig, wie toll solche Helferlein sind, wenn sie nicht mehr funktionieren. Also: vielen Dank für deine Arbeit! Holger1959 (talk) 18:27, 30 May 2013 (UTC)
Broken for me too. I will sit on my hands and do things at other wikis while I wait. Thanks for the tool.  — billinghurst sDrewth 00:17, 31 May 2013 (UTC)
don't read German, but I agree with Billinghurst :(( --Hsarrazin (talk) 03:47, 31 May 2013 (UTC)
AAAAAND... it's back! --Magnus Manske (talk) 08:20, 31 May 2013 (UTC)
Hurrah! Holger1959 (talk) 08:51, 31 May 2013 (UTC)
Hip, hip, hurray… thanks a lot :) --Hsarrazin (talk) 09:16, 31 May 2013 (UTC)

Magnus, a small request, if possible…

Would you be kind enough to position the box just 1 cm lower, so that it does not hide the "Merge item" from the Menu just above (for people who activated the tool) ?, or, if you prefer, let the user keep the box in the last position it was ? it would really be a help to have that box in the "best position" for the user (but I think this is much more complicated ;) --Hsarrazin (talk) 09:33, 31 May 2013 (UTC)

Like that? --Magnus Manske (talk) 09:39, 31 May 2013 (UTC)

Second-degree kinship relations

Something we discussed in the last Cambridge meetup. Wikidata:Properties_for_deletion#Property:P29_.2B_Property:P139 Deryck Chan (talk) 11:00, 3 June 2013 (UTC)

Missing Props

Thanks for your new script, it's really useful! Could you please add type person (Q215627)?

'person' : [ [107, 215627] ]

And these properties:

'person' : [21, 27, 569, 570, 19, 20, 513, 106, 101, 108, 69, 512, 26, 40, 25, 22, 9, 7, 463, 102, 39]

Here are the property names, for reference:

sex or gender (P21), country of citizenship (P27), date of birth (P569), date of death (P570), place of birth (P19), place of death (P20), P513 (P513), occupation (P106), field of work (P101), employer (P108), educated at (P69), academic degree (P512) spouse (P26), child (P40), mother (P25), father (P22), P9 (P9), P7 (P7), member of (P463), member of political party (P102), position held (P39)

Other less common properties can be found at Wikidata:List of properties/Person. Mushroom (talk) 10:20, 4 June 2013 (UTC)

Thanks, I added your list. You seem to know what you are doing, if you have more, feel free to edit the code directly! --Magnus Manske (talk) 10:42, 4 June 2013 (UTC)
That was quick, thanks! Unfortunately I can't make additions directly because non-sysops are not allowed to edit other users' scripts (we don't have the "edituserjs" right), but if I have other ideas I'll let you know. Mushroom (talk) 11:33, 4 June 2013 (UTC)
Hello, can you please add Property:P53 (noble family) to the properties for a person ? -Ash Crow (talk) 21:23, 10 August 2013 (UTC)
Done.--Magnus Manske (talk) 09:12, 11 August 2013 (UTC)
Thank you! -Ash Crow (talk) 14:48, 11 August 2013 (UTC)

Bot idea

Hello, Magnus Manske. You have new messages at Wikidata:Bot requests#Set sex:male for item list.
You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

--Ricordisamoa 09:23, 3 August 2013 (UTC)

Please see User:Byrial/Uncles re your redundancy argument in the above. --  Docu  at 19:59, 9 June 2013 (UTC)

Wikidataquery

I really like the Wikidataquery tool you have on [5]. There seem to be errors, though, as some entries are not listed when they obviously should have. For example, I looked for Presidents of Iceland but there were none listed and I know the claim was added to Ólafur Ragnar Grímsson on the 11th of July.

Can you add a feature where one can look for claims regarding interwiki links? Like where one can filter according to articles which are linked to a specific language version, or the opposite. On a related note, also according to the existance of labels and/or descriptions in a specific language. -Svavar Kjarrval (talk) 02:27, 24 July 2013 (UTC)

Imported new dump, the Presidents should be there now. The API currently doesn't import language links; I'll look into adding that on the query interface. --Magnus Manske (talk) 12:17, 30 July 2013 (UTC)
Excellent. Thank you! :D -Svavar Kjarrval (talk) 12:19, 30 July 2013 (UTC)

Property proposal: "based on heuristic"

Could you have look at Wikidata:Property proposal/References#based on heuristic (en)? Cheers, —Ruud 12:40, 2 August 2013 (UTC)

Query Wikidata

Hi Magnus,

I'm try to extract some information from wikidata. I would like to obtain a list of all people born into a country and then moved to another. For example all italian people emigrated to United States like Q188692.

I know Wikidata use property P551 (residence) in this way:

Item: Person XYZ

 Property: residence
  Value: country A (say, this is the place the person was born and lived for the first years)
   qualifier: start date
    Value: XX.YY.ZZZZ
   qualifier: end date
    Value: XX.YY.ZZZZ
 Property: residence
  Value: country B (say, he makes here a longer stay for several years, e.g. for education)
   qualifier: start date
    Value: XX.YY.ZZZZ
   qualifier: end date
    Value: XX.YY.ZZZZ
 Property: residence
  Value: country A (say, he came back to the country he has born)
   qualifier: start date
    Value: XX.YY.ZZZZ
   qualifier: end date
    Value: XX.YY.ZZZZ
 Property: residence
  Value: country B (say, this is the country he has emigrated to)
   qualifier: start date
    Value: XX.YY.ZZZZ
   qualifier: end date
    Value: XX.YY.ZZZZ
   qualifier: as
       value: emigrant


I'm try to write some query on wikidata but it is not easy...

A) extract all people (P107 equal to Q215627)

  AND

B) only people born in a place of Italy ( ... )

  AND

C) Residence (P551) equal to a place of United States.

I have start to write some query like this: " http://208.80.153.172/wdq/?q=claim[107:215627]_and_tree[38][150][17,131] " but i can't continue ...

Could you help me? Using wikidataquery how to extract only people born in a place of Italy ?

thanks, LucaBiondi (talk) 22:57, 6 August 2013 (UTC)

Hi LucaBiondi, this would require subqueries, which are not implemented in wikidataquery at the moment. However, I did plan for them, and will try to implement them as soon as I can. This weekend, I hope. --Magnus Manske (talk) 08:08, 7 August 2013 (UTC)


Hi Magnus,
Thank you!! I think subqueries will be a big improvement !!
I can not wait to try on my query ... :-)
Thanks! LucaBiondi (talk) 13:58, 7 August 2013 (UTC)

Wikidata useful: Duplicate statements to en category

Hello Magnus, thanks for this great tool. I've got a question about the option "Duplicate statements to en category": would it be possible to add only one statement to the items in the category? Maybe through a separate tool because lots of items have now many statements which makes the use of the tool very difficult. Thanks in advance. Ayack (talk) 19:02, 19 August 2013 (UTC)

Using "Category items" as an automated way of adding statements

Hi Magnus, these last days we were having a discussion about how to add statements to items contained in certain Wikipedia categories through their category item. Instead of doing it with properties it would be better to do it with a template on the talk page of the category item with similar options to the Array properties gadget. I asked about expanding {{Constraint}} with "Required claims for items in this category", but since it is bot-based, it would be too slow for generating reports. If you had any idea for a better implementation, I would be very grateful. Maybe the template generation could even be combined with your Wikidata useful tool? --Micru (talk) 00:23, 21 August 2013 (UTC)


Localities

Hi Magnus,

You might want to look into Wikidata:Property_proposal/Place#Locatable_on_earth. --  Docu  at 07:40, 24 August 2013 (UTC)

WikiDataQuery

Hi Magnus,

I'm using WikiDataQuery and it's a very helpful tool! I want to ask if you could do some additions in the results.

  • 1) Would be nice for example display, next to the label, the value of a property i have chosen

Example:

Result (label)                                                 Istance of (P31)     (P176)     ....

1.Opel Astra (a small family car)                               automobile           Opel

2.Opel Ascona (modèle d'automobiles)                            automobile            ...

3.Opel 1.3 litre (autovettura del 1934 prodotta dalla Opel)     automobile            ...

  • 2) Sort the results by a property i choosen (eg. P31 ... )
  • 3) Display result in a table where first column is the label, the second is the first property ....

p.s. now that Wikidata start to have a lot of data, becomes very important to be able to query the data to see if these are valid or not!

Thank you LucaBiondi (talk) 15:54, 25 August 2013 (UTC)

Query tool

Hi Magnus,

Somehow it seems that something like:

  • claim[1:123] AND noclaim[2]

and

  • claim[1:123] AND (noclaim[2])

don't give the same results. Is this intended? Only the first works. Not sure if:

  • claim[1:123] AND (noclaim[2] OR noclaim[3])

would work either --  Docu  at 16:41, 31 August 2013 (UTC)

Hmm .. it just seems to be an effect of properties without items not working. --  Docu  at 16:44, 31 August 2013 (UTC)

Issues with some identifiers

Hi! I believe that your script that add identifiers doesn't follow all authority control ids formating conventions, causing duplications. See, by example, this diff that remove duplicates for an item you have edited. Thanks ! Tpt (talk) 10:51, 7 September 2013 (UTC)

I see two problems remaining in your amazing script:
  1. for LCCN identifiers, you don't adds needed zeros before the last part of the LCCN id in order to give it a length of 6. By example, n/93/123 should become n93000123 and not n93123.
  2. For ISNI id, each parts of 4 digits should be spaced by a white space like in "0000 0000 1234 5678" and not "0000000012345678".
Consistency checks reports are full of errors introduced by you tools like there. Thanks to stop using it before fixing this bug. It's annoying to have to work after you to fix these issues. Tpt (talk) 13:37, 24 September 2013 (UTC)
Should be fixed now. --Magnus Manske (talk) 14:05, 24 September 2013 (UTC)
Thanks a lot! Tpt (talk) 14:24, 24 September 2013 (UTC)

Youve got mail!

Dropped you and email, and it might be an idea to read it asap :> ·addshore· talk to me! 19:25, 10 September 2013 (UTC)

Yes, just saw it, thanks! Saw the announcement before, but the current API still uses lowercase, only the test API uses uppercase. If I switch now, I'll break the scripts now, right? Maybe I should prep for it, though. --Magnus Manske (talk) 19:30, 10 September 2013 (UTC)
Indeed, if you make the change before the deployment the scripts will break until the changes are deployed :P. My plan would be to modify the files and post them in a pastebin and link to them on the talk page or something? That way if the deployment happens you can simply copy and paste into the js file and fix everything :) And then if you are not around someone else could also do it :) I was going to give it a shot with your scripts but I think I have been awake for too long and looked at too much code today, justing seeing Q q P P QpQppqP everywhere.. ·addshore· talk to me! 19:34, 10 September 2013 (UTC)
also another quick note to remember, the api will accept both lower and upper case in queries. But any result from the API will always have uppercase. So the only thing that will break if comparing hardcoded properties with result or looking for specific properties / entities in keys of arrays :) ·addshore· talk to me! 19:41, 10 September 2013 (UTC)
Tried something with User:Magnus_Manske/wikidata_useful.js. P/Q for setting values now uppercase, for checking lowercase as q_prefix/p_prefix variable. Doesn't appear to have broken anything, should be easy to switch over. I'll look at the others now. --Magnus Manske (talk) 19:42, 10 September 2013 (UTC)

sourcerer

Hey, great stuff :) . Maybe it is possible to get the language list into a folding box, because it becomes sometimes very big (f. e. Nikola Tesla (Q9036), 36 entries for first link)? Greetings, Conny (talk) 21:23, 11 September 2013 (UTC).

Better now? --Magnus Manske (talk) 21:43, 11 September 2013 (UTC)
Super :) . Thank you very much. Countdown is also cewl :) . Have a nice time, Conny (talk) 06:00, 12 September 2013 (UTC).


Wikidata Query tool

When I try to add a third or a fourth condition, the interface seems to remove previous ones. Also, links with series of claims that worked before seem broken. --  Docu  at 09:23, 14 September 2013 (UTC)

Working on it. --Magnus Manske (talk) 16:54, 15 September 2013 (UTC)
Try it now. --Magnus Manske (talk) 18:02, 17 September 2013 (UTC)

Tools

Is there some place onwiki where all of your different tools are listed? --Izno (talk) 16:50, 15 September 2013 (UTC)

There is a list of my tools on Labs, my tools on Toolserver, and which tools to port to Labs before Toolserver is downsized/shut down in 2014. --Magnus Manske (talk) 16:54, 15 September 2013 (UTC)
Oh, no, but I did find what I was looking for (referenced in the first section!) at WD:Tools. Thanks though. --Izno (talk) 17:03, 15 September 2013 (UTC)

Missing property tool not working

Hello Magnus, the Missing property tool is not working anymore for me. Could you please have a look at it? I like it very much to add person data. I think I remember that you intended to insert automatically by bot person data from Wikipedia to Wikidata (e.g. birth dates, death dates etc., when it would be approved in the discussion. I think the approval has been given. Is this insertion still planned, and if so, when will it be done approximately? Thank you, Longbow4u (talk) 13:47, 17 September 2013 (UTC)

Try it now. --Magnus Manske (talk) 19:15, 17 September 2013 (UTC)
It works again. Thank you! Longbow4u (talk) 22:41, 17 September 2013 (UTC)

Wikidata Query Tool: Dump version feedback

First I want to thank you for this great tool. It would be very helpful if it shows somewhere which dump it uses currently. I would like to rerun some queries whenever the dump is updated. Just the date of the dump would be enough. Thanks a lot.  — Felix Reimann (talk) 16:13, 19 September 2013 (UTC)

Wikidata useful keeps adding P107

Hi Magnus, sorry to bother. I noticed that Wikidata useful keeps adding P107 (P107), that is deprecated, when someone clicks on "man" or "woman", i.e. when adding sex or gender (P21). Can you possibly fix that? Thank you very much, and keep up the good work. :) --Sannita - not just another it.wiki sysop 18:26, 22 September 2013 (UTC)

So, what's the official thing it should add instead? Instance:Person? Instance:Human? I believe that was still undecided, last time I looked. I'd prefer not to get dragged into that fight ;-) --Magnus Manske (talk) 18:50, 22 September 2013 (UTC)
I think it would be more careful not to add anything at all, at the moment. I totally understand you for your preferences. ;) --Sannita - not just another it.wiki sysop 12:48, 23 September 2013 (UTC)

I've post a message here. Thanks Leag ⠇⠑⠁⠛ 10:15, 26 September 2013 (UTC)

Up Leag ⠇⠑⠁⠛ 07:07, 2 October 2013 (UTC)

Hi, I am currently trying to introduce Wikidata in French Wikipedia infoboxes, and for doing so, we need to reform the maintenance system. It may be of great help if there was a "languages with sitelinks" condition in Wikidataquery :). --Zolo (talk) 08:12, 27 September 2013 (UTC)

Hi, do you mean like "items that link to fr.wikipedia", or do you need the actual link in the results? --Magnus Manske (talk) 08:16, 27 September 2013 (UTC)
Sorry, I mean "items that link to fr.wikipedia". --Zolo (talk) 08:50, 27 September 2013 (UTC)
That said, if you could somehow manage to use the sitelinks and integrate CatScan, that would be great to have : "page using template:XX" but with no property YY on Wikidata. --Zolo (talk) 09:07, 27 September 2013 (UTC)

Let me try to summarize; you want

  • a list of fr.wp pages with a certain template
  • of those, the corresponding Wikidata IDS
  • of those IDs, the ones that do not have a certain property set
  • the fr.wp pages corresponding to those IDs

I could make a tool that does that, which would be easier to navigate and could be "live" instead of the hours-to-days-old Wikidataquery. What I need to know is, are these the full specs? Do you need categories instead of templates? Templates on talk pages instead of article pages? Other Wikidata conditions except "Wikidata property X not set"? I'd prefer to know any "complications" before I get started. --Magnus Manske (talk) 09:43, 27 September 2013 (UTC)

Yes, constraints on properties would be better than just "does not have the property". It would be nice to be able to look for pages containing - or not containing - a certain category in addition to templates (it should include categories automatically added through templates rather than added through the page's Wikitext). I do not see any use for including templates of talk pages. --Zolo (talk) 10:03, 27 September 2013 (UTC)
So, what "constraints on properties" are we talking about? Numerical value ranges (once there will be numerical values!), date ranges, near-by-coordinates? Sub-selecting by "direct" categories or a category tree a la CatScan (it's basically impossible to find out if the category comes from a template or is in the primary wikitext, but that shouldn't be a problem)? Any other criteria, special functions? --Magnus Manske (talk) 10:12, 27 September 2013 (UTC)
Things have not really started, so there may be things I do not see yet, but the following would be useful:
  • for item properties: check if the value is contained in a set of possible values
  • contains (or does not contain) qualifier Y. If the qualifier type is item - it should also be possible to check if the qualifier is contained in a given set of values
  • contains (or does not contain) property X with source Y
Subcategories do not seem to be needed (it should just be possible to check if the article is or is not in a specified maintenance category. It does not matter if that includes categories added though the Wikitext, as long as it does not omit those included by templates). --Zolo (talk) 10:39, 27 September 2013 (UTC)