A Semantic Wiki Based Light-Weight Web Application Model
Upcoming SlideShare
Loading in...5
×
 

A Semantic Wiki Based Light-Weight Web Application Model

on

  • 2,137 views

 

Statistics

Views

Total Views
2,137
Views on SlideShare
1,922
Embed Views
215

Actions

Likes
0
Downloads
30
Comments
1

6 Embeds 215

http://blog.baojie.org 184
http://aws.w3db.us 16
http://baojiebaojie.wordpress.com 8
http://w3db.us 5
http://cncc.bingj.com 1
http://translate.googleusercontent.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Jie Bao, Li Ding, Rui Huang, Paul R. Smart, Dave Braines, Gareth Jones: A Semantic Wiki Based Light-Weight Web Application Model. ASWC 2009: 168-183
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • User-contributed structured contents: limited ways for users to annotate web pages and publish their annotations as structured data, which can be shared and used in various ways. [tags, web forms only provide limited ways to annotate a page]. Access paradigm to those structured contents: users have to follow fixed interaction paradigm hard-coded in the web application. But with structured data, users actually can do more: avoid unnecessary overhead in NLP; and leverage services using the preserved semantics (e.g., semantic search) These limitations are rooted from the application models behind these web apps.
  • The missing part in the conventional models: no control over the underlying data and programming logic of the app prohibits users from building customizable applications – only server side developers or administrators can do that. Wiki-based model improves a bit by enabling users to directly do some simple manipulation and computation on the data. UI can be generated from user contributed templates Parser functions support simple computational tasks However, the wiki-based model only enables users to establish links between wiki articles and layout wiki pages. Typically, we cannot answer questions like “all Euro countries that have female government leaders”. To answer it, we need embedded knowledge in wiki pages.
  • Lots of efforts use semantic technologies to address these limitations, notably Semantic Wikis. The SemanticWiki-based effort takes advantage of the fact that wiki-based model already enables collaborative authoring of scripts. Based on that, it adds functionalities to make semantic annotations and parser functions to process them. As you will see later, it will promote a new app model in which web apps are developed. But first, I just want to show a few slides introducing the basics of Semantic Wikis.
  • The model is not limited to wiki-based implementations, as more web 2.0 applications provide semantic extensions (Drupal), this model can also be used in other platforms
  • Thus supporting * Social structured knowledge construction * Social programming
  • CRUD = create, read, update, delete
  • [TODO] link does not work.
  • Wiki scripts: table, picture, tree, etc Javascirpt: wikicafe.metacafe.com, metavid.org
  • Location-based information: information (e.g., events, people, phone, etc.) based on their locations
  • [TODO] need discussion
  • not supporting all owl features, but almost all commonly used features are covered by the meta-model (e.g., partial vs. complete at the same time)
  • isDefintion: partial and complete 2) support automatic owl file importing 3) semantic forms facilitate content editing, minimal manual editing of scripts needed
  • [TODO] What is the output?

