Shortcuts: WD:PC/zh, WD:CHAT/zh, WD:?/zh

Wikidata:Project chat/zh

From Wikidata
Jump to navigation Jump to search



维基数据互助客栈
这里可以讨论和维基数据相关的任何方面,包括项目本身、方针和提议、个别数据项、技术问题等等。

第一次提及项或属性时请分别用模板{{Q}}{{P}}
其他寻求帮助的位置

在本页面上,旧讨论会在30天后被存档。所有存档的概览可以在本页面的存档目录查看。目前的存档位于Wikidata:Project chat/zh/Archive/2021


Help to delete a data page[edit]

I accidentally created Q105077332, can someone help me to delete it, thanks a lot Cyril Yoshi (talk) 04:10, 26 January 2021 (UTC)

@Cyril Yoshi:我剛好新創分類,就直接替換掉囉。--迴廊彼端 (talk) 16:21, 26 January 2021 (UTC)

关于主页的问题[edit]

大家好,我在查看首页的时候,发现“欢迎”一栏中的繁简转换没有正常进行,我认为这需要修复,因此我提出本提案。
有问题的显示内容:

-{zh-hans:數據;zh-hant:資料;}-
-{zh-hans:志願者;zh-hant:志工;}-
-{zh-hans:數據捐贈;zh-hant:捐贈資料;}-
-{zh-hans:社区;zh-hant:社群;}-


以上

海の向こうは敵だ! 01:37, 16 February 2021 (UTC)

改用{{Conversion-zh}}就没问题了,已修。但好像不能按偏好的变体显示。--YFdyh000 (talk) 08:32, 14 March 2021 (UTC)

sovereign state (Q3624078)Q95433426[edit]

我發現有些有些過去的國家(如Ming dynasty (Q9903))在性質上同時有sovereign state (Q3624078)Q95433426,兩個應該是不相容的,請問是否有設定上的限制,讓性質只能填其中一個,避免誤填。

應該是在instance of (P31)加個property constraint (P2302),不過沒得測試,不知道怎麽寫,效果又如何。--Nostalgiacn (talk) 08:37, 16 February 2021 (UTC)

没找到sovereign state (Q3624078)的用法示例,Ming dynasty (Q9903)上是加上始末年来用了。--YFdyh000 (talk) 10:01, 17 February 2021 (UTC)

@YFdyh000:用法很模糊,看到Yuan Empire (Q7313)也是兩者都有([1]),不過sovereign state (Q3624078)沒有始末年。
兩個分類共存,就像dead person (Q18093576)live person (Q18093573)同時存在一樣。
Q95433426是在2020年5月出現的,只被用到元明清和中華民國(大陸時期)上。個人認為Q95433426可以刪了,性質有sovereign state (Q3624078)加始末年和historical country (Q3024240)也是一樣效果,這似乎是主要做法(Principality of Hungary (Q2899771))。enwiki主要是主權國家列表,而不是前主權國家列表。--Nostalgiacn (talk) 11:55, 17 February 2021 (UTC)
@Neo-Jay, Bouzinac, Infovarius, Luan, Charp238:@Silesianus: Under this discussion, the Q95433426 seems weird, anyone who against this point? --Liuxinyu970226 (talk) 22:44, 10 March 2021 (UTC)
 Support com a solução arranjada com as alterações feitas (special:diff/1362112397/1370145577). Contudo, seria muito bom haver também uma declaração com valor para o qualificador end time (P582), e não só start time (P580). --Luan (talk) 22:58, 10 March 2021 (UTC)
Comment. "Historical sovereign state" (Q95433426) is not weird and should not be deleted. It is subclass of, and more specific than, "historical country" (Q3024240). Not all historical countries were historical sovereign states. The questions raised above also apply to the relation between "country" (Q6256) and "historical country" (Q3024240). If we can (or should) have both "country" (Q6256) and "historical country" (Q3024240), we can (or should) also have both "sovereign state" (Q3624078) and "historical sovereign state" (Q95433426). --Neo-Jay (talk) 00:10, 11 March 2021 (UTC)

