Sitemap
SEMOSS Info

SEMOSS Info

Introducing SEMOSS

10 min readOct 26, 2018

--

SEMOSS stands for Semantic Open Source Software. SEMOSS has enabled clients to perform every step of the data analytics life cycle within the same tool: Intake, Integration, Federation, Cleaning, Algorithms, and Visualizations. This eliminates the need for multiple systems and allows the organization to gain the holistic picture it needs to make data-driven decisions and accomplish their mission.

SEMOSS started as a visualization and analytics tool for RDF data (semantic web) and has evolved over the last couple of years into a general purpose data analytic platform and app engine. You can download the tool at www.semoss.org/download or just run docker with docker run -p 80:8080 semoss/docker or simply go to play.semoss.org, login with any of your credentials, and start experimenting with it. Some of the key features of SEMOSS are:

  • Bespoke database generation for xSV (CSV, TSV, Excel)
  • Connectors to RDBMS, Graph, R Datatable and RDF databases
  • Connectors to NoSQL databases with any declarative query language
  • Connectors to API with full support for OAuth2 — Google Drive, Google Sheets, Dropbox, Twitter, Google APIs
  • Blending across databases / hyperlinking data. Connect to multiple databases at the same time
  • Data preparation and analytics module integrated with visualization
  • Data and analytics versioning through Git (Integrated with GitHub)
  • A complete scriptable metalanguage to accommodate going across environments like R, Java, Python while translating it to appropriate query language on the fly like SQL vs. SPARQL vs. Gremlin vs. R Datatable vs. iGraph vs. Cypher
  • Cloud Ready for horizontal scalability
  • Create user input forms for data entry

Why is the download so big / docker image so big? We are combining multiple packages inside SEMOSS to make the install comprehensive. Like Java, Tomcat, R with various packages, database connectors for different databases among other things. Please bear with us as we optimize this. If you have ideas and suggestions, please contact us.

While we will dive into each of these areas in the coming days, our intention with this article is to orient you with our lexicon that we use when working with SEMOSS.

Once you have started SEMOSS in any of the ways described, you can use any modern browser (chrome, firefox, edge) and point it to host:port. For the native platform install, the default host is 5355. For docker it is the port you specify. This presents you with the homepage along with the navigation bar on the left hand side.

Press enter or click to view image in full size
Homepage with 2 preloaded apps on SEMOSS

App Homepage

The homepage consists of folders called “apps”. App is a construct for organizing your data or analytics for a purpose. SEMOSS comes with one default app “Movies”. You can click into an app to access other details within the app. You can also customize the look and feel of the app including the icon that represents the app. Go ahead and click into the app. The next page you are seeing is the “app homepage”.

Depending on your setup, the login page may appear. Default is without the login page. See Security section on userguide for more details

Press enter or click to view image in full size

Insights Tab

The default view on the app home page is the insights tab. All of the small icons you are seeing on this page, are the “insights”. (Typically) Insight is a visualization of your data along with the transformations you applied to the data as a series of steps and the order. There are 3 flavors of insights in SEMOSS:

  • Single Insight
  • Multi Insight — Dashboards, Mashups, Reports
  • User Input Insight — Web Form that allows the user to update or create new data (more on this later)

When you click an insight, it replays the step you took to create this insight while using the current data. If you are working with a fast changing database, and you want to see updates every time you load an insight without the need to create custom extracts, this is useful.

Data Tab

The Data tab shows the structure of the data. You could think of it as the entity relationship diagram, however this is the logical data model (a.k.a. the metamodel and not the physical). SEMOSS utilizes semantic web at its core. This means that every type of database is exposed to SEMOSS through ontology (one or more). The ontology is expressed as an OWL file. You can click on various entities shown here to understand a sampling of how the data looks. Go ahead click on some of these nodes and see what values exist.

Collaboration Tab

This is used to version and share your database with others. You will need to sign into GitHub to perform this sharing through GitHub. Once you sign in, you can push your entire database into a new repository as well as synchronize your data.

Scheduler Tab

Often times it may be required for users to get a report every morning or every night or some pre-fixed time. The scheduler can be used to create these jobs that will run at the designated time to create these reports and mail them / post them in specific content management systems for consumption.

Settings Tab

Used to manage this app, the settings can be used for deleting / generating new images for any insight. On the bottom you can also see options to delete the app. Deleting the app will completely remove the app along with the data and all other insights.

Working with an insight

Go ahead and click on the insights which says “Total Revenue split by Genre”and looks like a pie chart. This will launch a new “sheet” and load the insight as a “panel”. Panel is a floatable component which loads the visualization and sheet is a way to organize the panels. Sheet is just a multi-insight. Depending on how your insight is composed, there can be one or more panels on the sheet.

Press enter or click to view image in full size
Opening Pie-Chart from App Home Page

While the visualization is loaded as a pie chart “widget”. Widgets are fully wrapped functionality or routine exposed within SEMOSS that gets executed when clicked.

Get SEMOSS Info’s stories in your inbox

Join Medium for free to get updates from this writer.

