David Price

setting up npd rd

1 # baseURI: http://www.reportinghub.no/refdata/npdfacts 1 # baseURI: http://www.reportinghub.no/refdata/npdfacts
2 +# imports: http://posccaesar.org/rdl
2 # imports: http://spinrdf.org/spin 3 # imports: http://spinrdf.org/spin
3 # imports: http://www.reportinghub.no/np/schema/1.0/npd 4 # imports: http://www.reportinghub.no/np/schema/1.0/npd
4 # imports: http://www.reportinghub.no/refdata/RDL_ERHFoundationRD 5 # imports: http://www.reportinghub.no/refdata/RDL_ERHFoundationRD
6 +# imports: http://www.reportinghub.no/refdata/transform/class2rd
5 7
6 @prefix RDL_ERHFoundationRD: <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD#> . 8 @prefix RDL_ERHFoundationRD: <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD#> .
9 +@prefix class2rd: <http://www.reportinghub.no/refdata/transform/class2rd#> .
7 @prefix npdfacts: <http://www.reportinghub.no/refdata/npdfacts#> . 10 @prefix npdfacts: <http://www.reportinghub.no/refdata/npdfacts#> .
8 @prefix owl: <http://www.w3.org/2002/07/owl#> . 11 @prefix owl: <http://www.w3.org/2002/07/owl#> .
9 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 12 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
...@@ -15,5 +18,5 @@ ...@@ -15,5 +18,5 @@
15 18
16 <http://www.reportinghub.no/refdata/npdfacts> 19 <http://www.reportinghub.no/refdata/npdfacts>
17 rdf:type owl:Ontology ; 20 rdf:type owl:Ontology ;
18 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> ; 21 + owl:imports <http://posccaesar.org/rdl> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> , <http://www.reportinghub.no/refdata/transform/class2rd> ;
19 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 22 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
...@@ -12,5 +12,7 @@ ...@@ -12,5 +12,7 @@
12 [] rdf:type inference:Configuration ; 12 [] rdf:type inference:Configuration ;
13 composite:child 13 composite:child
14 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 14 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + <http://spinrdf.org/spin#topSPINOptions>
16 + "singlePass" ;
15 composite:index "0"^^xsd:int 17 composite:index "0"^^xsd:int
16 ] . 18 ] .
......
...@@ -88,11 +88,11 @@ rdfs:Class ...@@ -88,11 +88,11 @@ rdfs:Class
88 ]) 88 ])
89 ] [ rdf:type sp:Filter ; 89 ] [ rdf:type sp:Filter ;
90 sp:expression 90 sp:expression
91 - [ rdf:type sp:ne ; 91 + [ rdf:type sp:eq ;
92 sp:arg1 [ rdf:type afn:namespace ; 92 sp:arg1 [ rdf:type afn:namespace ;
93 sp:arg1 spin:_this 93 sp:arg1 spin:_this
94 ] ; 94 ] ;
95 - sp:arg2 "http://www.linkedmodel.org/schema/vaem#" 95 + sp:arg2 "http://www.reportinghub.no/np/schema/npd#"
96 ] 96 ]
97 ] [ sp:object 97 ] [ sp:object
98 [ sp:varName "definition"^^xsd:string 98 [ sp:varName "definition"^^xsd:string
...@@ -178,6 +178,14 @@ rdfs:Class ...@@ -178,6 +178,14 @@ rdfs:Class
178 ] ; 178 ] ;
179 sp:predicate rdfs:subClassOf ; 179 sp:predicate rdfs:subClassOf ;
180 sp:subject spin:_this 180 sp:subject spin:_this
181 + ] [ rdf:type sp:Filter ;
182 + sp:expression
183 + [ rdf:type sp:eq ;
184 + sp:arg1 [ rdf:type afn:namespace ;
185 + sp:arg1 spin:_this
186 + ] ;
187 + sp:arg2 "http://www.reportinghub.no/np/schema/npd#"
188 + ]
181 ] [ sp:object 189 ] [ sp:object
182 [ sp:varName "thisrduri"^^xsd:string 190 [ sp:varName "thisrduri"^^xsd:string
183 ] ; 191 ] ;
...@@ -243,6 +251,14 @@ rdfs:Class ...@@ -243,6 +251,14 @@ rdfs:Class
243 ] ; 251 ] ;
244 sp:predicate <http://www.reportinghub.no/ep/schema/core#seeReferenceData> ; 252 sp:predicate <http://www.reportinghub.no/ep/schema/core#seeReferenceData> ;
245 sp:subject spin:_this 253 sp:subject spin:_this
254 + ] [ rdf:type sp:Filter ;
255 + sp:expression
256 + [ rdf:type sp:eq ;
257 + sp:arg1 [ rdf:type afn:namespace ;
258 + sp:arg1 spin:_this
259 + ] ;
260 + sp:arg2 "http://www.reportinghub.no/np/schema/npd#"
261 + ]
246 ] [ rdf:type sp:Bind ; 262 ] [ rdf:type sp:Bind ;
247 sp:expression 263 sp:expression
248 [ rdf:type smf:buildURI ; 264 [ rdf:type smf:buildURI ;
...@@ -329,11 +345,11 @@ owl:Class ...@@ -329,11 +345,11 @@ owl:Class
329 ]) 345 ])
330 ] [ rdf:type sp:Filter ; 346 ] [ rdf:type sp:Filter ;
331 sp:expression 347 sp:expression
332 - [ rdf:type sp:ne ; 348 + [ rdf:type sp:eq ;
333 sp:arg1 [ rdf:type afn:namespace ; 349 sp:arg1 [ rdf:type afn:namespace ;
334 sp:arg1 spin:_this 350 sp:arg1 spin:_this
335 ] ; 351 ] ;
336 - sp:arg2 "http://www.linkedmodel.org/schema/vaem#" 352 + sp:arg2 "http://www.reportinghub.no/np/schema/npd#"
337 ] 353 ]
338 ] [ sp:object 354 ] [ sp:object
339 [ sp:varName "definition"^^xsd:string 355 [ sp:varName "definition"^^xsd:string
...@@ -427,6 +443,14 @@ owl:Class ...@@ -427,6 +443,14 @@ owl:Class
427 ] ; 443 ] ;
428 sp:predicate <http://www.reportinghub.no/ep/schema/core#seeReferenceData> ; 444 sp:predicate <http://www.reportinghub.no/ep/schema/core#seeReferenceData> ;
429 sp:subject spin:_this 445 sp:subject spin:_this
446 + ] [ rdf:type sp:Filter ;
447 + sp:expression
448 + [ rdf:type sp:eq ;
449 + sp:arg1 [ rdf:type afn:namespace ;
450 + sp:arg1 spin:_this
451 + ] ;
452 + sp:arg2 "http://www.reportinghub.no/np/schema/npd#"
453 + ]
430 ] [ rdf:type sp:Bind ; 454 ] [ rdf:type sp:Bind ;
431 sp:expression 455 sp:expression
432 [ rdf:type smf:buildURI ; 456 [ rdf:type smf:buildURI ;
...@@ -471,6 +495,14 @@ owl:Class ...@@ -471,6 +495,14 @@ owl:Class
471 ] ; 495 ] ;
472 sp:predicate rdfs:subClassOf ; 496 sp:predicate rdfs:subClassOf ;
473 sp:subject spin:_this 497 sp:subject spin:_this
498 + ] [ rdf:type sp:Filter ;
499 + sp:expression
500 + [ rdf:type sp:eq ;
501 + sp:arg1 [ rdf:type afn:namespace ;
502 + sp:arg1 spin:_this
503 + ] ;
504 + sp:arg2 "http://www.reportinghub.no/np/schema/npd#"
505 + ]
474 ] [ sp:object 506 ] [ sp:object
475 [ sp:varName "thisrduri"^^xsd:string 507 [ sp:varName "thisrduri"^^xsd:string
476 ] ; 508 ] ;
...@@ -526,6 +558,14 @@ owl:Class ...@@ -526,6 +558,14 @@ owl:Class
526 ] ; 558 ] ;
527 sp:predicate owl:sameAs ; 559 sp:predicate owl:sameAs ;
528 sp:subject spin:_this 560 sp:subject spin:_this
561 + ] [ rdf:type sp:Filter ;
562 + sp:expression
563 + [ rdf:type sp:eq ;
564 + sp:arg1 [ rdf:type afn:namespace ;
565 + sp:arg1 spin:_this
566 + ] ;
567 + sp:arg2 "http://www.reportinghub.no/np/schema/npd#"
568 + ]
529 ] [ rdf:type sp:Optional ; 569 ] [ rdf:type sp:Optional ;
530 sp:elements ([ rdf:type sp:TriplePath ; 570 sp:elements ([ rdf:type sp:TriplePath ;
531 sp:object <http://www.reportinghub.no/ep/schema/activity#Activity> ; 571 sp:object <http://www.reportinghub.no/ep/schema/activity#Activity> ;
......