SlideShare a Scribd company logo
1 of 8
Download to read offline
1
STI INNSBRUCK
TOURISMUSVERBAND CONTENT
ONTOLOGY MAPPINGS
IMPLEMENTATION
Zaenal Akbar, Christoph Fuchs, Serge Tymaniuk, Ioan Toma
STI Innsbruck, University of Innsbruck,
Technikerstraße 21a, 6020 Innsbruck, Austria
firstname.lastname@sti2.at
2014-03-25
Semantic Technology Institute Innsbruck
STI INNSBTRUCK
Technikerstraße 21a
A – 6020 Innsbruck
Austria
http://www.sti-innsbruck.
1
Contents
1. Introduction...............................................................................................................................................2
2. Object Model ............................................................................................................................................2
3. Implementation .........................................................................................................................................6
4. Discussion.................................................................................................................................................7
2
1. Introduction
This document presents the implementation of the content and ontology mapping for
Tourismusverband (TVb) Innsbruck. The outputs of this implementation are machine
processable objects of all concepts in the content.
The main functions of the object models are:
1) As fact models to drive the rules. A Rule Based System contains Facts and Rules, where
the rules are constructed based on the facts by an expert. Typically, an integrated user
interface is used for rule creation (i.e. Guvnor1
) to avoid any mistakes. In the case of
Guvnor, the fact models can be defined through the declarative model of Guvnor itself or
upload a Java archive in the format of Plain Old Java Object2
. The Guvnor will handle the
fact models as assets for rule creation.
2) As fact models to define the application’s knowledge. In case of Drools3
, the knowledge
base can be modified by inserting, updating and retrieving facts to or from its working
memory.
3) As internal data representation for the Weaver. The Weaver requires an internal data model
to represent the incoming inputs (i.e. annotated HTML sources), to perform some internal
processing (i.e. content transformation) before deliver it to the selected output channels.
This implementation is based on the activity previously conducted to mapping the content to
ontology. The Schema.org4
has been chosen as the primary vocabulary for the mapping,
therefore the object models will use it as much as possible.
2. Object Model
In this section, the dependency relationships among the main objects will be explained first and
continued with the super and sub-objects relationships.
There are 10 main objects:
1. Hotel
2. FoodAndDrinkEstablishments
3. Event
4. TravelAction
5. PlaceOfInterest
6. BlogPosting
7. Offer
1
See: http://www.jboss.org/drools/drools-guvnor.html
2
See: http://docs.jboss.org/drools/release/5.2.0.Final/drools-guvnor-docs/html/ch05.html
3
See: https://www.jboss.org/drools/
4
See: http://schema.org
3
8. Place
9. PostalAddress
10. Country
The names for all main objects are borrowed from the Schema.org except
FoodAndDrinkEstablishments and PlaceOfInterests. Those new objects are introduced as super
objects for various kinds of items in both categories. The relationships among those objects are
shown at Figure 1.
Figure 1 Dependency relationships among main objects
As shown at Figure 1, all objects have relation to other objects except for the BlogPosting. Event
and TravelAction are related to Place through property location. Hotels, Place, PlaceOfInterests,
and FoodAndDrinkEstablishments are related to object PostalAddress through property address.
4
PostalAddress is relating to Country through property addressCountry and the
FoodAndDrinkEstablishments has second relation to object Offer through property makesOffer.
It is worthy to mention that there are two types of objects to represent a place, by Address (as
shown in Hotel to PostalAddress relationship) or by Location (as shown in Event to Place
relationship). The Location is representing a more broad concept of place (an object Location
can be named) while the Address/PostalAddress object is representing a more specific/detail
place.
FoodAndDrinkEstablishments is a super object contains various sub-objects in the category of
Food and Drink Establishments. From previous analysis, we have identified several sub-objects:
Bakery, Bar, Pub, Cafe, FastFoodRestaurant, IceCreamShop, Restaurant, and Winery, which are
represented in the object models as shown at Figure 2.
Figure 2 Food and Drink Establishments sub-objects relationships
At shown at Figure 2, there are seven sub-objects that are using Schema.org vocabularies. Those
sub-objects will inherit all properties from their super object (FoodAndDrinkEstablishments)
including the dependencies to the object Offer and PostalAddress.
5
PlaceOfInterests is super object for interesting places for tourists. Various sub-objects have been
identified as shown at figure 3.
Figure 3 Place of Interests sub-objects relationships
As shown at Figure 3, the sub-objects (presented using the Schema.org vocabularies) are
EventVenue, PlaceOfWorship, Park, PerformingArtsTheater, AmusementPark,
StadiumOrArena, Museum, MovieTheater, AdultEntertainment, NightClub, MusicVenue,
ArtGallery, Casino, Zoo, Mountain. Each sub object will inherits the properties of the
PlaceOfInterests including the relation to object PostalAddress.
6
3. Implementation
In this section, we will explain current implementation including the technologies used and problems
encountered. A possible solution is presented in the next section.
Figure 4 Mapping implementation
Figure 4 shows the current implementation. An RDF Extractor consumes the incoming HTML inputs
(annotated with Schema.org) and produces triples, which are stored in a triple store. Based on the stored
triples, relevant objects are instantiated. These objects are used by the rule editor (Guvnor), the rule
execution engine (Drools) as well as the Weaver.
The RDF Extractor can be implemented with various existing libraries (i.e. Apache Any235
) easily.
However, object instantiation turned out to be problematic. There are challenges due to the properties of
the RDF itself, mainly because:
1. Complex associations which span across multiple blank nodes are hard to resolve
2. A tree-like structure of concepts and sub-concepts is equally hard to instantiate
To overcome those problems, in this initial implemention we are using several assumptions:
1. Complex properties that are associated with other objects are ignored
2. The object structure is flat
We are currently looking into a solution to solve the problem using an existing framework called
RDFBeans6
, which is providing a mechanism for mapping an object-oriented domain model to RDF
resource descriptions.
If this solution turns out to solve our problems completely, the assumptions we currently make are
nullified. The instantiated objects would represent the RDF graph in its entirety.
5
Apache Any23, https://any23.apache.org
6
RDFBeans Framework, http://rdfbeans.sourceforge.net
7
4. Discussion
There are several points we would like to point out for discussion:
1) As stated in the beginning of this document, we would like to use Schema.org vocabularies
as much as possible. It is clear that this implementation has adopted a few parts of
Schema.org but dismissed their original structures. For example, in Schema.org, the Hotel
is structured as Thing.Organization.LocalBusiness.LodgingBusiness.Hotel. In this
implementation, those structures have been dismissed for simplicity reason. We believe
that in TVb Innsbruck case, keeping the original structures will not contribute to the
dissemination process. More than that, since this implementation is using the same
vocabularies, we can track back to their original structures easily.
2) A new idea has emerged to solve the encountered problems in this implementation. The
idea is to use an RDF reasoner instead of a rule engine. In this case, the reasoning will take
place in the internal triple store, making the instantiation of objects obsolete.