You can modify this visualization into something different by using the plethora of visualizations existing in SEMOSS. To do this, click on the menu on the right hand side (defaulted to panel tab). This will pop open a visualization palette with pie chart selected (your current visualization). Right below the types of visualizations, you see the dimensions available and selected for the specified visualization. (When your dimension to measure is one to many — i.e. many movies for a given genre and therefore many movie budgets for a given genre — SEMOSS will attempt to group / auto-summarize (default: average) the data based on the dimension. You can change the summarization type by clicking on the measure dropdown — see an example of this in the create your insight section.) To modify, simply click a different visualization and select alternate dimensions by dragging and dropping the dimension in the specified box. Change it to bar chart. When you do, it automatically assumes the same dimensions from pie chart which you can change. Go ahead try a few more charts. If you like a particular one, go ahead and save this panel by clicking the save icon and giving it a different name which saves “panel recipe”. Recipe is the list of steps you took to create this visualization. Yes, you can view it by clicking the console. The recipe includes not just the action you took, but also other actions that were taken to create this visualization in the first place i.e the visualization you clicked to start the process. You can access your saved insight either by using the search (on top bar) or by clicking the app homepage and clicking the insight you just created.

Press enter or click to view image in full size
Parts of an insight

You can also add ornaments like to your visualization, by clicking on the additional tools. The additional tools changes based on the type of chart selected. For instance if you are in a pie chart, you could change the color scheme, rose type pie chart, adjust number of things to show, etc.

Press enter or click to view image in full size
Applying Ornaments to Pie Charts

For a list of visualizations and the additional tools click here — semoss.org/userguide/#/PanelMenu/VisualizationTypes.

You are not limited to one panel, you can have many. To add more panels, you can either create a new insight (add new insight) or just clone this insight (clone). Just as the name says cloning creates 2 insights connected to the same data and therefore connected visualizations. For instance, filtering on one visualization will affect what is shown on the other. To clone the panel, click on the sitting next to the maximize and remove icon on the top bar of the panel. This creates 2 identical bar chart. To filter on one, simply brush into the chart by clicking anywhere in the chart area and dragging. This will (potentially) highlight a few of the bars, release to indicate these are the bars you are selecting. Both visualizations will update to this selection. To unfilter, simply click in an open chart area or brush into whitespace and you are back to where you were. Modify one of these visualizations to a pie chart, by clicking the pie chart from the visualization menu. Do the same brush action and see what happens. This is one way to create dashboards. Try to clone again and change the visualization to a grid. See the effect of brush, you can now see a master detail screen.

Press enter or click to view image in full size

Try the additional tools on the bar chart. You can see ornaments for trend-line, max-min, average, X-axis filter, and Y-axis filter.

Working with Sheet

Switching the menu from panel to the sheet tab allows controls for the panel organization on this sheet. You can organize the sheets in 2 ways, by either clicking the number of panels you want in the lower half or by clicking a ready-made template available. The only difference is the first one gives you equally sized panels and the template gives you (we think) aesthetically better organization. Clicking on the same template again will cycle the panels in different positions. If you like a particular template, go ahead and save this sheet. Unlike the panel, when you save the sheet, you are saving the organization of these panels in this specific format to be launched again. Note that as part of the sheet save, we also save the panels in their current state. If you did not save your panels, then the sheet will save along with the panels, this is useful so you don’t need to save the panels separately.

Creating a new insight

In working with the insight, the data was already pre-selected, and you were transforming the data to create new visualizations. Creating a new insight is then just allowing you to select data you want to work with and then creating visualizations from it. You can locate the new insight on the of the app home page towards the right. The output gives you options for selecting specific data. We will describe this more in our next article. For a simple app with a flat structure, the new insight will select all of your data and land you into the visualization palette with grid visualization selected — i.e. the same place where it landed when you clicked on a visualization.

Press enter or click to view image in full size
Creating a new insight from the Movie Database

Working with *your* data

To do this, click on the new insight on navigation. You will immediately notice a different UI. When you are in an app, the data you select is from that specific app so SEMOSS pre-selects your choices for you. Here, you can choose where to pull your data from. You could drag and drop a CSV / excel, specify how you would like SEMOSS to interpret your columns, and land in the visualization panel. You could also connect to an existing database from the list and use SQL to select what you want to visualize.

When you drag and drop the insight, SEMOSS requests confirmation on the type of columns, before importing and making it fully available for visual exploration.

Press enter or click to view image in full size
Creating an insight by dragging and dropping a CSV file

Conclusion

While we spoke about the visualization menu extensively, we did not talk about the analytics or the clean menu so far. If you are curious to find out what they are, please go ahead and try the clean menu and the analytics to see the various widgets and routines available. For clean and analytics, SEMOSS depends on a variety of external packages like R.

Feedback, Comments, Suggestions, Improvements? Please contact us at semoss.org. Try it out at play.semoss.org.

Why login?

There are 2 reasons why a login is required:

1. There are many users using SEMOSS, and we need some way to identify you so that the right databases can be shown. Between the choice of creating a login/password and forcing to remember yet another password, SEMOSS chooses to use a social login. Right now Google and Github are available. Twitter, Facebook, etc. are coming soon.

2. You are working with YOUR data wherever it is. It could be Google Drive, Dropbox, etc. This is an integrated login to allow you to keep your data safe.

What will you do with my login?

We will show you apps and insights that you have created and are author or editor of.

Can I use SEMOSS without logging in?

Absolutely. Download at www.semoss.org/download or docker run -p 80:8080 semoss/docker sh run.sh.

--

--