Data-URIID
view release on metacpan or search on metacpan
lib/Data/URIID/Service.pm view on Meta::CPAN
},
},
);
sub _own_well_known {
state $res;
return $res if defined $res;
my %own_well_known = (
'wikidata-identifier' => {
Q2 => {
ids => {
'tagname' => 'Earth',
'aev-identifier' => 'scot/1917',
'factgrid-identifier' => 'Q176134',
'gnd-identifier' => '1135962553',
'viaf-identifier' => '6270149919445006650001',
'open-library-identifier' => 'earth_(planet)',
'unesco-thesaurus-identifier' => 'concept4083',
'geonames-identifier' => '6295630',
},
attributes => {
'displayname' => {'*' => 'Earth'},
'description' => {'*' => 'third planet from the sun in the solar system'},
},
},
Q405 => {attributes => {displayname => {'*' => 'Moon'}}},
Q6581072 => {attributes => {displayname => {'*' => 'female'}}},
Q6581097 => {attributes => {displayname => {'*' => 'male'}}}
},
'factgrid-identifier' => {
Q17 => {attributes => {displayname => {'*' => 'Female gender'}}},
Q18 => {attributes => {displayname => {'*' => 'Male gender'}}},
},
'media-subtype-identifier' => {
(map {$_ => {
attributes => {
displayname => {'*' => $_},
},
ids => {
'uuid' => Data::URIID::Result->_media_subtype_to_uuid($_),
'media-subtype-identifier' => $_,
'tagname' => $_,
},
}}
# List copied from tags-universal:
qw(
application/gzip
application/http
application/json
application/ld+json
application/octet-stream
application/ogg
application/pdf
application/vnd.debian.binary-package
application/vnd.sirtx.vmv0
application/vnd.oasis.opendocument.base
application/vnd.oasis.opendocument.chart
application/vnd.oasis.opendocument.chart-template
application/vnd.oasis.opendocument.formula
application/vnd.oasis.opendocument.formula-template
application/vnd.oasis.opendocument.graphics
application/vnd.oasis.opendocument.graphics-template
application/vnd.oasis.opendocument.image
application/vnd.oasis.opendocument.image-template
application/vnd.oasis.opendocument.presentation
application/vnd.oasis.opendocument.presentation-template
application/vnd.oasis.opendocument.spreadsheet
application/vnd.oasis.opendocument.spreadsheet-template
application/vnd.oasis.opendocument.text
application/vnd.oasis.opendocument.text-master
application/vnd.oasis.opendocument.text-master-template
application/vnd.oasis.opendocument.text-template
application/vnd.oasis.opendocument.text-web
application/xhtml+xml
application/xml
audio/flac
audio/matroska
audio/ogg
image/gif
image/jpeg
image/png
image/svg+xml
image/webp
image/bmp
image/vnd.wap.wbmp
message/http
text/html
text/plain
video/matroska
video/matroska-3d
video/ogg
video/webm
)),
},
'language-tag-identifier' => {
en => {attributes => {displayname => {'*' => 'English'}}},
de => {attributes => {displayname => {'*' => 'German'}}},
nl => {attributes => {displayname => {'*' => 'Dutch'}}},
es => {attributes => {displayname => {'*' => 'Spanish'}}},
zh => {attributes => {displayname => {'*' => 'Chinese'}}},
af => {attributes => {displayname => {'*' => 'Afrikaans'}}},
ar => {attributes => {displayname => {'*' => 'Arabic'}}},
sw => {attributes => {displayname => {'*' => 'Swahili'}}},
},
'small-identifier' => {
map {$_->{sid} => {
ids => {
uuid => $_->{uuid},
},
attributes => {
displayname => {'*' => $_->{name}},
},
}} (
{uuid => 'ddd60c5c-2934-404f-8f2d-fcb4da88b633', sid => 1, name => 'also-shares-identifier'},
{uuid => '8be115d2-dc2f-4a98-91e1-a6e3075cbc31', sid => 2, name => 'uuid'},
{uuid => 'bfae7574-3dae-425d-89b1-9c087c140c23', sid => 3, name => 'tagname'},
{uuid => '7f265548-81dc-4280-9550-1bd0aa4bf748', sid => 4, name => 'has-type'},
{uuid => 'a8d1637d-af19-49e9-9ef8-6bc1fbcf6439', sid => 5, name => 'uri'},
{uuid => 'd08dc905-bbf6-4183-b219-67723c3c8374', sid => 6, name => 'oid'},
# Unassigned: 7
( run in 1.950 second using v1.01-cache-2.11-cpan-39bf76dae61 )