More Related Content

Similar to T vb mapping_implementation_25032014

Feratel schema.org mapping_20052014
Feratel schema.org mapping_20052014Feratel schema.org mapping_20052014
Feratel schema.org mapping_20052014STIinnsbruck
 
Feratel annotation 10122014
Feratel annotation 10122014Feratel annotation 10122014
Feratel annotation 10122014STIinnsbruck
 
Feratel plugin 19052014
Feratel plugin 19052014Feratel plugin 19052014
Feratel plugin 19052014STIinnsbruck
 
Feratel mapping technical_notes
Feratel mapping technical_notesFeratel mapping technical_notes
Feratel mapping technical_notesSTIinnsbruck
 
Linked Data and Locah, UKSG2011
Linked Data and Locah, UKSG2011 Linked Data and Locah, UKSG2011
Linked Data and Locah, UKSG2011 Jane Stevenson
 
Language-Based Actions for Self-Driving Robot
 	  Language-Based Actions for Self-Driving Robot 	  Language-Based Actions for Self-Driving Robot
Language-Based Actions for Self-Driving RobotIRJET Journal
 
Inverting Dependencies
Inverting DependenciesInverting Dependencies
Inverting DependenciesLuc Trudeau
 
T vb alignment_022814_0
T vb alignment_022814_0T vb alignment_022814_0
T vb alignment_022814_0STIinnsbruck
 
Getting Started with React, When You’re an Angular Developer
Getting Started with React, When You’re an Angular DeveloperGetting Started with React, When You’re an Angular Developer
Getting Started with React, When You’re an Angular DeveloperFabrit Global
 
