Skip to content
This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Commit b680b7e

Browse files
committed
updated tripleGeo
1 parent 133eb58 commit b680b7e

File tree

10 files changed

+870
-988
lines changed

10 files changed

+870
-988
lines changed

pom.xml

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -284,35 +284,5 @@
284284
</plugins>
285285
</build>
286286

287-
<profiles>
288-
<profile>
289-
<id>deb-pkg</id>
290-
<build>
291-
<plugins>
292-
<plugin>
293-
<groupId>org.apache.maven.plugins</groupId>
294-
<artifactId>maven-antrun-plugin</artifactId>
295-
<configuration>
296-
<tasks>
297-
<echo message="Creating debian package">
298-
</echo>
299-
<exec dir="${basedir}/deb-package" executable="${basedir}/deb-package/build_debpkg.sh"
300-
failonerror="true">
301-
</exec>
302-
</tasks>
303-
</configuration>
304-
<executions>
305-
<execution>
306-
<id>deb-pkg</id>
307-
<phase>package</phase>
308-
<goals>
309-
<goal>run</goal>
310-
</goals>
311-
</execution>
312-
</executions>
313-
</plugin>
314-
</plugins>
315-
</build>
316-
</profile>
317-
</profiles>
287+
318288
</project>

src/main/java/eu/geoknow/generator/rest/ImportRdf.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ public class ImportRdf {
4141
public ImportRdf(@Context ServletContext context) {
4242

4343
filePath =
44-
context.getRealPath(File.separator) + File.separator
45-
+ context.getInitParameter("file-upload") + File.separator;
44+
context.getRealPath(File.separator) + context.getInitParameter("file-upload")
45+
+ File.separator;
4646
filePath = "file:///" + filePath.replace("\\", "/");
4747
filePath = filePath.replace(" ", "%20");
4848
log.info("Uploading directory: " + filePath);

src/main/resources/system-components-template.ttl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
:TripleGeoService
122122
a lds:ExtractionService ;
123123
rdfs:label "Triple-Geo" ;
124-
lds:serviceUrl <http://localhost:8080/TripleGeo-Service> .
124+
lds:serviceUrl <http://localhost:8080/triplegeo-service> .
125125

126126
:DEER
127127
a lds:StackComponent ;

src/main/webapp/index.html

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<meta charset="utf-8">
66
<title>GeoKnow Generator</title>
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
8-
<meta name="description" content="" />
9-
<meta name="author" content="GeoKnow EU project FP7" />
8+
<meta name="description" content="GeoKnow Generator EU project FP7" />
9+
<meta name="author" content="Ontos AG" />
1010

1111
<!-- Le styles -->
1212
<link href="lib/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet" />
@@ -142,19 +142,24 @@
142142
<script src="lib/bootstrap-slider/bootstrap-slider.js"></script>
143143
<script src="lib/ui-bootstrap/ui-bootstrap-tpls-0.11.2.min.js"></script>
144144

145-
<!-- Misc -->
146-
<script src="lib/ng-file-upload/4.0.0/ng-file-upload-shim.min.js"></script>
147-
<script src="lib/ng-file-upload/4.0.0/ng-file-upload.min.js"></script>
145+
<!-- Angular Misc -->
146+
<script src="lib/ng-file-upload/9.0.0/ng-file-upload-shim.min.js"></script>
147+
<script src="lib/ng-file-upload/9.0.0/ng-file-upload.min.js"></script>
148148
<script src="lib/http-auth-interceptor.js"></script>
149149
<script src="lib/xml2json.min.js"></script>
150150
<script src="lib/angular-flash/angular-flash.min.js"></script>
151151
<script src="lib/angular-loading-bar/loading-bar.js"></script>
152-
<!--
153-
<script src="lib/angular-file-upload-master/2.1.1/angular-file-upload-shim.min.js"></script>
154-
<script src="lib/angular-file-upload-master/2.1.1/angular-file-upload.min.js"></script>
155-
<script src="lib/angular-file-upload-master/2.1.1/FileAPI.min.js"></script>
156-
-->
157-
152+
153+
<!-- RDF parser for DEER -->
154+
<script src="lib/rdf/Builtins.js"></script>
155+
<script src="lib/rdf/Default.js"></script>
156+
<script src="lib/rdf/Graph.js"></script>
157+
<script src="lib/rdf/Profile.js"></script>
158+
<script src="lib/rdf/rdf.js"></script>
159+
<script src="lib/rdf/RDFEnvironment.js"></script>
160+
<script src="lib/rdf/RDFNode.js"></script>
161+
<script src="lib/rdf/TurtleParser.js"></script>
162+
158163
<!-- services for the different modules/pages -->
159164
<script src="js/app.js"></script>
160165
<script src="js/services/config.js"></script>

src/main/webapp/js/workbench/classification-and-enrichment/deer-controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
***************************************************************************************************/
88

9-
var DeerCtrl = function($scope, $http, ConfigurationService, ComponentsService, flash, ServerErrorResponse, $window, AccountService, GraphService){
9+
var DeerCtrl = function($scope, $http, ConfigurationService, ComponentsService, flash, ServerErrorResponse, $window, AccountService, GraphService, Ns, $modal, JobService, AuthSessionService){
1010

1111
var componentId ="DEER";
1212
var serviceId = "DEERService";

src/main/webapp/js/workbench/extraction-and-loading/import-rdf-controller.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ var ImportFormCtrl = function($scope, $http, ConfigurationService, flash, Accoun
3232

3333

3434
$scope.endpoints = ConfigurationService.getAllEndpoints();
35-
$scope.uploadMessage = '';
36-
35+
$scope.uploadMessage = "";
3736
$scope.sourceType = "";
3837

3938
// source can be : file, url, endpoint or graph
@@ -233,7 +232,7 @@ var ImportFormCtrl = function($scope, $http, ConfigurationService, flash, Accoun
233232

234233
initialise();
235234

236-
$scope.importFile.files = [];
235+
$scope.importFile.files = null;
237236
$scope.urlForm.$setPristine();
238237
$scope.fileForm.$setPristine();
239238
$scope.endpointForm.$setPristine();

0 commit comments

Comments
 (0)