Archiving could not be finished[edit]

The bot-run at 03:08, 12 March 2021 (UTC) was not successful, because the template Template:Autoarchive resolved section contains incorrect parameters. Please have a look at the documentation and fix the mistake. Regards --SpBot (talk) 03:08, 12 March 2021 (UTC)

用户页跨语言链接可以由wikidata提供吗[edit]

我不是很清楚标准做法。--EdwardAlexanderCrowley (talk) 04:19, 13 March 2021 (UTC)

不可以。Wikidata item不收录page in User namespace,见Wikidata:Notability。 --Neo-Jay (talk) 05:24, 13 March 2021 (UTC)

Request to merge a wikidata[edit]

Q6340147 is established before than Q31102206, could anyone help me to merge the latter one into the former one? The latter is duplicated.特克斯特 (talk) 18:52, 16 March 2021 (UTC)

✓ Done YFdyh000 (talk) 20:35, 16 March 2021 (UTC)

Request to merge a wikidata[edit]

Q1135422 is established before than Q17239684, could anyone help me to merge the latter one into the former one? The latter is duplicated. 特克斯特 (talk) 08:31, 23 March 2021 (UTC)

✓ Done,Q17239684看起來沒什麼資料跟連結我就清空拿去用了,也建議您到「偏好設定→小工具→Merge」開啟合併工具,以後可以自行合併。--迴廊彼端 (talk) 11:45, 23 March 2021 (UTC)
好的,那往後就嘗試自己合併了。特克斯特 (talk) 17:04, 25 March 2021 (UTC)

繁简破坏[edit]

Wikidata有没有禁止繁简破坏的规则?像这种编辑是允许的吗? Njzjz (talk) 01:21, 24 April 2021 (UTC)

Wikidata好像是沒有的。英維好像也沒有。不過繁簡就隨他了,為了data這小事 而3rr不值得。特克斯特 (talk) 14:57, 6 May 2021 (UTC)
最近活跃的匿名IP用户很喜欢直接替换原有的简体名称。Wikidata并没有直接禁止繁简破坏的规则,但是并没有自动转换繁简的功能,这给使用简体中文的人带来了麻烦。这样的编辑没有益处,而且很可能已经涉及了WD:VD。——ClayM300(留言.📚) 07:31, 11 September 2021 (UTC)

通知一下(關於專輯類的wikidata)[edit]

既然這裡是互助客棧,那就說一下。我剛剛發現在en wiki開的Category關於華語歌手的專輯,例如莫文蔚音樂專輯、Karen Mok albums,這些華語歌手專輯的wikidata,有不少也是重複開的。還有在en wiki的華語歌手專輯也沒連到去中維或者粵維的相應條目。這個問題 我才剛發現,以後可以留意一下專輯類的wikidata。我現在還要去merge他們。謝謝。特克斯特 (talk) 15:01, 6 May 2021 (UTC)

話說Wikidata Taiwan社群有跟水利署合作,處理台灣溪流的基本資料,就有遇到一堆宿霧語維基百科那邊產生的Wikidata項目,也是合併很多重覆的。他們大概後來有被罵,所以主要大的溪流是不大需要合併,但一級支流或二級支流常常就有重覆需合併的情形。我比較沒看華語專輯的Wikidata項目,有注意到會協助合併掉。 Supaplex (talk) 02:19, 16 September 2021 (UTC)

Cleaning query about 站[edit]