A Semantic Wiki Based Light-Weight Web Application Model A Semantic Wiki Based Light-Weight Web Application Model Presentation Transcript

  • A Semantic Wiki Based Light-Weight Web Application Model Jie Bao, Li Ding, Rui Huang, Paul R. Smart, Dave Brains, and Gareth Jones Presenter: Zhenning Shangguan Dec. 07, 2009
  • Outline
    • Introduction
    • Semantic Wiki Based Light-weight Web Application Model
    • Proof-of-concept prototypes
      • RPI Map (http://map.rpi.edu)
      • CNL Wiki (http://tw.rpi.edu/proj/cnl)
    • Conclusions & Future Work
  • Web 2.0 Applications
    • Success of Web 2.0 applications
      • Simple publishing
      • Social interaction
    • However, limitations do exist
      • User-contributed structured data
      • Diversity of data access paradigm
  • Web App Models Server Side Users’ Control Web Server Database/Files Web Browser Conventional Model HTML+CSS Server Side Users’ Control Web Browser Ajax Engine Web/Data Server Database/Files AJAX Model HTML/XML data HTML+CSS Server Side Wiki Engine Users’ Control Web Browser Wiki Func. Wiki-based Model Web Server Database/Files Wiki UI HTML+CSS
  • Semantic Wiki Semantic Wiki Multi-user content creation and editing Browser-based, cross-platform easy to use Supports semantic annotations for automated processing and inference
  • Semantic MediaWiki (SMW)
    • It is the most popular semantic wiki system extending MediaWiki (the Wikipedia’s platform)
    Mediawiki: What you edit what you see
  • Semantic MediaWiki SMW: What you edit (Modeling Script) what you see To author knowledge typed link (property)
  • Semantic MediaWiki SMW: What you edit (Querying Script) what you see To retrieve knowledge
  • Semantic Wiki
    • Potential to serve as a platform that supports
      • Rich data modeling
      • Transparent data processing
      • Social programming
    • Thus promoting a new web application model
  • SemWiki-based Model Server Side SemWiki Engine Users’ Control Web Browser SemWiki Data Wiki Func. SemWiki-based Model Web Server Database/Files Wiki UI HTML+CSS Structured data from SemWiki annotations Parser functions to process the structured data Wiki scripts to build application interface Both structured data and wiki scripts are accessible!
  • Data Modeling
    • Annotations from all wiki pages forms an RDF graph
    • Can be considered as a virtual abstraction layer over the server-side database/file system
      • Evolving knowledge base
      • Collective CRUD operations supported
  • Data Processing
    • Extensions of MediaWiki support light-weight data processing
      • Parser functions
      • Variables
      • Datatypes
      • Control flows
    (Please see http://tw.rpi.edu/wiki/ASWC2009Bao#Links for details)
  • User Interface
    • Application UI is defined by a set of wiki pages
    • Wiki scripts can be used to customize UI
      • Templates and queries to control look-and-feel of wiki pages
      • Semantic Forms facilitate content editing
    • Embedded JavaScript code to enrich UI
      • More interactive and intuitive visualization elements
  • Case Study RPI Map http://map.rpi.edu CNL Wiki http://tw.rpi.edu/proj/cnl
  • RPI Map
    • A mash-up map application based on Semantic MediaWiki
    • Provides location-based information in the RPI campus
    • Integrates data from various external sources
    • Visualizes integrated data using Google Map
    http://map.rpi.edu
  • CNL Wiki
    • Collaborative OWL ontology building application based on Semantic MediaWiki
    • Controlled Natural Language (CNL) used to facilitate understanding of generated knowledge statements
    http://tw.rpi.edu/proj/cnl
  • Highlights
    • Automatic form Generation
    • Query-based Content Generation
    User Interface
    • Template as Function
    • CNL Generation
    • Stored Query
    • Data Cleansing
    Data Processing
    • OWL Modeling
    • Template as Schema
    Data Modeling CNL Wiki RPI Map
  • Highlights
    • Automatic form Generation
    • Query-based Content Generation
    User Interface
    • Template as Function
    • CNL Generation
    • Stored Query
    • Data Cleansing
    Data Processing
    • OWL Modeling
    • Template as Schema
    Data Modeling CNL Wiki RPI Map
  • Template as Schema (RPI Map)
    • Templates are used to define classes in the application
    • Each template defines a set of attributes for the corresponding class
  • Schema definition in DB-based applications Template defines the data structure for each class in RPI Map
  • OWL Modeling
    • Developed SMW-mOWL, a meta-model extension to SMW, to address expressivity constraints of SMW ( Bao et al., 2009 )
      • In SMW-mOWL, an ontology is represented using a set of wiki pages
      • Each wiki page encodes a certain ontology entity (class, property, individual) using wiki templates
      • Each wiki template defines axiom/annotation information for an ontology entity
  • SMW-mOWL Class(Rabbit partial intersectionOf(animal restriction(eat someValuesFrom(FreshVegetable))) OWL: “Rabbit eats some fresh vegetable” Wiki templates to define axiom/annotation information. Form-based editing interface associated with templates
  • OWL Class Templates Similarly, we have templates for properties and individuals
  • Query-based Content Generation
    • Semantic queries can be used to find desired information and generate the UI
    {{#ask:[[Category:Event]] [[has end time::> {{LOCALMONTHNAME}} {{LOCALDAY}}, {{LOCALYEAR}} 00:00]]}} Semantic query to find today’s events and render them in a table
  • With little efforts, we can generate a map of today’s events based on the previous query
  • CNL Generation
    • A set of templates are defined and used to generate CNL statements for ontology entities
    • Supported CNL’s
      • Rabbit
      • ACE (Attempto Controlled English)
    • Able support other CNL’s by defining corresponding templates
  • OWL Abstract Syntax Class(Rabbit partial intersectionOf(animal restriction(eat someValuesFrom(FreshVegetable))) Template:getClassDeclaration Template:getConceptRelationAssertions Template:getSomeRestrictionAssertion
  • Conclusion
    • Identified a light-weight web application model based on semantic wikis
    • Presented two prototype systems, RPI Map and CNL Wiki, based on this model
    • The model represents emerging trends in web application development
      • Making structured data publicly available to facilitate data reuse
      • Making data processing open to support customized application development
  • Future Work
    • Improve prototype systems to show benefits of the proposed model
    • Investigate application of our proposed model on other platforms (e.g., Drupal)
    • Development of extensions for SMW to better support our model
    • We expect the network effect of our model as more platforms adopt it
  • Questions?
    • Thank you!
  • Backup slides
  • Stored Query
    • Many queries are repeatedly used in many components
    • Templates are used to store these queries for later reuse
    {{#ask: [[Has alias::{{PAGENAME}}]] |link=none|limit=1}}
  • Template as Functions
    • Templates can be considered as functions in common programming languages
    • Can take some input, process it, and return some value
    {{#ask: [[:{{page}}]] [[Category:Anon]]}} Template:CNL.Rabbit.Anon {{#ask: [[:{{page}}]] |?CnlLabel}} Tempalte:CNL.Rabbit.getLabel {{PAGENAME}} YES NO
  • User Interface
    • Templates to define the layout and look-and-feel of wiki pages
      • Template:Property defines the presentation of the Property section on the wiki page for a concept
      • Template:GUI.Tree shows a class hierarchy tree by taking the ontology and the root class as input