line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package FAIR::NAMESPACES; |
2
|
|
|
|
|
|
|
$FAIR::NAMESPACES::VERSION = '1.001'; |
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
# ABSTRACT: a utility object that contains the namespaces commonly used by FAIR profiles. This shoudl probably be replaced by RDF::NS one day, because it is horribly hacky! |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
1397429
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
27
|
|
7
|
1
|
|
|
1
|
|
4
|
use vars qw(@ISA @EXPORT); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
39
|
|
8
|
1
|
|
|
1
|
|
4
|
use Exporter; |
|
1
|
|
|
|
|
9
|
|
|
1
|
|
|
|
|
45
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
BEGIN { |
11
|
1
|
|
|
1
|
|
8
|
@ISA = qw( Exporter ); |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
# Constants for FAIR Namespaces - I know that this is an AWFUL way to do this! SORRY TO THE FUTURE! |
14
|
1
|
|
|
|
|
112
|
@EXPORT = qw( |
15
|
|
|
|
|
|
|
DCAT |
16
|
|
|
|
|
|
|
DC |
17
|
|
|
|
|
|
|
DCTYPE |
18
|
|
|
|
|
|
|
FOAF |
19
|
|
|
|
|
|
|
RDF |
20
|
|
|
|
|
|
|
RDFS |
21
|
|
|
|
|
|
|
SKOS |
22
|
|
|
|
|
|
|
VCARD |
23
|
|
|
|
|
|
|
XSD |
24
|
|
|
|
|
|
|
FAIR |
25
|
|
|
|
|
|
|
); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
#---- Constant definitions |
29
|
|
|
|
|
|
|
# Node types |
30
|
0
|
|
|
0
|
0
|
|
sub DCAT () {return 'http://www.w3.org/ns/dcat#' } |
31
|
0
|
|
|
0
|
0
|
|
sub DC () {return 'http://purl.org/dc/terms/' } |
32
|
0
|
|
|
0
|
0
|
|
sub DCTYPE (){return 'http://purl.org/dc/dcmitype/' } |
33
|
0
|
|
|
0
|
0
|
|
sub FOAF () {return 'http://xmlns.com/foaf/0.1/' } |
34
|
0
|
|
|
0
|
0
|
|
sub RDF () {return 'http://www.w3.org/1999/02/22-rdf-syntax-ns#' } |
35
|
0
|
|
|
0
|
0
|
|
sub RDFS () {return 'http://www.w3.org/2000/01/rdf-schema#' } |
36
|
0
|
|
|
0
|
0
|
|
sub SKOS () {return 'http://www.w3.org/2004/02/skos/core#' } |
37
|
0
|
|
|
0
|
0
|
|
sub VCARD () {return 'http://www.w3.org/2006/vcard/ns#' } |
38
|
0
|
|
|
0
|
0
|
|
sub XSD () {return 'http://www.w3.org/2001/XMLSchema#' } |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
#sub FAIR() {return 'http://fairdata.org/ontology/FAIR-Data#'} |
41
|
0
|
|
|
0
|
0
|
|
sub FAIR() {return 'http://datafairport.org/schemas/FAIR-schema.owl#'} |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
1; |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
__END__ |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=pod |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=encoding UTF-8 |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 NAME |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
FAIR::NAMESPACES - a utility object that contains the namespaces commonly used by FAIR profiles. This shoudl probably be replaced by RDF::NS one day, because it is horribly hacky! |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head1 VERSION |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
version 1.001 |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 AUTHOR |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
Mark Denis Wilkinson (markw [at] illuminae [dot] com) |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
This software is Copyright (c) 2016 by Mark Denis Wilkinson. |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
This is free software, licensed under: |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
The Apache License, Version 2.0, January 2004 |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=cut |