Wikidata talk:WikiProject Basketball

From Wikidata
Jump to navigation Jump to search

Import of (German) wikipedia infobox basketball player data[edit]

Hi, I've took a quick look if/how data from German wikipedia infobox basketball player could be imported into Wikidata. The string for which team and when a player has played for is not that easily parsable. As an example: jahre-vereine = 2000–2001 {{DEU|#}} [[FC Bayern München (Basketball)|FC Bayern München]]<br>2001–2002 {{DEU|#}} [[MTSV Schwabing]]<br>2002–2008 {{DEU|#}} [[Skyliners Frankfurt]]<br>2008–2011 {{DEU|#}} [[Telekom Baskets Bonn]]<br>2011–2013 {{DEU|#}} [[s.Oliver Baskets|s.Oliver Baskets Würzburg]]<br />Seit {{0}} 2013 {{DEU|#}} [[Alba Berlin]]

So it's a big long string that needs to be split up (parsed). Could possibly be done in some automated way, but certainly needs someone to check if there isn't some formatting mistake in that string that might confuse the parser. The last part here ("Seit 0 2013 ...") means the player plays there since 2013 and is still playing there.

It looks like data from English wikipedia basketball biography infobox can be imported more easily as every new team gets a new property(?) in that infobox, see https://en.wikipedia.org/wiki/Template:Infobox_basketball_biography. Not sure if such an import has been done yet in a systematic way. It looks like User:Legobot did this for some players in 2013 (example: https://www.wikidata.org/w/index.php?title=Q1621778&diff=17537410&oldid=13494536). But then what's missing there is in what time frame a player played for a team. Also at least in this example the order of teams the player played for does not seem to match the English Wikipedia article referenced there. --Bthfan (talk) 12:13, 31 May 2014 (UTC)[reply]

Start/end date of basketball season[edit]

To tag the end start/end of a basketball season, I use start time (P580) and end time (P582). Note that these two properties are normally used for qualifiers only, but I think in this case it's ok to use those as normal properties in a claim. So far I've set start/end date to the whole season, so I include the playoffs ("post-season") when the Wikipedia page is about the whole season (or has a link to an extra playoffs article within the main article). As "start date" I used the first game of the regular season. So for now any pre-season activities are not included in this (e.g. the German BBL league plays a "cup champion vs. league champion" game one week before the start of the regular season). Only when it explicitly says "regular season" on the Wikipedia page, then I would not include the playoffs. But if there is a way to seperate regular season/playoffs regarding the dates, then this could be included as well. --Bthfan (talk) 05:00, 4 July 2014 (UTC)[reply]

Wikimania 2016[edit]

Only this week left for comments: Wikidata:Wikimania 2016 (Thank you for translating this message). --Tobias1984 (talk) 12:04, 25 November 2015 (UTC)[reply]

Items with sport=basketball, but no instance of (P31) or subclass of (P279)[edit]

At Wikidata:Database reports/without claims by site, there were a series of basketball related categories with items that had no statements at all.

Based on these categories, I added sport (P641) = basketball (Q5372)

If you are interested in developing these items further, below is a query that finds these (and others):

SELECT ?item ?itemLabel
WHERE
{
	?item wdt:P641 wd:Q5372 . 
  	MINUS { ?item wdt:P31 [] }
  	MINUS { ?item wdt:P279 [] }
	SERVICE wikibase:label { bd:serviceParam wikibase:language "en,es,pt,it,fr,nl,de,pl,ru,uk,ja,zh" }
}

Try it!

Currently, it lists 9520 items.
--- Jura 11:09, 12 August 2016 (UTC)[reply]