소스 검색

updated mappings

beyza.yaman 2 년 전
부모
커밋
4846911712

+ 22 - 10
1Spatial-1stDump/daq-observation-mapping/mappingDAQobservation.ttl

@@ -97,6 +97,7 @@
         ] ;
         rr:objectMap [
         	rr:template "http://data.example.com/1spatialassessment/dimension/{DIMENSION}-instance" ;
+			rr:termType rr:IRI; 
         ] ;
     ] .
 
@@ -109,7 +110,8 @@
 	rr:predicateObjectMap [
         rr:predicate rdf:type ;
         rr:objectMap [
-        	rr:template "http://data.example.com/dimension/{DIMENSION}"
+        	rr:template "http://data.example.com/dimension/{DIMENSION}";
+			rr:termType rr:IRI; 
         ] ;
     ] ;
     rr:predicateObjectMap [
@@ -117,7 +119,8 @@
         	rr:template "http://data.example.com/dimension/has{METRIC}metric";
         ] ;
         rr:objectMap [
-        	rr:template "http://data.example.com/1spatialassessment/metric/{METRIC}-instance" ;
+        	rr:template "http://data.example.com/1spatialassessment/metric/{METRIC}-instance" ; 
+			rr:termType rr:IRI; 
         ] ;
     ] .
 
@@ -130,13 +133,15 @@
 	  rr:predicateObjectMap [
         rr:predicate rdf:type ;
         rr:objectMap [
-        	rr:template "http://data.example.com/metric/{METRIC}"
+        	rr:template "http://data.example.com/metric/{METRIC}";
+			rr:termType rr:IRI; 
         ] ;
       ] ;
 	  rr:predicateObjectMap [
 	      rr:predicate daq:Observation ;
 	      rr:objectMap [
-	  		rr:template "http://data.example.com/1spatialassessment/observation/{METRIC}-{VALIDATION_BATCH_ID}";
+	  		rr:template "http://data.example.com/1spatialassessment/observation/{METRIC}-{VALIDATION_BATCH_ID}"; 
+			rr:termType rr:IRI; 
 	      ] ;
 	  ] .
 
@@ -150,12 +155,15 @@
     ] ;
     rr:predicateObjectMap [
         rr:predicate daq:isEstimate ;
-        rr:objectMap [ rr:constant "false"^^xsd:boolean ];
+        rr:objectMap [ rr:constant "false";
+		rr:datatype xsd:boolean; 
+	   ];
     ] ;
     rr:predicateObjectMap [
         rr:predicate daq:metric ;
         rr:objectMap [
 			rr:template "http://data.example.com/1spatialassessment/metric/{METRIC}-instance" ;
+			rr:termType rr:IRI; 
         ];
     ] ;
    	rr:predicateObjectMap [
@@ -184,13 +192,16 @@
     rr:predicateObjectMap [
         rr:predicate daq:computedOn ;
         rr:objectMap [
-			rr:template "http://ontologies.adaptcentre.ie/dataset-hierarchy#{COMPUTED_ON}"
+			rr:template "http://ontologies.adaptcentre.ie/dataset-hierarchy#{COMPUTED_ON}";
+			rr:termType rr:IRI; 
+			
         ];
     ] ;
     rr:predicateObjectMap [
         rr:predicate daq:computedOn ;
         rr:objectMap [
-        	rr:template "http://ontologies.adaptcentre.ie/dataset-hierarchy#{COMPUTED_ON}" 
+        	rr:template "http://ontologies.adaptcentre.ie/dataset-hierarchy#{COMPUTED_ON}";
+			rr:termType rr:IRI;  
         ];
     ] ;
     rr:predicateObjectMap [
@@ -200,7 +211,8 @@
     rr:predicateObjectMap [
         rr:predicate prov:generated ;
         rr:objectMap [
-        	rr:template "http://data.example.com/1spatialassessment/observation/{METRIC}-{VALIDATION_BATCH_ID}-profiling"
+        	rr:template "http://data.example.com/1spatialassessment/observation/{METRIC}-{VALIDATION_BATCH_ID}-profiling";
+			rr:termType rr:IRI; 
         ]
     ] .
 
@@ -216,8 +228,8 @@
     rr:predicateObjectMap [
         rr:predicate daq:totalDatasetTriplesAssessed ; # this might be changed if we create a small vocabulary for osi
         rr:objectMap [
-        	rr:column "TOTAL_INSTANCES"
-        ]
+			rr:column "TOTAL_INSTANCES"
+		]
     ] .
 
 

+ 21 - 10
1Spatial-2ndDump/daq-observation-mapping/mappingDAQobservation.ttl

@@ -96,7 +96,8 @@
         	rr:template "http://data.example.com/dimension/has{DIMENSION}Dimension";
         ] ;
         rr:objectMap [
-        	rr:template "http://data.example.com/1spatialassessment/dimension/{DIMENSION}-instance" ;
+        	rr:template "http://data.example.com/1spatialassessment/dimension/{DIMENSION}-instance" ; 
+			rr:termType rr:IRI; 
         ] ;
     ] .
 
