git clone https://@opensourceprojects.eu/git/p/timbus/context-population/context-population-gui timbus-context-population-context-population-gui



File Date Author Commit
public 2015-01-02 miguelnunes miguelnunes [66abd5] Added TIMBUS headers in javascript server files
routescripts 2014-10-02 miguelnunes miguelnunes [7af650] Fixed fuseki request error
views 2014-11-11 miguelnunes miguelnunes [a41348] Solved socketio-file-upload conflict
.gitignore 2014-11-10 miguelnunes miguelnunes [0dbdb3] Changed gitignore
Readme.md 2015-01-06 miguelnunes miguelnunes [7acb25] Updated Readme
app.js 2015-01-02 miguelnunes miguelnunes [66abd5] Added TIMBUS headers in javascript server files
error_shutdown_log 2014-09-18 miguelnunes miguelnunes [e69273] Merge branch 'extractconvertdirectadaptation'
output.json 2014-05-30 miguelnunes miguelnunes [00dab2] Added download option
package.json 2014-11-19 miguelnunes miguelnunes [799382] Removed fileuploads content from repository and...
routes.js 2015-01-02 miguelnunes miguelnunes [66abd5] Added TIMBUS headers in javascript server files
screenshot.png 2014-06-17 miguelnunes miguelnunes [0a6d65] Fixed issue and added Readme
test 2014-06-19 miguelnunes miguelnunes [f6fa58] Merge branch 'dynamicportadaptation'

Read Me

Context Population GUI

The Context Population GUI is a Node JS based web service built to enable easy and direct extractions and conversions. With its sleek and intuitive design, it allows any type of user to perform extractions and consequent conversions from remote or local machines, whether by SSH or HTTP.

 

How to get the code

git clone https://@opensourceprojects.eu/git/p/timbus/context-population/context-population-gui timbus-context-population-context-population-gui

 

Required packages and Installation

In order to use this tool, it is necessary to install:

NodeJS
NPM - NodeJS package installer

Once downloaded and installed both dependencies, run the following command on the project's main folder: "npm install"

You should, now, have the project set up properly. To run it, simply type "node app.js [desired port]" on the project's folder. The default port is 3000.

 

Usage

Accessing the GUI, there is the possibility of performing two kinds of extractions: Insertion of requested parameters and clicking "Extract" button, or the manual extraction. In the second case, there is an area in which to insert the JSON Request. The manually inserted JSON is, therefore, sent by pressing "ExtractFromJSON".
Update: A new functionality to automatically convert the extracted result to OWL is available. When clicking "Extract & Convert", the GUI shows a menu in which the user can choose whether to upload the converted result to a Fuseki instance and specify its address and dataset, or simply obtain the result.
After a successfull extraction, the result appears in the bottom area. From this point on, by accessing the "Conversion" area a table appears with all relevant information and the possibility to convert the extracted result. By selecting an item and ordering a conversion, an automatic process is triggered: The Converters API is called and it searches for an appropriate converter for the type of format in question. Once it is finished, a button to download the result OWL file is made available.
Update: In the new version of the Context Population GUI, an option to automatically convert the resulting extraction was made available. By pressing "Extract & Convert", a menu will appear in order to choose whether the user wishes to populate a Fuseki server with the OWL conversion and, in that case, provide the Fuseki address and select the appropriate Dataset.

 

Graphical Interface Screenshot

alt text

 

License

Copyright (c) 2014, Caixa Magica Software Lda (CMS).
The work has been developed in the TIMBUS Project and the above-mentioned are Members of the TIMBUS Consortium.
TIMBUS is supported by the European Union under the 7th Framework Programme for research and technological development and demonstration activities (FP7/2007-2013) under grant agreement no. 269940.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at: http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTIBITLY, or FITNESS FOR A PARTICULAR PURPOSE. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law or agreed to in writing, shall any Contributor be liable for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work.
See the License for the specific language governing permissions and limitation under the License.

 

Author

Miguel Gama Nunes miguel.nunes@caixamagica.pt