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
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