Why using finalizers is a bad idea
Why using finalizers is a bad ideaWhy using finalizers is a bad idea
Why using finalizers is a bad ideaPVS-Studio
 
Untangling spring week7
Untangling spring week7Untangling spring week7
Untangling spring week7Derek Jacoby
 
xkcd viewer report
xkcd viewer reportxkcd viewer report
xkcd viewer reportZx MYS
 
T vb publication_rules_11032014
T vb publication_rules_11032014T vb publication_rules_11032014
T vb publication_rules_11032014STIinnsbruck
 
Workshop Ontology Modelling 2011, Session 3 - Ontologies in architecture, eng...
Workshop Ontology Modelling 2011, Session 3 - Ontologies in architecture, eng...Workshop Ontology Modelling 2011, Session 3 - Ontologies in architecture, eng...
Workshop Ontology Modelling 2011, Session 3 - Ontologies in architecture, eng...Pieter Pauwels
 
LoCloud - D3.3: Metadata Enrichment services
LoCloud - D3.3: Metadata Enrichment servicesLoCloud - D3.3: Metadata Enrichment services
LoCloud - D3.3: Metadata Enrichment serviceslocloud
 
1 EECS 42005200 Term Project (10)
1                EECS 42005200 Term Project (10)    1                EECS 42005200 Term Project (10)
1 EECS 42005200 Term Project (10) SilvaGraf83
 

Similar to T vb mapping_implementation_25032014 (20)

Feratel schema.org mapping_20052014
Feratel schema.org mapping_20052014Feratel schema.org mapping_20052014
Feratel schema.org mapping_20052014
 
Feratel annotation 10122014
Feratel annotation 10122014Feratel annotation 10122014
Feratel annotation 10122014
 
Feratel plugin 19052014
Feratel plugin 19052014Feratel plugin 19052014
Feratel plugin 19052014
 
Feratel mapping technical_notes
Feratel mapping technical_notesFeratel mapping technical_notes
Feratel mapping technical_notes
 
2 oop
2 oop2 oop
2 oop
 
Linked Data and Locah, UKSG2011
Linked Data and Locah, UKSG2011 Linked Data and Locah, UKSG2011
Linked Data and Locah, UKSG2011
 
Language-Based Actions for Self-Driving Robot
 	  Language-Based Actions for Self-Driving Robot 	  Language-Based Actions for Self-Driving Robot
Language-Based Actions for Self-Driving Robot
 
Rss Join Engine
Rss Join EngineRss Join Engine
Rss Join Engine
 
Inverting Dependencies
Inverting DependenciesInverting Dependencies
Inverting Dependencies
 
T vb alignment_022814_0
T vb alignment_022814_0T vb alignment_022814_0
T vb alignment_022814_0
 
Getting Started with React, When You’re an Angular Developer
Getting Started with React, When You’re an Angular DeveloperGetting Started with React, When You’re an Angular Developer
Getting Started with React, When You’re an Angular Developer
 
Why using finalizers is a bad idea
Why using finalizers is a bad ideaWhy using finalizers is a bad idea
Why using finalizers is a bad idea
 
React & Flux Workshop
React & Flux WorkshopReact & Flux Workshop
React & Flux Workshop
 
Euclideus_Language
Euclideus_LanguageEuclideus_Language
Euclideus_Language
 
Untangling spring week7
Untangling spring week7Untangling spring week7
Untangling spring week7
 
xkcd viewer report
xkcd viewer reportxkcd viewer report
xkcd viewer report
 
T vb publication_rules_11032014
T vb publication_rules_11032014T vb publication_rules_11032014
T vb publication_rules_11032014
 
Workshop Ontology Modelling 2011, Session 3 - Ontologies in architecture, eng...
Workshop Ontology Modelling 2011, Session 3 - Ontologies in architecture, eng...Workshop Ontology Modelling 2011, Session 3 - Ontologies in architecture, eng...
Workshop Ontology Modelling 2011, Session 3 - Ontologies in architecture, eng...
 
LoCloud - D3.3: Metadata Enrichment services
LoCloud - D3.3: Metadata Enrichment servicesLoCloud - D3.3: Metadata Enrichment services
LoCloud - D3.3: Metadata Enrichment services
 
1 EECS 42005200 Term Project (10)
1                EECS 42005200 Term Project (10)    1                EECS 42005200 Term Project (10)
1 EECS 42005200 Term Project (10)
 

