Creating ontology Hands on! universAAL Training Day Barcelona, Spain 16 January 2014

Slides:



Advertisements
Similar presentations
Ando-it-yourself droid Praveen Kumar Pendyala. Outline Brief intro to the Droid developement Setting up the Life saviors - Development tools Hello Droid.
Advertisements

August 2012 This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit
Presentation Heading – font Arial
Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
A digital commerce consultancy san francisco ~ new york ~ london ~ chişinău ~ guadalajara Apache Cayenne Object Relational Mapping.
Using the Class Dependency Analyzer for OODT By Joshua Garcia.
1 Mobile Computing Mobile First (formerly Worklight) Copyright 2015 by Janson Industries.
11-Jun-15 Getting Ready for CIT Registering and labs If you are not yet registered (and want to be), be sure I have your name and student ID We.
Lab 0 Objectives Input a basic Java Program Learn the basics of VisualAge.
13-Jul-15 Getting Ready for Java. 2 What You Need 256 MB of RAM (512 MB or more recommended) 500 MHz Pentium or better Macintosh: must run Mac OS X, preferably.
15-Jul-15 Starting Eclipse Just the basics. Getting Eclipse If you Google for “Eclipse”: The first hit is the home page, The second.
Open source administration software for education research administration Lin-Long Shyu System Analyst Kuali Coeus Technical Team Indiana University
JSP and Servlets Lecture notes by Theodoros Anagnostopoulos.
Chapter 3 Navigating a Project Goals & Objectives 1.Get familiar with the navigation of the project. How is everything structured? What settings can you.
Setting up the OpenHIM. Components Core - Mediators – e.g. OpenEMPI adapter
IPT2 user interface customization and locale translation Alan Yang, Kun Chi Lai, Jim Hsu Biodiversity Research Center, Academia Sinica.
PARSING FACEBOOK DATA FOR ANDROID 1. Step by Step  Import Android SDK  Get the hash key  Create a new app  Create a new project in Eclipse 
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
CS Tutorial 1 Getting Started with Visual Studio 2012 (Visual Studio 2010 are no longer available on MSDNAA, please choose Visual Studio 2012 which.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Ontology Engineering and Plugin Development with the NeOn Toolkit Plug-in Development for the NeOn Toolkit June 1st, 2008 Michael Erdmann, Peter Haase,
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Development Setup.
DEVS M&S Tutorial with eclipse IDE Chungman Seo
Refactoring and Synchronization with the StarTeam Plug-in for Eclipse  Jim Wogulis  Principal Architect, Borland Software Corporation.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
First Venture into the Android World Chapter 1 Part 2.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Page 1 | | ©2009 Installation of Selenium IDE and RC Amit Maheshwari 20 th Sep’10.
How to Install Eclipse Click hereClick here to download Eclipse.
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
Maven for building Java applications By Nalin De Zoysa
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
Required Tools Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
© I-Logix Rhapsody C++ V /01/2004E1-1 “Essential” Tool Training Basic Rhapsody Basic Rhapsody Rhapsody in C++ V /01/04.
Building the CarryDrop simulation in Eclipse Creating a new project with existing code from John Murphy’s RePast tutorial.
® IBM Software Group © 2006 IBM Corporation Rational Asset Manager v7.2 Using Scripting Tutorial for using command line and scripting using Ant Tasks Carlos.
Installing RandoNode Starter Kit OPEN Development Conference September 17, 2008 Kasi Perumal Consultant.
Time to apply stuff… Faculty of Mathematics and Physics Charles University in Prague 5 th October 2015 Workshop 1 – Java Wrestling.
------TAO, MARKUS Project IT. JavaDoc ‣ JavaDoc is a standard method of commenting source code (interfaces, classes, methods, instances variables). ‣
How to install JavaCV in Eclipse. Make sure to download and install all these before you proceed Eclipse for Java EE developers (current is Juno)
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
Template Package  Presented by G.Nagaraju.  What is Template Package?  Why we use Template Package?  Where we use Template Package?  How we create.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
Required Tools Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission from.
Platform & Maven2 David Šimonek. Certified Engineer Course Agenda What is Maven? Why Maven? NB IDE & Maven NB Platform & Maven.
Day 1 Session 2. Setup & Installation
Introduction to Android Programming
Labs: Create, deploy and test a simple web service
Introducing IBM Rational Software Architect
CLOUD
Rob Cramer – BPM Practice Manager
Java Game Engine Setting It Up.
Eclipse Navigation & Usage.
Maven IIB9 Plug-in Version 9.0
Setting up Eclipse Locally
JavaTeaching and Importing a github repository
Maven IIB9 Plug-in Version 9.0
The Most Popular Android UI Automation Testing Tool Andrii Voitenko
Getting Ready for Java version Apr-19.
Working with Libraries
Advanced Programming TA Session 3
ECE 3567 Microcontrollers Lab
Presentation transcript:

Creating ontology Hands on! universAAL Training Day Barcelona, Spain 16 January 2014

Agenda universAAL Training – Creating ontology hands on!

Agenda  This is going to be a practical session…  …you will create a simple ontology that different applications can use for exchanging their data universAAL Training – Creating ontology hands on!

Agenda Getting Ready universAAL Training – Creating ontology hands on!

Getting Ready  Assumption: all of you have successfully installed…  Eclipse Modeling Tools Indigo 3.7  Java 6 JDK (the JRE is not sufficient)  The universAAL tools (“AAL Studio”)  …or have you? universAAL Training – Creating ontology hands on!

Getting Ready  We have provided you with a ZIP-file named Training_Context  Unzip the file to somewhere and then copy the folder Training_Context into your universAAL folder (which should result in the folder c:\universAAL\Training_Context)  Start Eclipse and select this folder as your new workspace folder  Note: this is so later we have everything in same workspace universAAL Training – Creating ontology hands on!

Workspace inspection!  Select: File->Switch Workspace->Other.. universAAL Training – Creating ontology hands on! Source:

Troubleshooting... o Error: "No AALSpace default configuration found on the path: configurations/etc/„  Solution Go to: Training_Context\rundir\configurations\services Open „mw.managers.aalspace.core.properties” Set absolute path for – aalSpaceConfigurationPath=configurations/etc – aalSpaceSchemaURL=configurations/etc E.g.: – aalSpaceConfigurationPath=C:/universAAL/Training_Context/rundir/configurations/etc – aalSpaceSchemaURL=C:/universAAL/Training_Context/rundir/configurations/etc universAAL Training – Hands on!

Agenda Hands on! Creating Lighting ontology universAAL Training – Creating ontology hands on!

Hands on!  AAL Studio -> Create a new Ontology Project universAAL Training – Creating ontology hands on!

Hands on!  Ontology name:  LightingTrainingOntology  Maven version:  universAAL Training – Creating ontology hands on!

Hands on!  Uncheck: „Use derived values”  Project name:  ont.lighting.training  Maven name (same):  ont.lighting.training universAAL Training – Creating ontology hands on!

Hands on!  Ontology name:  LightingTrainingOntology  Uncheck: „Use derived values”  Project name:  ont.lighting.training  Maven name (same as):  ont.lighting.training  Maven version:  universAAL Training – Creating ontology hands on!

Hands on!  Import most common ontologies (as maven dependencies)  Select „Finish” universAAL Training – Creating ontology hands on!

Hands on!  ont.lighting.training project is created  Open pom.xml.. universAAL Training – Creating ontology hands on!

Hands on!  View pom.xml as xml universAAL Training – Creating ontology hands on!

Hands on!  Maven artefact info: (unique description of our ontology artefact)  group id  artifact id  version universAAL Training – Creating ontology hands on!

Hands on!  Open LightingTrainingOntology.di universAAL Training – Creating ontology hands on!

Hands on! universAAL Training – Creating ontology hands on!

Hands on!  Delete Device and MyDevice (will not neeed it in our ontology)  Right click -> Delete Selected Element  Note: pressing Delete only hides the object in this (Papyrus) view universAAL Training – Creating ontology hands on!

Hands on!  Rename:  MyConcept->LightSource  MyService->Lighting  Add datatypeProperty to LightSource universAAL Training – Creating ontology hands on!

Hands on!  Right click datatypeProperty and Show Properties View universAAL Training – Creating ontology hands on!

Hands on!  Right click datatypeProperty and Show Properties View  Name: brightness  Type: Integer universAAL Training – Creating ontology hands on!

Hands on!  LightingTrainingOntology-> Package import org.universaal.ontology.phThing-> Package import org.universaal.ontology.datatypes-> Integer universAAL Training – Creating ontology hands on!

Hands on!  Name: brightness  Type: Integer universAAL Training – Creating ontology hands on!

Hands on!  Association: From A) Lighting to B) LightSource Note: 1st click Association then Lighting then LightSource universAAL Training – Creating ontology hands on!

Hands on! universAAL Training – Creating ontology hands on!  Result

 Important: Save changes!! universAAL Training – Creating ontology hands on!

Hands on!  Right click LightingTrainingOntology.uml  AAL Studio-> Transform UML ontology to Java universAAL Training – Creating ontology hands on!

Hands on!  Mw compliance universAAL Training – Creating ontology hands on!

Hands on!  Java code now generated (no need for any modification) universAAL Training – Creating ontology hands on!

Hands on! universAAL Training – Creating ontology hands on!  Build universAAL application  (alternative: Run As -> Maven install)

Hands on! universAAL Training – Creating ontology hands on!  Result

Hands on! universAAL Training – Creating ontology hands on!  Our (ontology) artefact is now built and installed into our local maven repository

Thanks! universAAL Training – Creating ontology hands on!