Skip to content

Commit 8a64095

Browse files
committed
fixing tests for cdl rdfgraph
1 parent eed0687 commit 8a64095

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

lib/bald/tests/integration/CDL/multi_array_reference.cdl

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ dimensions:
33
pdim0 = 11 ;
44
pdim1 = 17 ;
55
variables:
6+
int prefix_list(pdim0, pdim1) ;
7+
prefix_list:bald__ = "http://binary-array-ld.net/latest/" ;
8+
prefix_list:metce__ = "http://codes.wmo.int/common/observation-type/METCE/2013/" ;
9+
prefix_list:rdf__ = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" ;
10+
611
int variable1(pdim0, pdim1) ;
712
variable1:bald__references = "location_variable" ;
813
variable1:long_name = "Gerald";
@@ -31,11 +36,4 @@ variables:
3136
:_NCProperties = "version=1|netcdflibversion=4.4.1|hdf5libversion=1.8.17" ;
3237
:bald__isPrefixedBy = "prefix_list" ;
3338

34-
group: prefix_list {
35-
36-
// group attributes:
37-
:bald__ = "http://binary-array-ld.net/latest/" ;
38-
:metce__ = "http://codes.wmo.int/common/observation-type/METCE/2013/" ;
39-
:rdf__ = "http://www.w3.org/1999/02/22-rdf-syntax-ns#" ;
40-
} // group bald__prefix_list
4139
}

lib/bald/tests/integration/TTL/multi_array_reference.ttl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@prefix bald: <http://binary-array-ld.net/latest/> .
2+
@prefix metce: <http://codes.wmo.int/common/observation-type/METCE/2013/> .
23
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
34
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
45
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@@ -21,15 +22,15 @@
2122
<variable1_pdim0_ref> ;
2223
bald:shape "(11, 17)" ;
2324
<long_name> "Gerald" ;
24-
<obtype> <http://codes.wmo.int/common/observation-type/METCE/2013/SamplingObservation> .
25+
<obtype> metce:SamplingObservation .
2526

2627
<variable2> a bald:Array ;
2728
bald:references <location_variable>,
2829
<pdim1>,
2930
<variable2_pdim0_ref> ;
3031
bald:shape "(11, 17)" ;
3132
<long_name> "Imelda" ;
32-
<obtype> <http://codes.wmo.int/common/observation-type/METCE/2013/SamplingObservation> .
33+
<obtype> metce:SamplingObservation .
3334

3435
<variable1_pdim0_ref> a bald:Reference,
3536
bald:Subject ;

0 commit comments

Comments
 (0)