More from STIinnsbruck (20)

Ttr 20130701
Ttr 20130701Ttr 20130701
Ttr 20130701
 
Ttg mapping to_schema.org_
Ttg mapping to_schema.org_Ttg mapping to_schema.org_
Ttg mapping to_schema.org_
 
Trust you
Trust youTrust you
Trust you
 
Tripwolf
TripwolfTripwolf
Tripwolf
 
Tripbirds
TripbirdsTripbirds
Tripbirds
 
Traveltainment
TraveltainmentTraveltainment
Traveltainment
 
Travelaudience
TravelaudienceTravelaudience
Travelaudience
 
Tourismuszukunft
TourismuszukunftTourismuszukunft
Tourismuszukunft
 
Tourismusverband innsbruck 24.09.2013
Tourismusverband innsbruck 24.09.2013Tourismusverband innsbruck 24.09.2013
Tourismusverband innsbruck 24.09.2013
 
Tourism link
Tourism linkTourism link
Tourism link
 
Tourcomm germany.com
Tourcomm germany.com Tourcomm germany.com
Tourcomm germany.com
 
Tor
TorTor
Tor
 
Toocan
ToocanToocan
Toocan
 
Tomnod
TomnodTomnod
Tomnod
 
Tnooz
TnoozTnooz
Tnooz
 
Titi
TitiTiti
Titi
 
Tirol vorreiter e tourismus
Tirol vorreiter e tourismusTirol vorreiter e tourismus
Tirol vorreiter e tourismus
 
Think social media
Think social mediaThink social media
Think social media
 
Tattlerapp2
Tattlerapp2Tattlerapp2
Tattlerapp2
 
Talent
TalentTalent
Talent
 

Recently uploaded

James Joyce, Dubliners and Ulysses.ppt !
James Joyce, Dubliners and Ulysses.ppt !James Joyce, Dubliners and Ulysses.ppt !
James Joyce, Dubliners and Ulysses.ppt !risocarla2016
 
Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Escort Service
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSebastiano Panichella
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringSebastiano Panichella
 
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.KathleenAnnCordero2
 
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Krijn Poppe
 
Event 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxEvent 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxaryanv1753
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxmavinoikein
 
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.comSaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.comsaastr
 
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxGenesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxFamilyWorshipCenterD
 
Dutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular PlasticsDutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular PlasticsDutch Power
 
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...漢銘 謝
 
Anne Frank A Beacon of Hope amidst darkness ppt.pptx
Anne Frank A Beacon of Hope amidst darkness ppt.pptxAnne Frank A Beacon of Hope amidst darkness ppt.pptx
Anne Frank A Beacon of Hope amidst darkness ppt.pptxnoorehahmad
 
The Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationThe Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationNathan Young
 
Genshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxGenshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxJohnree4
 
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...marjmae69
 
PHYSICS PROJECT BY MSC - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC  - NANOTECHNOLOGYPHYSICS PROJECT BY MSC  - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC - NANOTECHNOLOGYpruthirajnayak525
 
Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸mathanramanathan2005
 
miladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptxmiladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptxCarrieButtitta
 

Recently uploaded (20)

James Joyce, Dubliners and Ulysses.ppt !
James Joyce, Dubliners and Ulysses.ppt !James Joyce, Dubliners and Ulysses.ppt !
James Joyce, Dubliners and Ulysses.ppt !
 
Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170Call Girls In Aerocity 🤳 Call Us +919599264170
Call Girls In Aerocity 🤳 Call Us +919599264170
 
SBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation TrackSBFT Tool Competition 2024 -- Python Test Case Generation Track
SBFT Tool Competition 2024 -- Python Test Case Generation Track
 
The 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software EngineeringThe 3rd Intl. Workshop on NL-based Software Engineering
The 3rd Intl. Workshop on NL-based Software Engineering
 
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
PAG-UNLAD NG EKONOMIYA na dapat isaalang alang sa pag-aaral.
 
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Rohini Delhi 💯Call Us 🔝8264348440🔝
 
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
Presentation for the Strategic Dialogue on the Future of Agriculture, Brussel...
 
Event 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptxEvent 4 Introduction to Open Source.pptx
Event 4 Introduction to Open Source.pptx
 