Hello, could you help add correct instance of (P31) to this query -{R|https://w.wiki/3RMX}- (querying text with 站)? Might be metro station (Q928830) or else. Bouzinac💬✒️💛 20:11, 1 June 2021 (UTC)

Hello. 再會啦!車站 should be excluded. Some of them should be railway station (Q55488), or even 气象站 for 花莲气象站. I don't have bot flag, so I can't help you. EdwardAlexanderCrowley (talk) 06:23, 15 June 2021 (UTC)

GPS location for Ürumqi subway stations[edit]

Hello, could you please add coordinate location (P625) for this query? -{R|https://w.wiki/3VL7}- --Bouzinac💬✒️💛 19:55, 15 June 2021 (UTC)

@Bouzinac: Hi, I've added the coordinates and fixed a few that are slightly off. --Stevenliuyi (talk) 09:52, 17 June 2021 (UTC)
Perfect! map --Bouzinac💬✒️💛 09:59, 17 June 2021 (UTC)

关于行政中心的逆约束[edit]

属性行政中心属于一对逆约束(详见Property:P1376#P1376$DBB6B119-5334-43F7-AFDF-29B9CC054441

很多城市的默认页面(例如南京市)也即该城市的当前行政区划(如中华人民共和国江苏省省会、副省级城市)页面。 一方面,作为一个城市默认页面,记载该城市的历史行政区划(如明朝首都)是十分有道理的; 另一方面,作为一个具体的行政区划页面,当叙述明朝的行政中心时,一般就不会记载南京市,而是选择历史上更为准确的应天府。但这样就违反了逆约束。

如何解决这个问题?是否应该适当调整方针,或为每个城市额外设置默认页面(这样或许显得冗余)?

目前可以在属性页面用exception to constraint (P2303)为约束添加例外,更好的办法要等phab:T236295解决了。--Stevenliuyi (talk) 08:53, 18 June 2021 (UTC)

桃花源和桃花源记[edit]

Q910739连进去的页面有的讲的是“桃花源”这个地方,有的讲的是《桃花源记》这篇散文,是不是应该拆分?

真棒 我连签名都没签 --羊羊32521 (talk) 07:21, 3 July 2021 (UTC)
條目的內容就是陶淵明的文章及其衍生文化,關聯文庫沒有問題。--Nostalgiacn (talk) 06:50, 8 July 2021 (UTC)
已更名我说的是百科的条目,不同语言的主题不一样,有的是《桃花源记》(如en:The Peach Blossom Springid:Taohuayuan Jihu:Az őszibarack-virágos forrás),有的是“桃花源”(如zh:桃花源ja:桃源郷ko:도원향)。在data“描述”部分也体现这个混乱:法语的描述是 œuvre chinoise du Ve siècle(5世纪的中文作品),而日语的描述是“俗界を離れた他界”(远离俗世的另一个世界)。——魔琴 (talk) 08:18, 26 August 2021 (UTC)
支持及早拆分,不然以後還會有第三、四、五種意義出現。--迴廊彼端 (talk) 00:29, 27 August 2021 (UTC)

中国地铁图 - Chinese subways map[edit]

Hello, anyone willing to help check and clean that map : Hong Kong looks a bit dirty, for instance ?

#defaultView:Map{"hide":["?coords", "?line","?rgb"]}
SELECT ?station ?stationLabel ?coords ?line ?layer ?rgb WHERE {
  ?station wdt:P31 wd:Q928830;
    wdt:P17 wd:Q148;
    wdt:P625 ?coords;
    wdt:P81 ?subwayLine;
    wdt:P197 ?pred.
  MINUS { ?station (wdt:P576|wdt:P582|wdt:P3999) ?dispar. }
  MINUS {
    ?station wdt:P5817 ?interdit.
    VALUES ?interdit {
      wd:Q811683
      wd:Q63065035
      wd:Q12377751
      wd:Q55653430
      wd:Q30108381
      wd:Q55570340
      wd:Q11639308
    }
  }
  ?pred wdt:P625 ?cds.
  BIND(IF((xsd:double(?depth / 10 )) = (xsd:integer(?depth / 10 )), ?cds, "") AS ?coords)
  ?pred (p:P625/psv:P625/wikibase:geoLatitude) ?lat1;
    (p:P625/psv:P625/wikibase:geoLongitude) ?lon1.
  ?station (p:P625/psv:P625/wikibase:geoLatitude) ?lat2;
    (p:P625/psv:P625/wikibase:geoLongitude) ?lon2.
  BIND(CONCAT("LINESTRING(", STR(?lon1), " ", STR(?lat1), ",", STR(?lon2), " ", STR(?lat2), ")") AS ?str)
  BIND(STRDT(?str, geo:wktLiteral) AS ?line)
  ?subwayLine wdt:P465 ?rgb.
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "zh,fr".
    ?subwayLine rdfs:label ?layer.
  } 
}
GROUP BY ?station ?stationLabel ?coords ?line ?layer ?rgb

Try it! --Bouzinac💬✒️💛 20:32, 23 June 2021 (UTC)

@Bouzinac::Just take a look. the Changchun Subway (Q2586148) and Qingdao Metro (Q2620251) did not match the reality.--Nostalgiacn (talk) 05:53, 9 July 2021 (UTC)

Hi Nostalgiacn, I have slightly modified the query above. Changchun appears but data stills need cleaning. Work in progres... Any help would be nice.
#title: Carte des métros de Chine/China subways v2
#defaultView:Map{"hide":["?coords", "?searchlines", "?termini","?rgb", "?line_draw"]}
SELECT distinct ?stationLabel ?linesLabel ?searchlines ?lignes ?line_draw ?termini ?station ?coords ?pred ?rgb WHERE {
?searchlines wdt:P17 wd:Q148;wdt:P31/wdt:P279* wd:Q728937; wdt:P559 ?termini#quels sont les terminus de ce métro, what are the ends of these lines
  ; wdt:P465 ?rgb   .
 VALUES ?stations_type { 
               wd:Q928830 #station de métro
               wd:Q2175765 # tramway
             }
  ?station wdt:P31/wdt:P279* ?stations_type;  
    wdt:P81 ?searchlines;
    wdt:P625 ?coords  ;
    wdt:P197 ?pred.
   ?pred wdt:P625 ?coords_pred;
    wdt:P81 ?subwayLine_pred.
  ?station p:P197 _:b1.
  _:b1 ps:P197 ?pred ;
    pq:P5051 ?towards;
    pq:P81 ?line_pq.
  FILTER(?subwayLine_pred = ?searchlines)#on ne prend les LINES que si la correspondance est sur la même ligne
  FILTER(?towards = ?termini) 
  FILTER(?station != ?termini)
  MINUS { ?station (wdt:P576|wdt:P582|wdt:P3999) ?dispar. }
  MINUS {
    ?station wdt:P5817 ?interdit.
    VALUES ?interdit { 
      wd:Q811683
      wd:Q63065035 
      wd:Q12377751
      wd:Q55653430
      wd:Q30108381
      wd:Q55570340
      wd:Q11639308
    }
  }
  ?pred (p:P625/psv:P625/wikibase:geoLatitude) ?lat1   ;
    (p:P625/psv:P625/wikibase:geoLongitude) ?lon1  .
  ?station (p:P625/psv:P625/wikibase:geoLatitude) ?lat2 ;
    (p:P625/psv:P625/wikibase:geoLongitude) ?lon2.
  BIND(CONCAT("LINESTRING(", STR(?lon1), " ", STR(?lat1),  ",", STR(?lon2), " ", STR(?lat2), ")") AS ?str)
  BIND(STRDT(?str, geo:wktLiteral) AS ?line_draw  )
  SERVICE wikibase:label {
    bd:serviceParam wikibase:language "fr,zh,en".
    ?searchlines rdfs:label ?layer .
    ?searchlines rdfs:label ?linesLabel.
    ?station rdfs:label ?stationLabel.

  }  }
Carte des métros de Chine/China subways v2 Bouzinac💬✒️💛 09:41, 9 July 2021 (UTC)

[通知] 所有台灣村里用台灣政府資料集完成匯入[edit]

大家好,台灣所有用到Code of Household Registration and Conscription Information System (Taiwan) (P5020)village of Taiwan (Q7930614),包括未來新設的,已經全在Wikidata上了。有些Wikidata Taiwan (Q65555605)成員有開始把村里連結到Taiwanese aborigines (Q216839)Q55747241。也許有重覆的村里,因為有人從中文維基百科匯入,有些用政府資料集。也許有一天會進一步處理數位化前存在的里,像是Taipei (Q1867)Nangang District (Q271073)大豐里, 麗山里。 Supaplex (talk) 10:16, 16 September 2021 (UTC)