line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Shared::Fixture::Wikibase::Datatype::Sense::Wikidata::Dog; |
2
|
|
|
|
|
|
|
|
3
|
19
|
|
|
19
|
|
341592
|
use base qw(Wikibase::Datatype::Sense); |
|
19
|
|
|
|
|
77
|
|
|
19
|
|
|
|
|
8191
|
|
4
|
19
|
|
|
19
|
|
139
|
use strict; |
|
19
|
|
|
|
|
40
|
|
|
19
|
|
|
|
|
381
|
|
5
|
19
|
|
|
19
|
|
103
|
use warnings; |
|
19
|
|
|
|
|
46
|
|
|
19
|
|
|
|
|
460
|
|
6
|
|
|
|
|
|
|
|
7
|
19
|
|
|
19
|
|
9626
|
use Test::Shared::Fixture::Wikibase::Datatype::Statement::Wikidata::Image::Dog; |
|
19
|
|
|
|
|
61
|
|
|
19
|
|
|
|
|
651
|
|
8
|
19
|
|
|
19
|
|
8764
|
use Test::Shared::Fixture::Wikibase::Datatype::Statement::Wikidata::ItemForThisSense::Dog; |
|
19
|
|
|
|
|
66
|
|
|
19
|
|
|
|
|
615
|
|
9
|
19
|
|
|
19
|
|
1350
|
use Unicode::UTF8 qw(decode_utf8); |
|
19
|
|
|
|
|
1588
|
|
|
19
|
|
|
|
|
831
|
|
10
|
19
|
|
|
19
|
|
1444
|
use Wikibase::Datatype::Value::Monolingual; |
|
19
|
|
|
|
|
54
|
|
|
19
|
|
|
|
|
2415
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
our $VERSION = 0.29; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub new { |
15
|
15
|
|
|
15
|
1
|
365
|
my $class = shift; |
16
|
|
|
|
|
|
|
|
17
|
15
|
|
|
|
|
123
|
my @params = ( |
18
|
|
|
|
|
|
|
'glosses' => [ |
19
|
|
|
|
|
|
|
Wikibase::Datatype::Value::Monolingual->new( |
20
|
|
|
|
|
|
|
'language' => 'en', |
21
|
|
|
|
|
|
|
'value' => 'domesticated mammal related to the wolf', |
22
|
|
|
|
|
|
|
), |
23
|
|
|
|
|
|
|
Wikibase::Datatype::Value::Monolingual->new( |
24
|
|
|
|
|
|
|
'language' => 'cs', |
25
|
|
|
|
|
|
|
'value' => decode_utf8('psovitá šelma chovaná jako domácí zvíře'), |
26
|
|
|
|
|
|
|
), |
27
|
|
|
|
|
|
|
], |
28
|
|
|
|
|
|
|
# https://www.wikidata.org/wiki/Lexeme:L469 |
29
|
|
|
|
|
|
|
'id' => 'L469-S1', |
30
|
|
|
|
|
|
|
'statements' => [ |
31
|
|
|
|
|
|
|
Test::Shared::Fixture::Wikibase::Datatype::Statement::Wikidata::Image::Dog->new, |
32
|
|
|
|
|
|
|
Test::Shared::Fixture::Wikibase::Datatype::Statement::Wikidata::ItemForThisSense::Dog->new, |
33
|
|
|
|
|
|
|
], |
34
|
|
|
|
|
|
|
); |
35
|
|
|
|
|
|
|
|
36
|
15
|
|
|
|
|
153
|
my $self = $class->SUPER::new(@params); |
37
|
|
|
|
|
|
|
|
38
|
15
|
|
|
|
|
606
|
return $self; |
39
|
|
|
|
|
|
|
} |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
__END__ |