@@ -109,7 +110,8 @@
 	rr:predicateObjectMap [
         rr:predicate rdf:type ;
         rr:objectMap [
-        	rr:template "http://data.example.com/dimension/{DIMENSION}"
+        	rr:template "http://data.example.com/dimension/{DIMENSION}"; 
+			rr:termType rr:IRI; 
         ] ;
     ] ;
     rr:predicateObjectMap [
@@ -117,7 +119,8 @@
         	rr:template "http://data.example.com/dimension/has{METRIC}metric";
         ] ;
         rr:objectMap [
-        	rr:template "http://data.example.com/1spatialassessment/metric/{METRIC}-instance" ;
+        	rr:template "http://data.example.com/1spatialassessment/metric/{METRIC}-instance" ; 
+			rr:termType rr:IRI; 
         ] ;
     ] .
 
@@ -130,13 +133,15 @@
 	  rr:predicateObjectMap [
         rr:predicate rdf:type ;
         rr:objectMap [
-        	rr:template "http://data.example.com/metric/{METRIC}"
+        	rr:template "http://data.example.com/metric/{METRIC}"; 
+			rr:termType rr:IRI; 
         ] ;
       ] ;
 	  rr:predicateObjectMap [
 	      rr:predicate daq:Observation ;
 	      rr:objectMap [
-	  		rr:template "http://data.example.com/1spatialassessment/observation/{METRIC}-{VALIDATION_BATCH_ID}";
+	  		rr:template "http://data.example.com/1spatialassessment/observation/{METRIC}-{VALIDATION_BATCH_ID}"; 
+			rr:termType rr:IRI; 
 	      ] ;
 	  ] .
 
@@ -150,12 +155,15 @@
     ] ;
     rr:predicateObjectMap [
         rr:predicate daq:isEstimate ;
-        rr:objectMap [ rr:constant "false"^^xsd:boolean ];
+        rr:objectMap [ rr:constant "false";
+		rr:datatype xsd:boolean; 
+	    ];
     ] ;
     rr:predicateObjectMap [
         rr:predicate daq:metric ;
         rr:objectMap [
-			rr:template "http://data.example.com/1spatialassessment/metric/{METRIC}-instance" ;
+			rr:template "http://data.example.com/1spatialassessment/metric/{METRIC}-instance" ; 
+			rr:termType rr:IRI; 
         ];
     ] ;
    	rr:predicateObjectMap [
@@ -184,13 +192,15 @@
     rr:predicateObjectMap [
         rr:predicate daq:computedOn ;
         rr:objectMap [
-			rr:template "http://ontologies.adaptcentre.ie/dataset-hierarchy#{COMPUTED_ON}"
+			rr:template "http://ontologies.adaptcentre.ie/dataset-hierarchy#{COMPUTED_ON}"; 
+			rr:termType rr:IRI; 
         ];
     ] ;
     rr:predicateObjectMap [
         rr:predicate daq:computedOn ;
         rr:objectMap [
-        	rr:template "http://ontologies.adaptcentre.ie/dataset-hierarchy#{COMPUTED_ON}" 
+        	rr:template "http://ontologies.adaptcentre.ie/dataset-hierarchy#{COMPUTED_ON}"; 
+			rr:termType rr:IRI; 
         ];
     ] ;
     rr:predicateObjectMap [
@@ -200,7 +210,8 @@
     rr:predicateObjectMap [
         rr:predicate prov:generated ;
         rr:objectMap [
-        	rr:template "http://data.example.com/1spatialassessment/observation/{METRIC}-{VALIDATION_BATCH_ID}-profiling"
+        	 rr:template "http://data.example.com/1spatialassessment/observation/{METRIC}-{VALIDATION_BATCH_ID}-profiling";
+			rr:termType rr:IRI;
         ]
     ] .
 

+ 21 - 10
OGCuplift/daq-observation-mapping/mapping.ttl

@@ -85,7 +85,8 @@
         	rr:template "http://data.example.com/dimension/has{DIMENSION}Dimension";
         ] ;
         rr:objectMap [
-        	rr:template "http://data.example.com/1spatialassessment/dimension/{DIMENSION}-instance" ;
+        	rr:template "http://data.example.com/1spatialassessment/dimension/{DIMENSION}-instance" ; 
+			rr:termType rr:IRI; 
         ] ;
     ] .
 
