Wikidata:WikiProject Haplogroups

From Wikidata
Jump to navigation Jump to search

Current goal for this project is to store values used by Template:Infobox haplogroup (Q10562645) to Wikidata.

Examples[edit]

Example articles[edit]

Other

Properties[edit]

Properties used to describe individual's haplogroup

Title ID Data type Description Examples Inverse
mtDNA haplogroupP4425Itemmitochondrial DNA haplogroup: mitochondrial DNA haplogroup of a person or organismMummy Juanita <mtDNA haplogroup> Haplogroup A-
Y-DNA HaplogroupP4426ItemY-DNA haplogroup and human Y-chromosome DNA haplogroup: Y-DNA haplogroup of a person or organismCharles Darwin <Y-DNA Haplogroup> Haplogroup R1b-


Properties used to describe haplogroup characteristics.

Title ID Data type Description Examples Inverse
instance ofP31Iteminstance of: that class of which this subject is a particular example and member; different from P279 (subclass of); for example: K2 is an instance of mountain; volcano is a subclass of mountain (and an instance of volcanic landform)Haplogroup N <instance of> Human mitochondrial DNA haplogroup-
taxon range map imageP181Commons media filerange, habitat and map: range map of a taxonAdenoviridae <taxon range map image> Distribution.dysderidae.1.png-
place of birthP19Itemplace of birth, maternity hospital and unknown birth place: most specific known (e.g. city instead of country, or hospital instead of city) birth location of a person, animal or fictional characterJulius Caesar <place of birth> Rome-
date of birthP569Point in timedate of birth: date on which the subject was bornJude Law <date of birth> -
earliest dateP1319Point in timeearliest date at which an event could have happened. Use as qualifier for other date propertiesdate of birth of Jesus <earliest date> -
latest dateP1326Point in timeunknown: latest possible time that something could have occurred. Use as qualifier for other date propertiesdate of birth of Jesus <latest date> -
followsP155Itemfollows: immediately prior item in a series of which the subject is a part, preferably use as qualifier of P179 [if the subject has replaced the preceding item, e.g. political offices, use "replaces" (P1365)]Star Wars: Episode V – The Empire Strikes Back <follows> Star Wars: Episode IV – A New Hopefollowed by
followed byP156Itemfollowed by: immediately following item in a series of which the subject is a part, preferably use as qualifier of P179 [if the subject has been replaced, e.g. political offices, use "replaced by" (P1366)]March <followed by> Aprilfollows
described by sourceP1343Itemsource of information: work where this item is describedVladimir K. Zworykin <described by source> Brockhaus Enzyklopädie (19 ed.)-
short nameP1813Monolingual textabbreviation: short name of a place, organisation, person, journal, wikidata property, etc. Used by some Wikipedia templates.Orange County <short name> Orange-
has part(s)P527Itemhas part, consist of and meronymy: part of this subject; inverse property of "part of" (P361). See also "has parts of the class" (P2670).United States Congress <has part(s)> United States Senate and United States House of Representativespart of
does not have partP3113Itemomission: expected part that the item does not have (for qualities, use P6477)Franklin County State Airport <does not have part> control tower-
has part(s) of the classP2670Itemhas parts of class: the subject has one or more parts of the object classUniversity of Cambridge <has part(s) of the class> college of the University of Cambridge-
different fromP1889Itemdifferent from: item that is different from another item, with which it may be confusedKowalski <different from> Kowalskidifferent from
short nameP1813Monolingual textabbreviation: short name of a place, organisation, person, journal, wikidata property, etc. Used by some Wikipedia templates.Orange County <short name> Orange-
locator map imageP242Commons media filelocator map and map: geographic map image which highlights the location of the subject within some larger entityPrague <locator map image> 2004 Praha.png-
RefSeq genome IDP2249External identifierID in the RefSeq Genome databaseChlamydia trachomatis D/UW-3/CX chromosome <RefSeq genome ID> NC_000117-
owned byP127Itemproprietor, property and owned by: owner of the subjectChoupette <owned by> Karl Lagerfeldowner of

Alternative properties[edit]

Not in use.

Title ID Data type Description Examples Inverse
detail mapP1621Commons media filemap: map containing details about the entire locationSicily <detail map> Map of region of Sicily, Italy, with provinces-en.svg-
next lower rankP3729Itemrank: lower rank or level in a ranked hierarchy like sport league, military ranks. If there are several possible, list each one and qualify with "criterion used" (P1013), avoid using ranks and date qualifiers. For sports leagues/taxa, use specific properties instead.General of the Army <next lower rank> General of the Armies of the United Statesnext higher rank
next higher rankP3730Itemrank: higher rank or level in a ranked hierarchy like sport league, military ranks. If there are several possible, list each one and qualify with "criterion used" (P1013), avoid using ranks and date qualifiers. For sports leagues/taxa, use specific properties instead.cardinal <next higher rank> popenext lower rank
biological variant ofP3433Itema variant of a physical biological entity (e.g., gene sequence, protein sequence, epigenetic mark)BRAF V600E <biological variant of> BRAF-
endemic toP183Itemendemism and endemic species: sole location or habitat type where the taxon livesTournefortia acuminata <endemic to> Réunion-

