#!/usr/bin/env perl
my
$aut
= MARC::Convert::Wikidata::Object::People->new(
'date_of_birth'
=>
'1952-12-08'
,
'external_ids'
=> [
MARC::Convert::Wikidata::Object::ExternalId->new(
'name'
=>
'nkcr_aut'
,
'value'
=>
'jn20000401266'
,
),
],
'name'
=> decode_utf8(
'Jiří'
),
'surname'
=>
'Jurok'
,
);
my
$publisher
= MARC::Convert::Wikidata::Object::Publisher->new(
'name'
=> decode_utf8(
'Město Příbor'
),
'place'
=> decode_utf8(
'Příbor'
),
);
my
$isbn
= MARC::Convert::Wikidata::Object::ISBN->new(
'isbn'
=>
'80-238-9541-9'
,
'publisher'
=>
$publisher
,
);
my
$obj
= MARC::Convert::Wikidata::Object->new(
'authors'
=> [
$aut
],
'date_of_publication'
=> 2002,
'edition_number'
=> 2,
'external_ids'
=> [
MARC::Convert::Wikidata::Object::ExternalId->new(
'name'
=>
'cnb'
,
'value'
=>
'cnb001188266'
,
),
MARC::Convert::Wikidata::Object::ExternalId->new(
'name'
=>
'lccn'
,
'value'
=>
'53860313'
,
),
],
'isbns'
=> [
$isbn
],
'number_of_pages'
=> 414,
'publishers'
=> [
$publisher
],
);
p
$obj
;