Work Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptxWork Remotely with Confluence ACE 2.pptx
Work Remotely with Confluence ACE 2.pptx
 
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.comSaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
SaaStr Workshop Wednesday w/ Kyle Norton, Owner.com
 
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptxGenesis part 2 Isaiah Scudder 04-24-2024.pptx
Genesis part 2 Isaiah Scudder 04-24-2024.pptx
 
Dutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular PlasticsDutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
Dutch Power - 26 maart 2024 - Henk Kras - Circular Plastics
 
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
THE COUNTRY WHO SOLVED THE WORLD_HOW CHINA LAUNCHED THE CIVILIZATION REVOLUTI...
 
Anne Frank A Beacon of Hope amidst darkness ppt.pptx
Anne Frank A Beacon of Hope amidst darkness ppt.pptxAnne Frank A Beacon of Hope amidst darkness ppt.pptx
Anne Frank A Beacon of Hope amidst darkness ppt.pptx
 
The Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism PresentationThe Ten Facts About People With Autism Presentation
The Ten Facts About People With Autism Presentation
 
Genshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptxGenshin Impact PPT Template by EaTemp.pptx
Genshin Impact PPT Template by EaTemp.pptx
 
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
Gaps, Issues and Challenges in the Implementation of Mother Tongue Based-Mult...
 
PHYSICS PROJECT BY MSC - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC  - NANOTECHNOLOGYPHYSICS PROJECT BY MSC  - NANOTECHNOLOGY
PHYSICS PROJECT BY MSC - NANOTECHNOLOGY
 
Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸Mathan flower ppt.pptx slide orchids ✨🌸
Mathan flower ppt.pptx slide orchids ✨🌸
 
miladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptxmiladyskindiseases-200705210221 2.!!pptx
miladyskindiseases-200705210221 2.!!pptx
 