SPARQL[edit]

mtDNA[edit]

Listing all items which has statement instance of (P31)Human mitochondrial DNA haplogroup (Q1356230)

#mtDNA Haplogroups
SELECT ?item ?itemLabel ?p569 ?p19Label ?p155Label ?p156Label
WHERE 
{
  ?item wdt:P31 wd:Q1356230.
  OPTIONAL { ?item wdt:P569 ?p569 } #date of birth
  OPTIONAL { ?item wdt:P19 ?p19 } #place of birth
  OPTIONAL { ?item wdt:P155 ?p155 } #follows
  OPTIONAL { ?item wdt:P156 ?p156 } #followed by
  
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Try it!

Y-DNA[edit]

Listing all items which has statement instance of (P31)human Y-chromosome DNA haplogroup (Q428875)

#Y-DNA Haplogroups
SELECT ?item ?itemLabel ?p569 ?p19Label ?p155Label ?p156Label
WHERE 
{
  ?item wdt:P31 wd:Q428875.
  OPTIONAL { ?item wdt:P569 ?p569 } #date of birth
  OPTIONAL { ?item wdt:P19 ?p19 } #place of birth
  OPTIONAL { ?item wdt:P155 ?p155 } #follows
  OPTIONAL { ?item wdt:P156 ?p156 } #followed by
  
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Try it!

Statistics[edit]

mtDNA statistics[edit]

Number of haplogroups Version Date Source
PhyloTree ~5,500 mtDNA tree Build 17 2016-02-18 [1]
haplogroup.org 5,182 - 2018-01-06 [2]
Wikidata 143 - 2018-01-06 [3]
English Wikipedia 47 - 2018-01-06 [4]
(Mathematically possible patterns)* ∼3.4 × 109975 - - [5]

*Simply calculated from 416,569 with disregarding indel. 16,569 bases (length of rCRS) are lined up in a row. Each base is one of four (A, T, C, or G).

Y-DNA statistics[edit]

Number of haplogroups Version Date Source
Y Chromosome Consortium 153 - 2002 [6]
Karafet et al. 2008 311 - 2008 [7]
Wikidata 77 - 2018-01-06 [8]
English Wikipedia 95 - 2018-01-06 [9]
(Mathematically possible patterns)* ∼3.4 × 1032511239 - - [10]

*Calculated from 454,000,000. 54 million bases (rough length of human NRY[11]) are lined up in a row. Each base is one of four (A, T, C, or G).

Tree[edit]

Followings are current status of haplogroup item pages in Wikidata.

To show haplogroup item in the tree (which is generated by Module:Haplogroup, derivative version of Template:Tree), it's needed to register the followed by (P156) statement at the "parent" haplogroup item page.

For example, to include Haplogroup L4a in the tree, it's needed to register the statement followed by (P156)Haplogroup L4a (Q3510066) in the parent haplogroup Haplogroup L4 item page.

Tree structure is generated by tracking "followed by (P156)" from the root item. If item page has link to Wikipedia (of your setting language), Wikimedia Commons, or haplogroup.org, it is shown next to each haplogroup name. (Do not use haplogroup.org as source but use it to find original sources.)

If there are other data (for example, "date of birth (P569)", "place of birth (P19)", or "locator map image (P242)"), it is shown by clicking [Show detail] button at the top-left of the tree.

mtDNA tree[edit]

Starting from mitochondrial Eve (Q221674), tracking through followed by (P156)

{{ #invoke:Haplogroup | main | firstItemId = Q221674 | maxdepth = 25}}

Lua error in Module:Haplogroup at line 122: bad argument #1 to 'pairs' (table expected, got nil).

Y-DNA tree[edit]

Starting from Y-chromosomal Adam (Q351265), tracking through followed by (P156)

{{ #invoke:Haplogroup | main | firstItemId = Q351265 | maxdepth = 25}}

Lua error in Module:Haplogroup at line 122: bad argument #1 to 'pairs' (table expected, got nil).

templates with Wikidata support[edit]

Template:Infobox haplogroup (Q10562645)

Data sources[edit]

mtDNA
Y-DNA