User talk:Multichill/Archives/2016/August: Difference between revisions

Content deleted Content added
Hazard-Bot (talk | contribs)
Bot: Archiving 4 threads from User talk:Multichill.
 
Hazard-Bot (talk | contribs)
m Bot: Archiving 1 thread from User talk:Multichill.
 
(One intermediate revision by the same user not shown)
Line 19:
 
finaly I got an answerd - see: https://www.wikidata.org/wiki/User_talk:Villy_Fink_Isaksen#Inventory_number_on_Q20271014 --[[User:Villy Fink Isaksen|Villy Fink Isaksen]] ([[User talk:Villy Fink Isaksen|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 17:43, 12 August 2016 (UTC)
== Single value constraint on p1246 ==
 
I've reverted your readdition of a single value constraint to {{p|1246}} because it is incorrect for the reasons I explained at [[Property talk:P1246]] yesterday. If you disagree please discuss there. [[User:Thryduulf|Thryduulf]] ([[User talk:Thryduulf|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 19:17, 16 August 2016 (UTC)
:I responded over there. I did a big clean up of external-identifier properties which has missing constraints. I expected some properties to pop up that are of the wrong type. [[User:Multichill|Multichill]] ([[User talk:Multichill|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 19:46, 16 August 2016 (UTC)
 
== as promised, a pie chart :) ==
 
{{:User:Yurik/sandbox}}
--[[User:Yurik|Yurik]] ([[User talk:Yurik|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 00:06, 17 August 2016 (UTC)
:That's pretty cool [[User:Yurik|Yurik]]! Some tests:
 
{{User:Yurik/sandbox|title=Occupations|1={{urlencode:SELECT ?label (COUNT(?item) as ?value) WHERE
{
?item wdt:P106 ?occupation .
?item wdt:P27 wd:Q55
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . ?occupation rdfs:label ?label }
} GROUP BY ?label ORDER BY DESC(?value)
LIMIT 20}}
}}
 
{{User:Yurik/sandbox|title=Countries of painters|1={{urlencode:SELECT ?label (COUNT(?item) as ?value) WHERE
{
?item wdt:P106 wd:Q1028181 .
?item wdt:P27 ?label
 
} GROUP BY ?label ORDER BY DESC(?value)
LIMIT 20}}
}}
 
Look at the source. I used urlencode here, but the template should probably take care of that. Would this also work for other types of charts? [[User:Multichill|Multichill]] ([[User talk:Multichill|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 16:16, 17 August 2016 (UTC)
== Single value for {{P|380}} ==
 
Hi,
 
I'm not sure the single value constraint is a good idea for {{P|380}}. Most monuments have several ids (see what I wrote on the talk page [[Property talk:P380]] beack in 2013).
 
Cdlt, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 13:06, 17 August 2016 (UTC)
:Hey VIGNERON, I went to all the properties of type external-id and added missing contraints because for many properties constraints were missing. When I look at the [[Wikidata:Database_reports/Constraint_violations/P380#Single_value|long list]] I wonder some things:
:* Did two databases ("Monuments historiques" & "Inventaire général du patrimoine culturel") get mixed into one property?
:* How come one object has multiple id's? How does that work?
:[[User:Multichill|Multichill]] ([[User talk:Multichill|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 16:27, 17 August 2016 (UTC)
::Hey,
:* indeed, several similar concepts like (including but not limitated to) "Monuments historiques" (MH) and "Inventaire général du patrimoine culturel" (IGPC) are mixed in the Mérimée database (maybe we should we have three properties for the same database based on the id prefix ?).
:* Mérimée Ids are about protection, but an object can be protected multiple times (in time or in space) ; where Mérimée see two objects, Wikidata may have only one item (and ''vice versa'' sometime Mérimée has one ID for two objects). Examples: {{Q|22102118}} is only one building but for an unknown reason Mérimée decided that's two MH (maybe because there is two cadastral parcel...), on the other way around, Mérimée has only one id for two groups of stones two kilometers apart (so we have three items : {{Q|17984083}}, {{Q|1132337}}} and {{Q|2093334}}). And about MH and IGPC, almost all MH are IGPC too, so technically all MH should/could have at least two ids (but most people don't care about IGPC, beggining with the Mérimée database itself which have only 10 or 20 % of the IGPC). That's why I think we should remove this constraint.
:Cdlt, [[User:VIGNERON|VIGNERON]] ([[User talk:VIGNERON|<span class="signature-talk">{{int:Talkpagelinktext}}</span>]]) 08:26, 18 August 2016 (UTC)
Return to the user page of "Multichill/Archives/2016/August".