Interpreter

所属分类:中间件编程
开发工具:Java
文件大小:27445KB
下载次数:0
上传日期:2019-06-19 16:12:27
上 传 者sh-1993
说明:  基于Java的语义编程源代码本体解释中间件
(Java-based middleware for interpreting Semantic Programming source code ontologies)

文件列表:
LICENSE (7652, 2019-06-20)
external_libs (0, 2019-06-20)
external_libs\apache-jena-3.3.0 (0, 2019-06-20)
external_libs\apache-jena-3.3.0\lib-src (0, 2019-06-20)
external_libs\apache-jena-3.3.0\lib-src\jena-arq-3.3.0-sources.jar (2221415, 2019-06-20)
external_libs\apache-jena-3.3.0\lib-src\jena-cmds-3.3.0-sources.jar (180313, 2019-06-20)
external_libs\apache-jena-3.3.0\lib-src\jena-core-3.3.0-sources.jar (1464482, 2019-06-20)
external_libs\apache-jena-3.3.0\lib-src\jena-rdfconnection-3.3.0-sources.jar (35694, 2019-06-20)
external_libs\apache-jena-3.3.0\lib-src\jena-tdb-3.3.0-sources.jar (430312, 2019-06-20)
external_libs\apache-jena-3.3.0\lib (0, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\collection-0.6.jar (162639, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\commons-cli-1.3.jar (52946, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\commons-codec-1.10.jar (284184, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\commons-csv-1.3.jar (39815, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\commons-io-2.5.jar (208700, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\commons-lang3-3.4.jar (434678, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\httpclient-4.5.2.jar (736658, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\httpclient-cache-4.5.2.jar (158984, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\httpcore-4.4.4.jar (326724, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jackson-annotations-2.7.0.jar (50894, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jackson-core-2.7.4.jar (253001, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jackson-databind-2.7.4.jar (1204187, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jcl-over-slf4j-1.7.21.jar (16431, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jena-arq-3.3.0.jar (2885392, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jena-base-3.3.0.jar (217914, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jena-cmds-3.3.0.jar (238623, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jena-core-3.3.0.jar (1418729, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jena-iri-3.3.0.jar (137856, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jena-rdfconnection-3.3.0.jar (40846, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jena-shaded-guava-3.3.0.jar (2643443, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jena-tdb-3.3.0.jar (528067, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\jsonld-java-0.9.0.jar (123085, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\libthrift-0.9.3.jar (234201, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\log4j-1.2.17.jar (489884, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\slf4j-api-1.7.21.jar (41071, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\slf4j-log4j12-1.7.21.jar (9988, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\xercesImpl-2.11.0.jar (1367760, 2019-06-20)
external_libs\apache-jena-3.3.0\lib\xml-apis-1.4.01.jar (220536, 2019-06-20)
... ...

# Java Interpreter We develop a Semantic Programming Ontology (SPrO; https://github.com/SemanticProgramming/SPrO) that is used for software programming. SPrO can be used like a programming language with which one can control a data-centric Semantic Web application by describing it within a corresponding source code ontology. With the terms from SPrO you can describe the graphical user interface (GUI), data representations, user interactions, and all workflow processes of a Semantic Web application. The Java Interpreter functions as an interpreter that dynamically interprets and executes the descriptions in a source code ontology by interpreting them as declarative specifications. Currently, the following functions have been implemented: * source code ontology to program logic (application tier); * generation of triples, including the generation of new resources; * logic for saving and retrieving triples from different named graphs and different directories; * handling incoming information from WebSocket; * provide information from application ontology and from tuple store to WebSocket; * basic user administration; * sessions management; * input-control based on specifications contained in source code ontologies; * integration of a Lucene-index for fast and thus user-friendly auto-complete input fields; * implementation of the following basic workflows: log-in, log-out, sign-up, tracking provenance, tracking user contributions, tracking change-log, editing an input field; * implementation of all session-related workflow actions; * handling dynamic composition updates of a document. Further information on the project is available at http://escience.biowikifarm.net - feel free to contact us at dev@morphdbase.de This repository contains the Java-based Interpreter for Semantic Programming based on the Semantic Programming Ontology (SPrO). It interprets and executes specifications of Semantic Web applications contained in source code ontologies. For Semantic Programming you also need the Semantic Programming Ontology (SPrO; https://github.com/SemanticProgramming/SPrO) and the interface (https://github.com/SemanticProgramming/Interface). Basic functionalities are described in the SOCCOMAS source code ontology (SC-Basic; https://github.com/SemanticProgramming/SOCCOMAS) and can be re-used for your Semantic Web application. **Please be aware that this project is ongoing research! This code is for demonstration purposes only. Do not use in production environment!** ## Installation #### Get GIT repository: Clone via bash... git clone https://github.com/SemanticProgramming/Interpreter.git #### Setup a Web server: Install a Web server e.g. Jetty: https://dzone.com/articles/installing-and-running-jetty ## Configure the Web application #### Update path in middleware Change configuration in the Java class 'ApplicationConfigurator': protected static final String domain = "http://www.your-domain.com"; private static final String mainDirectory = "/path/to/tuple-store-root-directory/"; #### Create web archive file: After that create the specific web archive: cd /to/your/folder/location jar -cvf web-app.war * #### Fill Jena TDB Load the application ontologies in the Jena TDB with the class **LoadFileInTDB** cd /to/your/folder/location javac LoadFileInTDB.java ## Start the Web application copy or link the Web archive to the Web server directory (e.g. opt/jetty/webapps) assign the root directories to jetty sudo chown -R jetty:jetty /path/to/tuple-store-root-directory/tdb/ sudo chown -R jetty:jetty /path/to/tuple-store-root-directory/tdb-lucene/ start the web server (e.g. sudo service jetty start) login to http://www.your-domain.com go to admin site (click "**Go to admin page**" under "**My MDB**")

近期下载者

相关文件


收藏者