RDF FOAF Contact Data

Semantic UI

A Java program providing a Swing-based GUI for working with semantic models

Last released September, 2010 - version 1.2

This program allows the user to manually enter, or load from a file, semantic data expressed in RDF/XML, N3, Turtle and N-Triples formats. The GUI interface provides a text area for editing the assertions and running a reasoner. Another tab on the interface allows the user to see the inferred triples, expressed in the same format as the input. A third tab provides a tree view of the ontology, rooted by classes. Finally, a tab allowing for SPARQL query processing against the model is provided.

This program is intended to explore features of the Jena framework as well as leverage the pellet reasoner. This first generation tool has some severe limitations that will be resolved over time. Longer term this project may serve as a springboard for a Java-based Semantic Workbench that is being kicked-off on SourceForge.

You may download the entire ant-based project (contains all required libraries) or just the source code file. If you download just the source, you will need Jena and Pellet to compile and run the program. See the tools section on my main semantic web page for links to those packages.

Program Operation

The easiest way to run the program is to download the full package, unzip the archive, bring up a command prompt, switch to the base directory of the exploded archive and use ant to execute the run target. Here are a few screen shots of the application (click an image to see it full-size):

Initial view of Semantic UI Initial view of Semantic UI Initial view of Semantic UI
Assertions tab
Initial view - note that the Run Reasoner button is disabled until assertions are entered
Assertions tab
After loading some assertions
Inferences tab
After running the reasoner
 
 
Initial view of Semantic UI Initial view of Semantic UI
Tree View tab
After running the reasoner
SPARQL tab
After running the reasoner SPARQL queries may be entered and run against the model
 
 

Source Code

Feel free to download, use and modify this code. The intent is to provide a very simple user interface for working with semantic models and SPARQL.