Wikidata:Data formats/JSON datatype encodings

From Wikidata
Jump to navigation Jump to search
datatypedatavalue
wikibase-form
{"value":{"id":"L229416-F1","entity-type":"form"},"type":"wikibase-entityid"}
wikibase-item
{"value":{"id":"Q4115189","numeric-id":4115189,"entity-type":"item"},"type":"wikibase-entityid"}
wikibase-item
{"value":{"id":"Q21281405","numeric-id":21281405,"entity-type":"item"},"type":"wikibase-entityid"}
wikibase-lexeme
{"value":{"id":"L123","numeric-id":123,"entity-type":"lexeme"},"type":"wikibase-entityid"}
wikibase-property
{"value":{"id":"P2368","numeric-id":2368,"entity-type":"property"},"type":"wikibase-entityid"}
wikibase-sense
{"value":{"id":"L229416-S2","entity-type":"sense"},"type":"wikibase-entityid"}
time
{"value":{"before":0,"time":"+2012-10-29T00:00:00Z","timezone":0,"precision":11,"after":0,"calendarmodel":"http://www.wikidata.org/entity/Q1985727"},"type":"time"}
quantity
{"value":{"amount":"+123","upperBound":"+133","lowerBound":"+113","unit":"1"},"type":"quantity"}
monolingualtext
{"value":{"language":"fi","text":"hiekkalaatikko"},"type":"monolingualtext"}
globe-coordinate
{"value":{"longitude":-3.6736,"precision":0.0001,"globe":"http://www.wikidata.org/entity/Q2","latitude":40.3929},"type":"globecoordinate"}
commonsMedia
{"value":"Sandbox with toys on Röe gård 1.jpg","type":"string"}
external-id
{"value":"12345","type":"string"}
geo-shape
{"value":"Data:Neighbourhoods/New York City.map","type":"string"}
math
{"value":"a^2 + b^2 = c^2","type":"string"}
musical-notation
{"value":"\\relative c' { c d e f | g2 g | a4 a a a | g1 |}","type":"string"}
string
{"value":"Hello world!","type":"string"}
tabular-data
{"value":"Data:Sandbox/TheDJ/DJ.tab","type":"string"}
url
{"value":"http://example.com/","type":"string"}