@@ -98,7 +99,8 @@
 	rr:predicateObjectMap [
         rr:predicate rdf:type ;
         rr:objectMap [
-        	rr:template "http://data.example.com/dimension/{DIMENSION}"
+        	rr:template "http://data.example.com/dimension/{DIMENSION}"; 
+			rr:termType rr:IRI; 
         ] ;
     ] ;
     rr:predicateObjectMap [
@@ -106,7 +108,8 @@
         	rr:template "http://data.example.com/dimension/has{METRIC}metric";
         ] ;
         rr:objectMap [
-        	rr:template "http://data.example.com/1spatialassessment/metric/{METRIC}-instance" ;
+        	rr:template "http://data.example.com/1spatialassessment/metric/{METRIC}-instance" ; 
+			rr:termType rr:IRI; 
         ] ;
     ] .
 
@@ -119,13 +122,15 @@
 	  rr:predicateObjectMap [
         rr:predicate rdf:type ;
         rr:objectMap [
-        	rr:template "http://data.example.com/metric/{METRIC}"
+        	rr:template "http://data.example.com/metric/{METRIC}"; 
+			rr:termType rr:IRI; 
         ] ;
       ] ;
 	  rr:predicateObjectMap [
 	      rr:predicate daq:Observation ;
 	      rr:objectMap [
-	  		rr:template "http://data.example.com/1spatialassessment/observation/{METRIC}--{VALIDATION_BATCH}";
+	  		rr:template "http://data.example.com/1spatialassessment/observation/{METRIC}--{VALIDATION_BATCH}"; 
+			rr:termType rr:IRI; 
 	      ] ;
 	  ] .
 
@@ -139,12 +144,15 @@
     ] ;
     rr:predicateObjectMap [
         rr:predicate daq:isEstimate ;
-        rr:objectMap [ rr:constant "false"^^xsd:boolean ];
+        rr:objectMap [ rr:constant "false";
+        rr:datatype xsd:boolean;
+       ];
     ] ;
     rr:predicateObjectMap [
         rr:predicate daq:metric ;
         rr:objectMap [
-			rr:template "http://data.example.com/1spatialassessment/metric/{METRIC}-instance" ;
+			rr:template "http://data.example.com/1spatialassessment/metric/{METRIC}-instance" ; 
+			rr:termType rr:IRI; 
         ];
     ] ;
    	rr:predicateObjectMap [
@@ -173,13 +181,15 @@
     rr:predicateObjectMap [
         rr:predicate daq:computedOn ;
         rr:objectMap [
-			rr:template "http://ontologies.adaptcentre.ie/dataset-hierarchy#{COMPUTED_ON}"
+			rr:template "http://ontologies.adaptcentre.ie/dataset-hierarchy#{COMPUTED_ON}"; 
+			rr:termType rr:IRI; 
         ];
     ] ;
     rr:predicateObjectMap [
         rr:predicate daq:computedOn ;
         rr:objectMap [
-        	rr:template "http://ontologies.adaptcentre.ie/dataset-hierarchy#{COMPUTED_ON}" 
+        	rr:template "http://ontologies.adaptcentre.ie/dataset-hierarchy#{COMPUTED_ON}" ; 
+			rr:termType rr:IRI; 
         ];
     ] ;
     rr:predicateObjectMap [
@@ -189,7 +199,8 @@
     rr:predicateObjectMap [
         rr:predicate prov:generated ;
         rr:objectMap [
-        	rr:template "http://data.example.com/1spatialassessment/observation/{METRIC}-{VALIDATION_BATCH}-profiling"
+        	rr:template "http://data.example.com/1spatialassessment/observation/{METRIC}-{VALIDATION_BATCH_ID}-profiling";
+			rr:termType rr:IRI;
         ]
     ] .