T vb mapping_implementation_25032014

  • 1. 1 STI INNSBRUCK TOURISMUSVERBAND CONTENT ONTOLOGY MAPPINGS IMPLEMENTATION Zaenal Akbar, Christoph Fuchs, Serge Tymaniuk, Ioan Toma STI Innsbruck, University of Innsbruck, Technikerstraße 21a, 6020 Innsbruck, Austria firstname.lastname@sti2.at 2014-03-25 Semantic Technology Institute Innsbruck STI INNSBTRUCK Technikerstraße 21a A – 6020 Innsbruck Austria http://www.sti-innsbruck.
  • 2. 1 Contents 1. Introduction...............................................................................................................................................2 2. Object Model ............................................................................................................................................2 3. Implementation .........................................................................................................................................6 4. Discussion.................................................................................................................................................7
  • 3. 2 1. Introduction This document presents the implementation of the content and ontology mapping for Tourismusverband (TVb) Innsbruck. The outputs of this implementation are machine processable objects of all concepts in the content. The main functions of the object models are: 1) As fact models to drive the rules. A Rule Based System contains Facts and Rules, where the rules are constructed based on the facts by an expert. Typically, an integrated user interface is used for rule creation (i.e. Guvnor1 ) to avoid any mistakes. In the case of Guvnor, the fact models can be defined through the declarative model of Guvnor itself or upload a Java archive in the format of Plain Old Java Object2 . The Guvnor will handle the fact models as assets for rule creation. 2) As fact models to define the application’s knowledge. In case of Drools3 , the knowledge base can be modified by inserting, updating and retrieving facts to or from its working memory. 3) As internal data representation for the Weaver. The Weaver requires an internal data model to represent the incoming inputs (i.e. annotated HTML sources), to perform some internal processing (i.e. content transformation) before deliver it to the selected output channels. This implementation is based on the activity previously conducted to mapping the content to ontology. The Schema.org4 has been chosen as the primary vocabulary for the mapping, therefore the object models will use it as much as possible. 2. Object Model In this section, the dependency relationships among the main objects will be explained first and continued with the super and sub-objects relationships. There are 10 main objects: 1. Hotel 2. FoodAndDrinkEstablishments 3. Event 4. TravelAction 5. PlaceOfInterest 6. BlogPosting 7. Offer 1 See: http://www.jboss.org/drools/drools-guvnor.html 2 See: http://docs.jboss.org/drools/release/5.2.0.Final/drools-guvnor-docs/html/ch05.html 3 See: https://www.jboss.org/drools/ 4 See: http://schema.org
  • 4. 3 8. Place 9. PostalAddress 10. Country The names for all main objects are borrowed from the Schema.org except FoodAndDrinkEstablishments and PlaceOfInterests. Those new objects are introduced as super objects for various kinds of items in both categories. The relationships among those objects are shown at Figure 1. Figure 1 Dependency relationships among main objects As shown at Figure 1, all objects have relation to other objects except for the BlogPosting. Event and TravelAction are related to Place through property location. Hotels, Place, PlaceOfInterests, and FoodAndDrinkEstablishments are related to object PostalAddress through property address.
  • 5. 4 PostalAddress is relating to Country through property addressCountry and the FoodAndDrinkEstablishments has second relation to object Offer through property makesOffer. It is worthy to mention that there are two types of objects to represent a place, by Address (as shown in Hotel to PostalAddress relationship) or by Location (as shown in Event to Place relationship). The Location is representing a more broad concept of place (an object Location can be named) while the Address/PostalAddress object is representing a more specific/detail place. FoodAndDrinkEstablishments is a super object contains various sub-objects in the category of Food and Drink Establishments. From previous analysis, we have identified several sub-objects: Bakery, Bar, Pub, Cafe, FastFoodRestaurant, IceCreamShop, Restaurant, and Winery, which are represented in the object models as shown at Figure 2. Figure 2 Food and Drink Establishments sub-objects relationships At shown at Figure 2, there are seven sub-objects that are using Schema.org vocabularies. Those sub-objects will inherit all properties from their super object (FoodAndDrinkEstablishments) including the dependencies to the object Offer and PostalAddress.
  • 6. 5 PlaceOfInterests is super object for interesting places for tourists. Various sub-objects have been identified as shown at figure 3. Figure 3 Place of Interests sub-objects relationships As shown at Figure 3, the sub-objects (presented using the Schema.org vocabularies) are EventVenue, PlaceOfWorship, Park, PerformingArtsTheater, AmusementPark, StadiumOrArena, Museum, MovieTheater, AdultEntertainment, NightClub, MusicVenue, ArtGallery, Casino, Zoo, Mountain. Each sub object will inherits the properties of the PlaceOfInterests including the relation to object PostalAddress.
  • 7. 6 3. Implementation In this section, we will explain current implementation including the technologies used and problems encountered. A possible solution is presented in the next section. Figure 4 Mapping implementation Figure 4 shows the current implementation. An RDF Extractor consumes the incoming HTML inputs (annotated with Schema.org) and produces triples, which are stored in a triple store. Based on the stored triples, relevant objects are instantiated. These objects are used by the rule editor (Guvnor), the rule execution engine (Drools) as well as the Weaver. The RDF Extractor can be implemented with various existing libraries (i.e. Apache Any235 ) easily. However, object instantiation turned out to be problematic. There are challenges due to the properties of the RDF itself, mainly because: 1. Complex associations which span across multiple blank nodes are hard to resolve 2. A tree-like structure of concepts and sub-concepts is equally hard to instantiate To overcome those problems, in this initial implemention we are using several assumptions: 1. Complex properties that are associated with other objects are ignored 2. The object structure is flat We are currently looking into a solution to solve the problem using an existing framework called RDFBeans6 , which is providing a mechanism for mapping an object-oriented domain model to RDF resource descriptions. If this solution turns out to solve our problems completely, the assumptions we currently make are nullified. The instantiated objects would represent the RDF graph in its entirety. 5 Apache Any23, https://any23.apache.org 6 RDFBeans Framework, http://rdfbeans.sourceforge.net
  • 8. 7 4. Discussion There are several points we would like to point out for discussion: 1) As stated in the beginning of this document, we would like to use Schema.org vocabularies as much as possible. It is clear that this implementation has adopted a few parts of Schema.org but dismissed their original structures. For example, in Schema.org, the Hotel is structured as Thing.Organization.LocalBusiness.LodgingBusiness.Hotel. In this implementation, those structures have been dismissed for simplicity reason. We believe that in TVb Innsbruck case, keeping the original structures will not contribute to the dissemination process. More than that, since this implementation is using the same vocabularies, we can track back to their original structures easily. 2) A new idea has emerged to solve the encountered problems in this implementation. The idea is to use an RDF reasoner instead of a rule engine. In this case, the reasoning will take place in the internal triple store, making the instantiation of objects obsolete.