Introduction to the IKS 7.0 Technology Stack

32
Co-funded by the European Union Semantic CMS Community IKS Introduction and Overview June 12, 2012 Fabian Christ s-lab Software Quality Lab University of Paderborn Twitter: fctwitt Community Workshop Salzburg, 2012

description

This slides give you an introduction to the IKS technology release 7.0. It covers Apache Stanbol and the VIEjs utility library. I gave this presentation at an IKS workshop in Salzburg in 2012.

Transcript of Introduction to the IKS 7.0 Technology Stack

Page 1: Introduction to the IKS 7.0 Technology Stack

Co-funded by the

European Union

Semantic CMS Community

IKS

Introduction

and

Overview

June 12, 2012

Fabian Christ s-lab – Software Quality Lab

University of Paderborn

Twitter: fctwitt

Community

Workshop

Salzburg, 2012

Page 2: Introduction to the IKS 7.0 Technology Stack

Page:

IKS Goal

A Reference Architecture

for Semantically Enabled

Content Management Systems

Copyright IKS Consortium

2

Page 3: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Copyright IKS Consortium

3

IKS Technology –

a Path to the Semantic Level

Traditional CMS

Semantic CMS

Page 4: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

vs. Traditional CMS

Atomic unit: Document

Properties as meta-data

e.g. author

tags, keywords

Keyword search for

strings in docs

Document Management

Document types

Document workflow

Semantic CMS

Atomic unit: Entity

Semantic meta-data

Defined entity types

Linked entities

Semantic search for

entities and their relations

Knowledge Management

Entity management

Ontologies

Copyright IKS Consortium

4

What is a Semantic CMS?

Page 5: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Do Not Replace – but Extend

No need to replace your existing technology.

IKS components offer service oriented integration.

Copyright IKS Consortium

5

Traditional

CMS

Database

IKS

Technology

Stack

Extend by Using Semantic Services

Page 6: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Rely on the Concepts of the Web

Integration through a RESTful web service API

Resources are identified by their URI

Copyright IKS Consortium

6

Traditional

CMS

Database

IKS

Technology

Stack

HTTP

Request

HTTP Response

Page 8: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Copyright IKS Consortium

8

Presentation &

Interaction

Knowledge

Representation

and Reasoning

Semantic Lifting

Persistence

User InterfaceK

no

wle

dg

e A

dm

inis

tratio

n

Knowledge

Repository

Knowledge

Models

Reasoning

Semantic User Interaction

Content

Data Model

Content

Repository

Knowledge

SCMS -

Semantic Content Management System

Co

nte

nt A

dm

inis

tratio

n

Knowledge

Extraction Pipelines

Content

Content

Management

Semantic User Interface

Content Access Knowledge Access

Page 9: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Copyright IKS Consortium

9

IKS

7.0

Kn

ow

led

ge

Ad

min

istra

tion

Knowledge Repository

Knowledge Models

Reasoning

Semantic User Interaction

Content

Repository

Knowledge

IKS

Reference Implementation

Knowledge Extraction Pipelines

Content

Semantic

User

Interface

Knowledge Access

Apache

Stanbol

Reasoners

IKS VIE

Widgets

IKS VIE

Apache

Stanbol

Enhancer

Apache

Stanbol Rules

Apache

Stanbol

Ontology Manager

Apache

Stanbol

ContentHub Apache

Stanbol

EntityHub Apache

Stanbol

FactStore

Stanbol

Enhancement

Engine

OS

GI

Co

ns

ole

Apache

Stanbol

CMS AdapterCMIS /

JCR

RDF

Ap

ac

he

Sta

nb

ol R

ES

Tfu

l AP

IApache

Clerezza

Page 10: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

VIE Quick Facts

VIE is a utility library for semantic maintenance in

JavaScript

Offers semantic web developers a DSL to ease

recurring tasks

Easy access to embedded semantic annotations in HTML

(RDFa)

Easy loading of properties for entities from external

services

Easy saving of knowledge about entities

Easy querying of semantic services

VIE Widgets are web user interface components based

on VIE.

Copyright IKS Consortium

10

Page 11: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Apache Stanbol Quick Facts

Modular (OSGi) components implemented in Java

Semantic Lifting

Enhance content

Link to Linked Open Data (LOD) sources

Store and index enhanced content for search

Knowledge Representation & Reasoning

Manage ontologies

Apply rules to ontologies

Reasoning over managed ontologies

Copyright IKS Consortium

11

Page 12: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Apache Stanbol Service Layer

Apache Stanbol

Component Layer

Apache

Stanbol

Reasoners

Apache

Stanbol

Enhancer

Apache

Stanbol Rules

Apache

Stanbol

Ontology Manager

Apache

Stanbol

ContentHub

Apache

Stanbol

EntityHub

Apache

Stanbol

FactStoreStanbol

Enhancement

Engines

VIE - User Interface LayerVIE

VIE

Widgets

Apache

Stanbol

CMS Adapter

Copyright IKS Consortium

12

Service-Oriented View

Semantic Lifting Knowledge Representation & Reasoning

Page 13: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Apache Stanbol Service Layer

Apache Stanbol

Component Layer

Apache

Stanbol

Reasoners

Apache

Stanbol

Enhancer

Apache

Stanbol Rules

Apache

Stanbol

Ontology Manager

Apache

Stanbol

ContentHub

Apache

Stanbol

EntityHub

Apache

Stanbol

FactStoreStanbol

Enhancement

Engines

VIE - User Interface LayerVIE

VIE

Widgets

Apache

Stanbol

CMS Adapter

Copyright IKS Consortium

13

Enhancer & Enhancement Engines

Semantic Lifting Knowledge Representation & Reasoning

Page 14: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Enhancer & Engines

Features

Semantic lifting by automatically extracting entities from

textual content

Different enhancement engines for specific tasks

Engines are arranged in customizable enhancement

chains where one engine may rely on the output of

another engine

Examples

Language Identification Engine

Named Entity Extraction Engine

Geonames Engine to annotate places with additional

information from geonames.org

Copyright IKS Consortium

14

Page 15: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Apache Stanbol Service Layer

Apache Stanbol

Component Layer

Apache

Stanbol

Reasoners

Apache

Stanbol

Enhancer

Apache

Stanbol Rules

Apache

Stanbol

Ontology Manager

Apache

Stanbol

ContentHub

Apache

Stanbol

EntityHub

Apache

Stanbol

FactStoreStanbol

Enhancement

Engines

VIE - User Interface LayerVIE

VIE

Widgets

Apache

Stanbol

CMS Adapter

Copyright IKS Consortium

15

Entity Hub

Semantic Lifting Knowledge Representation & Reasoning

Page 16: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Entityhub

Features

Manage a network of remote sites for fast entity lookup

Caching of externally retrieved entity information

CRUD management of local entities

Examples

Use DBPedia linked open data source to retrieve

additional information for entities

Use a customized vocabulary for local entities

Copyright IKS Consortium

16

Page 17: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Apache Stanbol Service Layer

Apache Stanbol

Component Layer

Apache

Stanbol

Reasoners

Apache

Stanbol

Enhancer

Apache

Stanbol Rules

Apache

Stanbol

Ontology Manager

Apache

Stanbol

ContentHub

Apache

Stanbol

EntityHub

Apache

Stanbol

FactStoreStanbol

Enhancement

Engines

VIE - User Interface LayerVIE

VIE

Widgets

Apache

Stanbol

CMS Adapter

Copyright IKS Consortium

17

Content Hub

Semantic Lifting Knowledge Representation & Reasoning

Page 18: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Contenthub

Features

Document repository by indexing retrieved documents

Supports indexing of additional semantic metadata

provided along the content

Search facilities

Keyword Search

Faceted Search based on available semantic metadata

Copyright IKS Consortium

18

Page 19: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Apache Stanbol Service Layer

Apache Stanbol

Component Layer

Apache

Stanbol

Reasoners

Apache

Stanbol

Enhancer

Apache

Stanbol Rules

Apache

Stanbol

Ontology Manager

Apache

Stanbol

ContentHub

Apache

Stanbol

EntityHub

Apache

Stanbol

FactStoreStanbol

Enhancement

Engines

VIE - User Interface LayerVIE

VIE

Widgets

Apache

Stanbol

CMS Adapter

Copyright IKS Consortium

19

CMS Adapter

Semantic Lifting Knowledge Representation & Reasoning

Page 20: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

CMS Adapter

Features

Bootstrapping component to import content from a CMS

into Apache Stanbol

Import content from a CMIS/JCR compliant CMS into

the Apache Stanbol Contenthub

Copyright IKS Consortium

20

Page 21: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Apache Stanbol Service Layer

Apache Stanbol

Component Layer

Apache

Stanbol

Reasoners

Apache

Stanbol

Enhancer

Apache

Stanbol Rules

Apache

Stanbol

Ontology Manager

Apache

Stanbol

ContentHub

Apache

Stanbol

EntityHub

Apache

Stanbol

FactStoreStanbol

Enhancement

Engines

VIE - User Interface LayerVIE

VIE

Widgets

Apache

Stanbol

CMS Adapter

Copyright IKS Consortium

21

Fact Store

Semantic Lifting Knowledge Representation & Reasoning

Page 22: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Fact Store

Features

Simple storage for relations between entities, i.e. facts

Definition of custom semantic relations, i.e. fact

schemata

Not limited to triples – support for N-ary relations

Simple query language for facts, no SPARQL

Copyright IKS Consortium

22

Page 23: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Apache Stanbol Service Layer

Apache Stanbol

Component Layer

Apache

Stanbol

Reasoners

Apache

Stanbol

Enhancer

Apache

Stanbol Rules

Apache

Stanbol

Ontology Manager

Apache

Stanbol

ContentHub

Apache

Stanbol

EntityHub

Apache

Stanbol

FactStoreStanbol

Enhancement

Engines

VIE - User Interface LayerVIE

VIE

Widgets

Apache

Stanbol

CMS Adapter

Copyright IKS Consortium

23

Ontology Manager

Semantic Lifting Knowledge Representation & Reasoning

Page 24: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Ontology Manager

Features

Controlled environment for managing ontologies

Manage ontology networks to activate/deactivate parts

of complex ontologies

Manage user sessions for ontologies allowing local user

changes

Copyright IKS Consortium

24

Page 25: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Apache Stanbol Service Layer

Apache Stanbol

Component Layer

Apache

Stanbol

Reasoners

Apache

Stanbol

Enhancer

Apache

Stanbol Rules

Apache

Stanbol

Ontology Manager

Apache

Stanbol

ContentHub

Apache

Stanbol

EntityHub

Apache

Stanbol

FactStoreStanbol

Enhancement

Engines

VIE - User Interface LayerVIE

VIE

Widgets

Apache

Stanbol

CMS Adapter

Copyright IKS Consortium

25

Rules

Semantic Lifting Knowledge Representation & Reasoning

Page 26: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Rules

Features

Construction and execution of inference rules

Inference rules, also called transformation rules, take

premises and return conclusions

Rules can be organized in recipes which allow to

execute a set of rules as a whole

Example

Define rules for doing integrity checks on data fetched

from heterogeneous external data sources

Copyright IKS Consortium

26

Page 27: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Apache Stanbol Service Layer

Apache Stanbol

Component Layer

Apache

Stanbol

Reasoners

Apache

Stanbol

Enhancer

Apache

Stanbol Rules

Apache

Stanbol

Ontology Manager

Apache

Stanbol

ContentHub

Apache

Stanbol

EntityHub

Apache

Stanbol

FactStoreStanbol

Enhancement

Engines

VIE - User Interface LayerVIE

VIE

Widgets

Apache

Stanbol

CMS Adapter

Copyright IKS Consortium

27

Reasoners

Semantic Lifting Knowledge Representation & Reasoning

Page 28: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Reasoners

Features

Common API for existing (open source) reasoning

services

Supports different reasoners and configuration in

parallel

Supported third-party reasoners

Jena RDFS

OWL

OWLMini

HermiT

Copyright IKS Consortium

28

Page 29: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Apache Stanbol Service Layer

Apache Stanbol

Component Layer

Apache

Stanbol

Reasoners

Apache

Stanbol

Enhancer

Apache

Stanbol Rules

Apache

Stanbol

Ontology Manager

Apache

Stanbol

ContentHub

Apache

Stanbol

EntityHub

Apache

Stanbol

FactStoreStanbol

Enhancement

Engines

VIE - User Interface LayerVIE

VIE

Widgets

Apache

Stanbol

CMS Adapter

29

VIE & VIE Widgets

Copyright IKS Consortium Semantic Lifting Knowledge Representation & Reasoning

Page 30: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

VIE & VIE Widgets

Features

VIE is a JavaScript library for implementing decoupled

CMS and semantic interaction in web applications

VIE provides easy access to the semantic metadata

(RDFa) within a web page

VIE Widgets are user interface components that

implement semantic user interactions

Examples

Semantic image search

Automatic tagging of entities

Semi-automatic content annotation

Copyright IKS Consortium

30

Page 31: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

License

IKS software is licensed under business-friendly open

source software licenses.

IKS software can be freely used / changed / distributed

in your products.

For the rare cases where artifacts use a less permissive

license, you will find a notice.

e.g. we use models for natural language processing from

the Apache OpenNLP project whose licenses are not

clarified, yet.

Copyright IKS Consortium

31

Page 32: Introduction to the IKS 7.0 Technology Stack

www.iks-project.eu

Page:

Get in Contact

VIE

Homepage

http://viejs.org

Google User Group

https://groups.google.com/forum/#!forum/viejs

Apache Stanbol

Homepage

http://incubator.apache.org/stanbol

Mailinglist subscription

[email protected]

Copyright IKS Consortium

32