Module talk:Dump
Dump of a Wikidata entity
When working with Wikidata, it can be useful to examine a table representing an entity. An example using Module:Dump to display such a table follows.
Southern African Large Telescope is d:Q833639.
The following is generated from wikitext:
{{#invoke:dump|wikidata|Q833639}}
Q833639 = {
__metatable = {
__index = {
formatPropertyValues = function_1,
formatStatements = function_2,
getAllStatements = function_3,
getBestStatements = function_4,
getDescription = function_5,
getDescriptionWithLang = function_6,
getId = function_7,
getLabel = function_8,
getLabelWithLang = function_9,
getProperties = function_10,
getSitelink = function_11,
},
},
aliases = {
__metatable = {
__index = function_12,
__newindex = function_13,
__pairs = function_14,
},
af = {
{
language = "af",
value = "SALT",
},
{
language = "af",
value = "SAGT",
},
{
language = "af",
value = "Suid-Afrikaanse Groot Teleskoop",
},
},
ca = {
{
language = "ca",
value = "Gran telescopi sud- africà",
},
},
cs = {
{
language = "cs",
value = "Velký jihoafrický dalekohled",
},
{
language = "cs",
value = "Jihoafrický velký teleskop",
},
{
language = "cs",
value = "Jihoafrický velký dalekohled",
},
},
de = {
{
language = "de",
value = "SALT",
},
},
en = {
{
language = "en",
value = "SALT",
},
{
language = "en",
value = "Southern African Large telescope,SALT",
},
},
es = {
{
language = "es",
value = "Southern African Large Telescope",
},
},
eu = {
{
language = "eu",
value = "Hego Afrikako Teleskopio Handia",
},
},
fa = {
{
language = "fa",
value = "تلسکوپ بزرگ افریقای جنوبی",
},
},
hr = {
{
language = "hr",
value = "Southern African Large Telescope",
},
},
pl = {
{
language = "pl",
value = "SALT",
},
},
ru = {
{
language = "ru",
value = "Большой южно-африканский телескоп",
},
{
language = "ru",
value = "Гигантский южно-африканский телескоп",
},
{
language = "ru",
value = "Southern African Large Telescope",
},
},
},
claims = {
__metatable = {
__index = function_15,
__newindex = function_16,
__pairs = function_17,
},
P10565 = {
{
id = "Q833639$7371BD07-5C80-4FAE-849D-659A55C64CD6",
mainsnak = {
datatype = "external-id",
datavalue = {
type = "string",
value = "535003",
},
property = "P10565",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P1202 = {
{
id = "Q833639$3cbe94f5-4f1d-4662-3f9d-161ecd79d17d",
mainsnak = {
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q35221",
["numeric-id"] = 35221,
},
},
property = "P1202",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P12385 = {
{
id = "Q833639$7109d08d-7032-42af-8ecd-8559ef4c3e6e",
mainsnak = {
datatype = "external-id",
datavalue = {
type = "string",
value = "southern-africa-large-telescope",
},
property = "P12385",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P1296 = {
{
id = "Q833639$A986B5A1-F377-4422-9381-59B1601B4456",
mainsnak = {
datatype = "external-id",
datavalue = {
type = "string",
value = "0523022",
},
property = "P1296",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P131 = {
{
id = "Q833639$e47a46f5-4ec6-790e-092e-127c70c4cd3b",
mainsnak = {
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q1734288",
["numeric-id"] = 1734288,
},
},
property = "P131",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P1417 = {
{
id = "Q833639$07590A89-E1B2-444F-BAD1-4D98622DE0D2",
mainsnak = {
datatype = "external-id",
datavalue = {
type = "string",
value = "topic/Southern-African-Large-Telescope",
},
property = "P1417",
snaktype = "value",
},
qualifiers = {
__metatable = {
__index = function_18,
__ipairs = function_19,
__newindex = function_20,
__pairs = function_21,
},
P1810 = {
{
datatype = "string",
datavalue = {
type = "string",
value = "Southern African Large Telescope",
},
hash = "4d5e6c4030cd2230baab89c4cd10ecc1a36b500d",
property = "P1810",
snaktype = "value",
},
},
P2093 = {
{
datatype = "string",
datavalue = {
type = "string",
value = "Erik Gregersen",
},
hash = "b599da69b8c00e09e1a4ab49f0e4ea1920b33ee6",
property = "P2093",
snaktype = "value",
},
},
},
["qualifiers-order"] = {
"P1810",
"P2093",
},
rank = "normal",
type = "statement",
},
},
P17 = {
{
id = "Q833639$458554fa-49df-d309-fc71-08269950d9a0",
mainsnak = {
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q258",
["numeric-id"] = 258,
},
},
property = "P17",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P18 = {
{
id = "Q833639$B59EFA03-4715-483E-8B05-72DBF5C5DE0C",
mainsnak = {
datatype = "commonsMedia",
datavalue = {
type = "string",
value = "Southern African Large Telescope.jpg",
},
property = "P18",
snaktype = "value",
},
rank = "preferred",
type = "statement",
},
{
id = "Q833639$78EFEE2A-A2D7-42CD-8A66-B6C16F50F32E",
mainsnak = {
datatype = "commonsMedia",
datavalue = {
type = "string",
value = "Salt mirror.jpg",
},
property = "P18",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P1889 = {
{
id = "Q833639$947b9af6-49c6-b951-ab88-835ddb09a179",
mainsnak = {
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q124618453",
["numeric-id"] = 124618453,
},
},
property = "P1889",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P2044 = {
{
id = "Q833639$1EF79C27-D1DA-4E2C-A78B-2C3BE517AF58",
mainsnak = {
datatype = "quantity",
datavalue = {
type = "quantity",
value = {
amount = "+1783",
unit = "http://www.wikidata.org/entity/Q11573",
},
},
property = "P2044",
snaktype = "value",
},
rank = "normal",
references = {
__metatable = {
__index = function_22,
__ipairs = function_23,
__newindex = function_24,
__pairs = function_25,
},
{
hash = "d5847b9b6032aa8b13dae3c2dfd9ed5d114d21b3",
snaks = {
P143 = {
{
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q11920",
["numeric-id"] = 11920,
},
},
property = "P143",
snaktype = "value",
},
},
},
["snaks-order"] = {
"P143",
},
},
},
type = "statement",
},
},
P2581 = {
{
id = "Q833639$FDF757EE-C151-4F76-9862-37A78F8DF721",
mainsnak = {
datatype = "external-id",
datavalue = {
type = "string",
value = "03324748n",
},
property = "P2581",
snaktype = "value",
},
rank = "normal",
references = {
__metatable = {
__index = function_26,
__ipairs = function_27,
__newindex = function_28,
__pairs = function_29,
},
{
hash = "248ac337a217a5f5eed7139a82a4e60931611af0",
snaks = {
P248 = {
{
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q4837690",
["numeric-id"] = 4837690,
},
},
property = "P248",
snaktype = "value",
},
},
},
["snaks-order"] = {
"P248",
},
},
},
type = "statement",
},
},
P31 = {
{
id = "Q833639$86C72F52-95DA-4F80-880D-9394B0F75435",
mainsnak = {
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q35221",
["numeric-id"] = 35221,
},
},
property = "P31",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
{
id = "Q833639$ac306904-4e76-3994-7364-a2a30dc0f69d",
mainsnak = {
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q35273",
["numeric-id"] = 35273,
},
},
property = "P31",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P361 = {
{
id = "Q833639$20b60833-4147-5ff1-6241-24d161edc822",
mainsnak = {
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q116161487",
["numeric-id"] = 116161487,
},
},
property = "P361",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P373 = {
{
id = "q833639$B1DE679D-EEC6-4A0B-B6B2-97568FE14AAF",
mainsnak = {
datatype = "string",
datavalue = {
type = "string",
value = "Southern African Large Telescope",
},
property = "P373",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P3737 = {
{
id = "Q833639$53a708bc-462d-ef4a-5b8a-48ccba4248ce",
mainsnak = {
datatype = "quantity",
datavalue = {
type = "quantity",
value = {
amount = "+1700",
unit = "http://www.wikidata.org/entity/Q178674",
},
},
property = "P3737",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P3738 = {
{
id = "Q833639$4b8b7e08-4666-3281-d5b0-b6b3a4c18214",
mainsnak = {
datatype = "quantity",
datavalue = {
type = "quantity",
value = {
amount = "+320",
unit = "http://www.wikidata.org/entity/Q178674",
},
},
property = "P3738",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P454 = {
{
id = "Q833639$22EFDCB0-15A5-4ADF-AD86-38F3CA71800C",
mainsnak = {
datatype = "external-id",
datavalue = {
type = "string",
value = "20018414",
},
property = "P454",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P527 = {
{
id = "Q833639$56474404-435f-d49f-5db3-1205b0f09239",
mainsnak = {
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q1874467",
["numeric-id"] = 1874467,
},
},
property = "P527",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P625 = {
{
id = "q833639$BE426504-A0A9-4D2E-A981-C1E454194C7D",
mainsnak = {
datatype = "globe-coordinate",
datavalue = {
type = "globecoordinate",
value = {
globe = "http://www.wikidata.org/entity/Q2",
latitude = -32.375918382461,
longitude = 20.810756512749,
precision = 2.77778e-06,
},
},
property = "P625",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P6366 = {
{
id = "Q833639$58F2C6A5-E7B3-46D6-94CA-F1B244CC3E46",
mainsnak = {
datatype = "external-id",
datavalue = {
type = "string",
value = "2779166676",
},
property = "P6366",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P646 = {
{
id = "Q833639$1AA4E775-E929-4C7F-A78E-2DBF6489F5D5",
mainsnak = {
datatype = "external-id",
datavalue = {
type = "string",
value = "/m/02m4gy",
},
property = "P646",
snaktype = "value",
},
rank = "normal",
references = {
__metatable = {
__index = function_30,
__ipairs = function_31,
__newindex = function_32,
__pairs = function_33,
},
{
hash = "2b00cb481cddcac7623114367489b5c194901c4a",
snaks = {
P248 = {
{
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q15241312",
["numeric-id"] = 15241312,
},
},
property = "P248",
snaktype = "value",
},
},
P577 = {
{
datatype = "time",
datavalue = {
type = "time",
value = {
after = 0,
before = 0,
calendarmodel = "http://www.wikidata.org/entity/Q1985727",
precision = 11,
time = "+2013-10-28T00:00:00Z",
timezone = 0,
},
},
property = "P577",
snaktype = "value",
},
},
},
["snaks-order"] = {
"P248",
"P577",
},
},
},
type = "statement",
},
},
P717 = {
{
id = "Q833639$9ca87b61-41f9-9595-e300-b7f37851b7d1",
mainsnak = {
datatype = "external-id",
datavalue = {
type = "string",
value = "B31",
},
property = "P717",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P7982 = {
{
id = "Q833639$BE69FDA3-DBA0-4685-A586-E1848EBEE8BD",
mainsnak = {
datatype = "external-id",
datavalue = {
type = "string",
value = "70768",
},
property = "P7982",
snaktype = "value",
},
rank = "normal",
type = "statement",
},
},
P856 = {
{
id = "Q833639$CB12BE77-88D8-43B9-B316-C9B5300C3ADA",
mainsnak = {
datatype = "url",
datavalue = {
type = "string",
value = "https://www.salt.ac.za",
},
property = "P856",
snaktype = "value",
},
qualifiers = {
__metatable = {
__index = function_34,
__ipairs = function_35,
__newindex = function_36,
__pairs = function_37,
},
P407 = {
{
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q1860",
["numeric-id"] = 1860,
},
},
hash = "daf1c4fcb58181b02dff9cc89deb084004ddae4b",
property = "P407",
snaktype = "value",
},
},
},
["qualifiers-order"] = {
"P407",
},
rank = "normal",
references = {
__metatable = {
__index = function_38,
__ipairs = function_39,
__newindex = function_40,
__pairs = function_41,
},
{
hash = "b3fd5e254143d8b52cd96cff43af9af5e3a82358",
snaks = {
P143 = {
{
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q199693",
["numeric-id"] = 199693,
},
},
property = "P143",
snaktype = "value",
},
},
},
["snaks-order"] = {
"P143",
},
},
{
hash = "d5847b9b6032aa8b13dae3c2dfd9ed5d114d21b3",
snaks = {
P143 = {
{
datatype = "wikibase-item",
datavalue = {
type = "wikibase-entityid",
value = {
["entity-type"] = "item",
id = "Q11920",
["numeric-id"] = 11920,
},
},
property = "P143",
snaktype = "value",
},
},
},
["snaks-order"] = {
"P143",
},
},
},
type = "statement",
},
},
},
descriptions = {
__metatable = {
__index = function_42,
__newindex = function_43,
__pairs = function_44,
},
de = {
language = "de",
value = "Segmentspiegel-Teleskop auf der Karoo-Hochebene",
},
en = {
language = "en",
value = "9.2-metre optical telescope operated by the South African Astronomical Observatory",
},
hu = {
language = "hu",
value = "dél-afrikai csillagvizsgáló",
},
lb = {
language = "lb",
value = "opteschen Teleskop a Südafrika",
},
nl = {
language = "nl",
value = "bouwwerk in Sutherland, Zuid-Afrika",
},
sq = {
language = "sq",
value = "strukturë arkitekturore",
},
uk = {
language = "uk",
value = "споруда",
},
},
id = "Q833639",
labels = {
__metatable = {
__index = function_45,
__newindex = function_46,
__pairs = function_47,
},
af = {
language = "af",
value = "Suider-Afrikaanse Groot Teleskoop",
},
ar = {
language = "ar",
value = "مقراب جنوب أفريقيا الكبير",
},
bg = {
language = "bg",
value = "Голям южноафрикански телескоп",
},
ca = {
language = "ca",
value = "Southern African Large Telescope",
},
cs = {
language = "cs",
value = "Velký jihoafrický teleskop",
},
de = {
language = "de",
value = "Southern African Large Telescope",
},
en = {
language = "en",
value = "Southern African Large Telescope",
},
eo = {
language = "eo",
value = "Sud-Afrika Granda Teleskopo",
},
es = {
language = "es",
value = "Gran Telescopio Sudafricano",
},
eu = {
language = "eu",
value = "Hegoafrikako Teleskopio Handia",
},
fa = {
language = "fa",
value = "تلسکوپ بزرگ آفریقای جنوبی",
},
fr = {
language = "fr",
value = "Southern African Large Telescope",
},
he = {
language = "he",
value = "הטלסקופ הגדול בדרום אפריקה",
},
hr = {
language = "hr",
value = "Južnoafrički Veliki Teleskop",
},
hu = {
language = "hu",
value = "Southern African Large Telescope",
},
hy = {
language = "hy",
value = "Հարավաֆրիկյան մեծ աստղադիտակ",
},
it = {
language = "it",
value = "Southern African Large Telescope",
},
ja = {
language = "ja",
value = "南アフリカ大型望遠鏡",
},
ko = {
language = "ko",
value = "남아프리카 공화국 대형 망원경",
},
lb = {
language = "lb",
value = "Southern African Large Telescope",
},
nl = {
language = "nl",
value = "Southern African Large Telescope",
},
pl = {
language = "pl",
value = "Wielki Teleskop Południowoafrykański",
},
pt = {
language = "pt",
value = "Grande Telescópio do Sul da África",
},
ru = {
language = "ru",
value = "Большой южноафриканский телескоп",
},
sv = {
language = "sv",
value = "Southern African Large Telescope",
},
uk = {
language = "uk",
value = "Великий південноафриканський телескоп",
},
zh = {
language = "zh",
value = "南非大望遠鏡",
},
["zh-hans"] = {
language = "zh-hans",
value = "南非大望远镜",
},
["zh-hant"] = {
language = "zh-hant",
value = "南非大望遠鏡",
},
["zh-hk"] = {
language = "zh-hk",
value = "南非大望遠鏡",
},
},
schemaVersion = 2,
sitelinks = {
__metatable = {
__index = function_48,
__newindex = function_49,
__pairs = function_50,
},
afwiki = {
badges = {
},
site = "afwiki",
title = "Suider-Afrikaanse Groot Teleskoop",
},
arwiki = {
badges = {
},
site = "arwiki",
title = "مقراب جنوب إفريقيا الكبير",
},
bgwiki = {
badges = {
},
site = "bgwiki",
title = "Голям южноафрикански телескоп",
},
cawiki = {
badges = {
},
site = "cawiki",
title = "Southern African Large Telescope",
},
commonswiki = {
badges = {
},
site = "commonswiki",
title = "Category:Southern African Large Telescope",
},
dewiki = {
badges = {
},
site = "dewiki",
title = "Southern African Large Telescope",
},
enwiki = {
badges = {
},
site = "enwiki",
title = "Southern African Large Telescope",
},
eswiki = {
badges = {
},
site = "eswiki",
title = "Gran Telescopio Sudafricano",
},
euwiki = {
badges = {
},
site = "euwiki",
title = "Hegoafrikako Teleskopio Handia",
},
fawiki = {
badges = {
},
site = "fawiki",
title = "تلسکوپ بزرگ آفریقای جنوبی",
},
frwiki = {
badges = {
},
site = "frwiki",
title = "Grand télescope d'Afrique australe",
},
hewiki = {
badges = {
},
site = "hewiki",
title = "הטלסקופ הגדול של דרום אפריקה",
},
huwiki = {
badges = {
},
site = "huwiki",
title = "Southern African Large Telescope",
},
itwiki = {
badges = {
},
site = "itwiki",
title = "Southern African Large Telescope",
},
jawiki = {
badges = {
},
site = "jawiki",
title = "南アフリカ大型望遠鏡",
},
kowiki = {
badges = {
},
site = "kowiki",
title = "남아프리카 공화국 대형 망원경",
},
lbwiki = {
badges = {
},
site = "lbwiki",
title = "Southern African Large Telescope",
},
nlwiki = {
badges = {
},
site = "nlwiki",
title = "Southern African Large Telescope",
},
plwiki = {
badges = {
},
site = "plwiki",
title = "Wielki Teleskop Południowoafrykański",
},
ptwiki = {
badges = {
},
site = "ptwiki",
title = "Grande Telescópio do Sul da África",
},
ruwiki = {
badges = {
},
site = "ruwiki",
title = "Большой южноафриканский телескоп",
},
svwiki = {
badges = {
},
site = "svwiki",
title = "Southern African Large Telescope",
},
ukwiki = {
badges = {
},
site = "ukwiki",
title = "Великий південноафриканський телескоп",
},
zhwiki = {
badges = {
},
site = "zhwiki",
title = "南非大望遠鏡",
},
},
type = "item",
}
Johnuniq (talk) 11:44, 23 May 2016 (UTC)
Lexeme Support
This does not seem to work for Lexeme Wikidata entities, e.g.,:
- d:Special:EntityPage/L3 and d:Special:EntityData/L3.json exists but
{{#invoke:dump|execute|mw.wikibase.getEntity('L3')}} yields:
Failed to serialize data.
Thank you, 50.53.21.2 (talk) 19:35, 3 October 2019 (UTC)
- It seems to be an issue with mw:Extension:Wikibase Client itself:
- Perhaps we need a ticket there first. 50.53.21.2 (talk) 20:07, 3 October 2019 (UTC)
- Strange. I have not seen Wikidata developments for a considerable period and know nothing about lexemes. I just found the following:
- A very superficial skim of the modules above suggests they create a table that puts a given word into a standard lexeme format, and returns a JSON equivalent (a text table that someone could admire, or possibly copy and paste somewhere?). I could not see any mention of a module which reads a lexeme such as d:Lexeme:L1347.
- While skimming Module:LexemeBuilder, it is useful to have this info: English (Q1860), noun (Q1084), singular (Q110786), plural (Q146786).
- @RexxS: The IP is requesting a way to see a text representation of a lexeme. Do you know of anything? Johnuniq (talk) 07:34, 4 October 2019 (UTC)
- Apparently this is a known issues. See phab:T212843. 50.53.21.2 (talk) 19:34, 21 October 2019 (UTC)
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.