Download presentation
Presentation is loading. Please wait.
Published byHope Taylor Modified over 9 years ago
1
Semantic Wiki @ RPI Li Ding, Jie Bao Presented by Deborah L. McGuinness Tetherless World Constellation Rensselaer Polytechnic Institute June 16, 2009
2
Wiki DBTriple Store Online data Data Layer RPI Map & Events Wine Wiki Social Rec. Group Info Management Task & Issue Tracking Ontology Repository Still many not yet mentioned … Wiki Layer App. Layer (Semantic) Wiki Scripting Semantic Template Semantic Query (PHP, Javascript) Wiki Extensions Halo Annotation Extension Parser Functio n … How to build applications effectively? Semantic Forms The Gap The Gap between Semantic Wiki and Apps
3
Our Position Semantic Wiki Applications Best Practices: extensions and templates Theory: formalization and models Applications: First hand experiences
4
10/1/2015 Tetherless World Wiki (App) Jie Bao, Li Ding, Deborah L. McGuinness, Jim Hendler. Towards Social Webtops Using Semantic Wiki, ISWC’08 (Posters), 2008 http://tw.rpi.edu/wiki Working CMS group portal (people, issues, publication… Data semantically annotated and organized by ontology Smart data propagation via query Usability: lacking of effective data creation/editing UI Modeling: cannot annotate publication on person’s page Usability: hard to find data even annotated Scalability: complex templates caused slow response time
5
RPI Map (App) Main Contributors: Jin Guang Zheng, Rui Huang, Jie Bao and Li Ding. http://map.rpi.edu intended map services for RPI community (google it!) mashup external data sources (e.g. events.rpi.edu) mashup web services (e.g. GoogleMap) Semantic map layer Usability: UI still need improvement
6
Policy Testbed (App) http://tw.rpi.edu/proj/tami.wiki/index.php?title=FS_119_01_1&oldid=1478 2008-11-12T19:50:20Z … http://tw.rpi.edu/proj/tami.wiki/index.php?title=FS_119_01_1&oldid=1478 2008-11-12T19:50:20Z … {{Tami.event |coordinator=William Parker |datetime=2008/10/26 06:44:00 AM |description=[[Mr. Parker]] observed a glint of light in the window of a parked station wagon across the street, and then identified a male in the driver's seat apparently taking photographs of the gate and/or guard shack }} [[suspect gender::male]] {{Tami.event |coordinator=William Parker |datetime=2008/10/26 06:44:00 AM |description=[[Mr. Parker]] observed a glint of light in the window of a parked station wagon across the street, and then identified a male in the driver's seat apparently taking photographs of the gate and/or guard shack }} [[suspect gender::male]] Provenance ontology Agent Data Event Operation coordinator participant input data output data operation antecedent Template-based Edit Form-based Edit SMW Browse Tabulator-based Browse Browse by semantic query results Text + semantics template for event & policy Track Changes using Semantic History Li Ding, K. Krasnow Waterman, Jie Bao, Lalana Kagal, Deborah L. McGuinness. Towards a Semantic Web Testbed for Collaborative Policy Development, Proceedings of first Web Science Conference, 2009 http://tw.rpi.edu/tami An collaboration environment. for distributed policy development choice of text (latent semantics) and RDF (explicit semantics) in place RDF editing with instant synchronized HTML and RDF publishing Predefined and extensible ontology with editing/query templates Modeling: AIR policies in Notation3 are not native supported
7
CNL Ontology Editor (App) Jie Bao, Paul R. Smart, Dave Braines, Gareth Jones, Nigel R. Shadbolt. A Controlled Natural Language Interface for Semantic Media Wiki, Tetherless World Constellation, TW-2009-05, 2009 http://tw.rpi.edu/proj/cnl Template based OWL meta modeling with form support Controlled natural language rendering (Rabbit, ACE, Yayan) Limited rule inference to enhance the native RDFS inference Modeling: not all OWL inferences (e.g. rdfs:domain) natively supported Modeling: blank node is not natively supported
8
SMWBP Project (Best Practices) http://code.google.com/p/smwbp/ Quick SMW installation scripts Choice of (MW, SMW, and SMW+) Preconfigured MW/SMW extensions SVN based install/update RPI Extension release platform ArrayExtension TetherlessMap … http://www.mediawiki.org/wiki/Extension:ArrayExtension
9
AskManyExtension (Best Practices) ==Publications== http://tw.rpi.edu/wiki.tw/index.php [[Category:Publication]] [[has author::Li Ding]] ?Has where published ?has year ==Publications== http://tw.rpi.edu/wiki.tw/index.php [[Category:Publication]] [[has author::Li Ding]] ?Has where published ?has year This Wiki Page is on http://tw.rpi.edu/portal The result is from http://tw.rpi.edu/wiki Main Contributors: Evan Paton http://tw.rpi.edu/Help:AskMany Aggregates query results from other SMWs followed by ExternalData extension (Yaron)
10
{{i.person |homepage=http://tw.rpi.edu/wiki/index.php/James_A. _Hendler |image=Hendler2008.jpg |occupation=Professor |affiliation=Rensselaer Polytechnic Institute |residence=Troy, New York |relation=Tetherless World Constellation; }} ==facts== * He joined the Tetherless World Constellation in [[has year join::2006]]. {{f.tag |education |Yale University, Southern Methodist University, Brown University |format=ul |mode=list}} {{#smartset:fellow of=American Association for Artificial Intelligence, British Computer Society|list}} == blog == {{#widget:Twitter |user=jahendler |count=5}} {{i.person.q}} SBP Templates (Best Practices) http://tw.rpi.edu/portal/Help:Smwbp Template for better integration of RDF generation and HTML rendering Interchangeable Template (for portability) and parserfunction (for efficiency) template incompatible with Halo Extension, maybe integrated by SMW syntax specialized content template standard SMW syntax generic content template generic content parser function specialized query template
11
Rule Modeling on SMW (Theory) “Uncle” rule rdfs:domain entailment rule Logic programs Rules can be encoded/implemented in SMW
12
Formalize SMW Query (Theory) {{#ask: [[Category:A]][[p3::category:B]] or [[p.p1.p2:: [[Category:D]] or [[p1:: [[SomePage]] ]] ||!v|| [[Category:E]] ]] }} _result(x) :- _tmp0(x). _tmp0(x) :- A(x), p3(x,x0), x0=category:B. _tmp0(x) :- p(x,x2), p1(x2,x3), p2(x3,x1), _tmp9(x1). _tmp9(x1) :- _tmp12(x1). _tmp12(x1) :- D(x1). _tmp12(x1) :- p1(x1,x4), x4=SomePage. _tmp9(x1) :- x1!=v. _tmp9(x1) :- E(x1). SMW Query can be translated into rules Formal closed world semantics fits db-like usage scenarios Allow using a rule engine for SMW inference Enable some powerful extensions naturally (e.g. NAF and cardinality) Scalability issues in LP solvers Jie Bao, Li Ding, James A. Hendler. Knowledge Representation and Query in Semantic MediaWiki: A Formal Study, In Tetherless World Constellation (RPI) Technical Report, TW-2008-42, 2008
13
Lessons Learned Lessons learned –Usability – user-friendly editing and query interface is wanted –Scalability - complex queries and large datasets have caused heavy load to database; wiki API is slow –SMW based applications also require non-trivial development efforts (e.g., workflow and UI design) –Additional Web 2.0 features are needed: user/page access control; distributed query across wikis Questions –What has been saved in SMW based applications? –Which criticisms are actually specific to SMW Apps rather than conventional Web Apps ?
14
Conclusion Development –Applications: TW group website; RPI Map; TAMI Wiki; CNL Wiki; … –Best practices: SMWBP project; ArrayExtension; … Research –Rule modeling on SMW –SWM based Web application model –SMW (Modeling language and query language) formalization Lessons learned –SMW is useful for some light-weight web applications
15
Backup
16
Server Side Users’ Control Web Server Database/Files Web Browser Ajax Engine Web/Data Server Database/Files Conventional ModelAJAX Model Server Side SemWiki Engine Users’ Control Web Browser SemWiki Data Wiki Func. SemWiki-based Model Web Server Database/Files Wiki UI Server Side Wiki Engine Users’ Control Web Browser Wiki Func. Wiki-based Model Web Server Database/Files Wiki UI SMW-based Web App. Model (Theory) SWM based Model can be a new Web app model for light-weight Web 2.0 social programming
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.