line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Shared::Fixture::Wikibase::Datatype::Property::Wikidata::InstanceOf; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
343211
|
use base qw(Wikibase::Datatype::Property); |
|
3
|
|
|
|
|
36
|
|
|
3
|
|
|
|
|
1425
|
|
4
|
3
|
|
|
3
|
|
24
|
use strict; |
|
3
|
|
|
|
|
7
|
|
|
3
|
|
|
|
|
73
|
|
5
|
3
|
|
|
3
|
|
17
|
use warnings; |
|
3
|
|
|
|
|
6
|
|
|
3
|
|
|
|
|
76
|
|
6
|
|
|
|
|
|
|
|
7
|
3
|
|
|
3
|
|
1560
|
use Test::Shared::Fixture::Wikibase::Datatype::Statement::Wikidata::InstanceOf::WikidataProperty; |
|
3
|
|
|
|
|
13
|
|
|
3
|
|
|
|
|
125
|
|
8
|
3
|
|
|
3
|
|
1214
|
use Wikibase::Datatype::Value::Monolingual; |
|
3
|
|
|
|
|
24
|
|
|
3
|
|
|
|
|
513
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = 0.30; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub new { |
13
|
1
|
|
|
1
|
1
|
133
|
my $class = shift; |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
|
|
15
|
my @params = ( |
16
|
|
|
|
|
|
|
'aliases' => [ |
17
|
|
|
|
|
|
|
Wikibase::Datatype::Value::Monolingual->new( |
18
|
|
|
|
|
|
|
'language' => 'en', |
19
|
|
|
|
|
|
|
'value' => 'is a', |
20
|
|
|
|
|
|
|
), |
21
|
|
|
|
|
|
|
Wikibase::Datatype::Value::Monolingual->new( |
22
|
|
|
|
|
|
|
'language' => 'en', |
23
|
|
|
|
|
|
|
'value' => 'is an', |
24
|
|
|
|
|
|
|
), |
25
|
|
|
|
|
|
|
], |
26
|
|
|
|
|
|
|
'datatype' => 'wikibase-item', |
27
|
|
|
|
|
|
|
'descriptions' => [ |
28
|
|
|
|
|
|
|
Wikibase::Datatype::Value::Monolingual->new( |
29
|
|
|
|
|
|
|
'language' => 'en', |
30
|
|
|
|
|
|
|
'value' => 'that class of which this subject is a particular example and member', |
31
|
|
|
|
|
|
|
), |
32
|
|
|
|
|
|
|
], |
33
|
|
|
|
|
|
|
'id' => 'P31', |
34
|
|
|
|
|
|
|
'labels' => [ |
35
|
|
|
|
|
|
|
Wikibase::Datatype::Value::Monolingual->new( |
36
|
|
|
|
|
|
|
'language' => 'en', |
37
|
|
|
|
|
|
|
'value' => 'instance of', |
38
|
|
|
|
|
|
|
), |
39
|
|
|
|
|
|
|
], |
40
|
|
|
|
|
|
|
'lastrevid' => 1645333097, |
41
|
|
|
|
|
|
|
'modified' => '2022-06-24T13:05:10Z', |
42
|
|
|
|
|
|
|
'page_id' => 3918489, |
43
|
|
|
|
|
|
|
'statements' => [ |
44
|
|
|
|
|
|
|
Test::Shared::Fixture::Wikibase::Datatype::Statement::Wikidata::InstanceOf::WikidataProperty->new, |
45
|
|
|
|
|
|
|
], |
46
|
|
|
|
|
|
|
'title' => 'Property:P31', |
47
|
|
|
|
|
|
|
); |
48
|
|
|
|
|
|
|
|
49
|
1
|
|
|
|
|
8
|
my $self = $class->SUPER::new(@params); |
50
|
|
|
|
|
|
|
|
51
|
1
|
|
|
|
|
12
|
return $self; |
52
|
|
|
|
|
|
|
} |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
1; |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
__END__ |