match-designation.ttl
3.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# baseURI: http://www.reportinghub.no/refdata/transform/match-designation
# imports: file:///www-test.reportinghub.no/refdata/jord-single-property-dimension.xls
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/core
@prefix : <http://www.reportinghub.no/refdata/transform/match-designation#> .
@prefix fn: <http://www.w3.org/2005/xpath-functions#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/core#PropertySpace>
spin:rule
[ rdf:type sp:Construct ;
sp:templates ([ sp:object
[ sp:varName "uri"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#seeReferenceData> ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "ref"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#seeReferenceData> ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "label"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type fn:upper-case ;
sp:arg1 [ sp:varName "label"^^xsd:string
]
] ;
sp:variable
[ sp:varName "thisdes"^^xsd:string
]
] [ sp:object
[ sp:varName "thisdes"^^xsd:string
] ;
sp:predicate <file:///www-test.reportinghub.no/refdata/jord-single-property-dimension.xls#des> ;
sp:subject
[ sp:varName "rd"^^xsd:string
]
] [ sp:object
[ sp:varName "uri"^^xsd:string
] ;
sp:predicate <file:///www-test.reportinghub.no/refdata/jord-single-property-dimension.xls#uRI> ;
sp:subject
[ sp:varName "rd"^^xsd:string
]
])
] .
<http://www.reportinghub.no/refdata/transform/match-designation>
rdf:type owl:Ontology ;
owl:imports <file:///www-test.reportinghub.no/refdata/jord-single-property-dimension.xls> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .