Apache Stanbol ©www.sti-innsbruck.at Copyright 2012 STI INNSBRUCK www.sti-innsbruck.at Overview • Features overview • Components – Stanbol Content Enhancer – Stanbol Entity Hub – Stanbol Content Hub – Stanbol Ontology • Technologies www.sti-innsbruck.at 2 Features • Apache Stanbol provides a set of reusable components for semantic content management. • Apache Stanbol's main features are: – Content Enhancement Services that add semantic information to “non-semantic” pieces of content. – Reasoning Services that are able to retrieve additional semantic information about the content based on the semantic information retrieved via content enhancement. – Knowledge Models Services that are used to define and manipulate the data models (e.g. ontologies) that are used to store the semantic information. – Persistence Services that store (or cache) semantic information, i.e. enhanced content, entities, facts, and make it searchable. www.sti-innsbruck.at 3 Components • • • • • • • Enhancer: Extracts Knowledge from parsed Content Entityhub: Manage Entities and Topics of Interest to your Domain Contenthub: Semantic Indexing / Search over your - semantic enhanced - Content CMS Adapter: Sync. your CMS with Apache Stanbol (JCR/CMIS) Ontology Manager: Manage you formal Domain Knowledge Reasoners & Rules: Apply Domain Knowledge to improve / validate extracted. Information. Refactor / refine knowledge to align it to public schemas such as schema.org www.sti-innsbruck.at 4 Stanbol Content Enhancer • Entity Tagging - replacing text based tags such as "Bob Marley" with entities - dbpedia:Bob_Marley - to improve content search and categorization. • Entity Disambiguation - enhance the entity tagging experience by explicit support for disambiguation between different suggested entities. This allows users to explicitly link to Paris (Texas), Bob Marley (Comedian) or in between any other entities that do share similar labels. • Entity Checker - interact with extracted entities similar as with todays spellchecker: Show extracted/suggested dirtily within the content; Allow users to interact with suggestions and to disambiguate between different matches if necessary; Support search for additional/other entities. www.sti-innsbruck.at 5 Stanbol Content Enhancer (II) www.sti-innsbruck.at 6 Stanbol Content Enhancer (III) • Support for domain specific vocabularies www.sti-innsbruck.at 7 Stanbol Content Enhancer (IV) • The following Languages are supported for Named Entity Recognition and can therefore be used for Named entity Linking: – – – – – • English (via NamedEntityTaggingEngine, OpenCalais) Spansh (via NamedEntityTaggingEngine, OpenCalais) Dutch ((via NamedEntityTaggingEngine) French (via CELI NER engine, OpenCalais) Italien (via CELI NER engine) For the following languages NLP support is available to improve results when using the Keyword Extraction Engine: – – – – – – – Danish Dutch English German Portuguese Spanish Swedish www.sti-innsbruck.at 8 Stanbol Content Enhancer (V) www.sti-innsbruck.at 9 Stanbol Entity Hub • Responsible for providing the information about Entities relevant to the users domain. The following figure tries to provide an overview about the features of the Entityhub. www.sti-innsbruck.at 10 Stanbol Content Hub • Add Semantic Search to your CMS – RESTful Faceted Search Interface – Related Keyword Search using Entityhub, Ontonet or Wordnet – Improve Search by Semantic Indexing • Use the Stanbol Contenthub for semantic indexing www.sti-innsbruck.at 11 Stanbol Ontology • Manage your Ontologies – and use/combine them in Scopes • Reasoning – on volatile Data loaded into a Sessions – consistency check / classification / enrichment – RDFS, OWL and OWL - 2 • Support for background Jobs – for long running reasoning tasks www.sti-innsbruck.at 12 Stanbol Ontology www.sti-innsbruck.at 13 Stanbol Ontology (Rules) • Stanbol Rules – Recipes: Manage a set of Rules that are executed together – Rules are converted to SWRL,Jena Rules or SPARQL CONSTRUCT depending on the available RuleEngine • Typical Use Cases – integrity checks for imported Data – harmonize Vocabularies e.g. simple SEO by using schema.org www.sti-innsbruck.at 14 Technologies • Functionalities are provided as RESTful services returning results as RDF (Resource Description Language) and JSON. – Apache Stanbol also supports the use of JSON-LD. • • • Apache Stanbol can be run as a standalone application (packaged as a runable JAR) or as an web application (packaged as a WAR file) deployable in servlet containers such as Apache Tomcat. Written in Java based on the OSGi as component framework. Implemented using frameworks such as – – – – – – Apache Solr - for semantic search; Apache Tika - for plain text and metadata extraction; Apache OpenNLP - for natural language processing; Apache Clerezza and Apache Jena - as RDF and storage frameworks; Apache Felix as OSGi framework and Apache Sling for deployment. www.sti-innsbruck.at 15 Technologies (II) • Stanbol Components provide – RESTful API – Java API and OSGI services • Stanbol Components do NOT depend on each other – however they can be easily combined www.sti-innsbruck.at 16 Live DEMO http://dev.iks-project.eu:8081 www.sti-innsbruck.at 17