SlideShare a Scribd company logo
A Controlled Natural Language
Interface for Semantic MediaWiki

       Jie Bao
       Rensselaer Polytechnic Institute

       Paul R. Smart, Nigel R. Shadbolt
       University of Southampton

       Dave Braines, Gareth Jones
       IBM UK


      ACITA 2009, Sep 23, 2009 University of Maryland
Motivation
“The timely collection of facts obtained at the tactical (and
  even the interpersonal level) may help to create better
  operational decisions at all levels. The goal is to create
  networks of soldiers who are capable of collecting
  information within their sphere of influence and who can
  share this information with other members of the net in a
  timely fashion.”

  ---Defense Science Board. 2006 Summer Study on 21st Century Strategic
  Technology Vectors, Volume II, Critical Capabilities and Enabling Technologies.
  Office of the Under Secretary of Defense for Acquisition, Technology, and Logistics,
  Washington, DC, 2006.




                                                                                         2
Motivation
                                    Intelligent
                                 Agents/Assistants




 Analysts                                                       Patrols / Field Reports


                                                                               Remote
                                                                               Sensors
                                      Shared
                                     Repository
                                                             Multinational Planning
                                                                      Teams
Unmanned Vehicles




                Military Platforms          Non - Military
                                            Organizations
                                                                                          3
Key Requirements
• Collaboration Support
  – Can be used by a variety of different types of contributors
  – Supports cross-platform access
• Ease of Use
  – Requires least training
  – Provides simple user interface
  – Content ease to understand
• “Meaningful” Structure
  – Enables some automated processing of data (e.g., automated
    data propagation)
  – Enables discovery of “hidden” knowledge from explicitly known
    information.

                                                                    4
Enabling Technologies



           +
                 Every
                 A is B …




Semantic       Controlled
  Wiki          Natural
               Language

                            5
Semantic Wiki


            Multi-user content
            creation and editing
            Browser-based,
            Cross-platform
            easy to use

Semantic    Support semantic
            annotations for
  Wiki      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




                                                   7
Semantic MediaWiki
             To author knowledge
               typed link (property)




SMW: What you edit                     what you see
 (Modeling Script)



                                                      8
Semantic MediaWiki
             To retrieve knowledge




SMW: What you edit             what you see
 (Querying Script)



                                              9
Challenges
However, SMW is limited by
 Expressivity constraints
   • No support for the full range of RDF/OWL
   • E.g., we can’t specify that “capital of” property should always link
     a City to a Country (property domain and range)
 Usability
   • Thinking in the “subject-property-object” fashion may not be
     ease (as one may think!)
       • Based on our own experiments with entry-level users.
   • Knowledge engineers may find it difficult to understand other’s
     contributions.
   • Users may prefer different languages styles or even different
     natural languages.
Challenges
However, SMW is limited by
 Expressivity constraints
   • No support for the full range of RDF/OWL
                      By extending SMW with an
   • E.g., we can’t specify that “capital of” property should always link
                            OWL Meta-model
     a City to a Country (property domain and range)
                        (introduced in details later)


 Usability
   • Thinking in the “subject-property-object” fashion may not be
     ease (as you may think!)
       • Based on our own experiments with entry-level users.
             By allowing modeling/representing knowledge
   • Knowledge engineers may find it difficult to (CNL)
                using controlled natural language understand other’s
     contributions.
   • Users may prefer different languages styles or even different
     natural languages.
Controlled Natural Language

  Production of knowledge
  without using a formal logic.
                                  Every
                                  A is B…
  Potential production and
  comprehension benefits

  Multiple OWL-compliant
  CNLs are available:             CNL
  e.g. Rabbit, Sydney OWL
  Syntax, ACE-OWL
Controlled Natural Language
Example (In Rabbit syntax):
• The “capital of" relationship can only have a “City" as a
  subject.
• The "capital of" relationship can only have a “Country"
  as an object.

            Instead of saying (In OWL Abstract Syntax)

             ObjectProperty(ex:capital_of
                     domain(ex:City) range(ex:Country))

                    Or (In Description Logics)

                        ∀capital_of.T ⊆City
                       ∀capital_of -.T ⊆ Country
                                                              13
Solution Summary
• Collaboration Support
  – Natively collaborative for a wiki
  – Web-based interface accessible from any device that has a
    browser.
• Ease of Use
  – Simplify knowledge input using semi-automatically generated
    forms
  – Multiple OWL-compliant CNLs: e.g. Rabbit (English, Chinese),
    ACE-OWL
• “Meaningful” Structure
  – Meta-model do the translation between OWL and CNL, and
    between OWL and SMW scripts
  – Query and inference supported.
                                                                   14
Architecture
 Form Editor                             CNL Editing             RDF Export
                    CNL Interface
  Interface                               Interface               Interface

                             CNLG
                             Module

                                                                          RDF Export


    Wiki Database



RDF Import                      Semantic Query
                                   Interface
                                                        SELECT ?x
                                                        WHERE
                                                        {
                                                          ?x rdf:typeowl:Class
                    RDF Model
                                                        }


         Prototype system: http://tw.rpi.edu/proj/cnl
SMW OWL Meta Model
                                                         1
Class(Rabbit partial intersectionOf(animal                   OWL: “Rabbit eats
      restriction(eat someValuesFrom(FreshVegetable)))       some fresh vegetable”




          3                                              2
              Form-based editing                             Us wiki templates to
              interface associated                           create OWL meta-model
              with templates                                 extensions for SMW
OWL Class Templates




Similarly, we have templates for properties and individuals

                                                              17
CNL Generation
Use SMW queries to retrieve knowledge statements in the OWL meta
model
{{#vardefine:label|{{CNL.getLabel|{{{1}}} }} }}
{{#vardefine:super |
         {{#ask: [[:{{{1|{{FULLPAGENAME}}}}}]]
         |?Category= |mainlabel=-|format=list|link=none }}
}}


Construct sentences according to the syntax of the target CNL
{{#if: {{#var:super}}
           |{{#arraymap:{{#var:super}}|,|xxx|<li>Every
           [[:{{{1}}}{{!}}{{#var:label}}]] is a kind of
[[:xxx|{{CNL.getLabel|xxx}}]] }}|}}
Multiple CNL Support




Accommodating new CNLs requires relatively minor changes to the wiki script
I/O Support

• Allows importing of an RDF/OWL ontology
• Exporting in three CNL syntaxes
• Ontology in the meta-model can be exported in
  RDF.

• Some limitations apply
  – Limitation supports for blank nodes
  – Datatypes
  – Ontology management (e.g. imports)


                                                  20
Related work

   AceWiki
                     Differences:
                     •   underlying wiki system
                     •   editing interface
                     •   light-weight extensions
                     •   support for multiple CNLs
                     •   customization of target
                         CNLs



Tobias Kuhn (2008)

                                                     21
Related work

        ROO
                              Differences:
                              • Protégé-based vs. wiki-
                                based
                              • Rabbit only vs. multiple
                                CNLs
                              • Formal modeling only vs.
                                formal+informal modeling

Vania Dimitrova et al. 2008




                                                           22
Summary
• We have developed an OWL meta-model extension to SMW to
  support the representation of OWL ontologies
• We have provided a light-weight form-based interface to support
  ontology editing
• We have provided an RDF import mechanism to support the
  import of existing ontologies
• We have developed multiple CNL ‘verbalizers’ to support the
  serialization of semantic wiki content to CNLs

• Future work:
   – Improved expressvity
   – Enable users to create/customize CNL output
   – Implement wiki-based CNL editing capability

                            http://tw.rpi.edu/proj/cnl/
                                                                    23

More Related Content

Similar to A Controlled Natural Language Interface for Semantic MediaWiki

ROLE Technologies – A possible contribution to Apache Rave?
ROLE Technologies – A possible contribution to Apache Rave?ROLE Technologies – A possible contribution to Apache Rave?
ROLE Technologies – A possible contribution to Apache Rave?
Dominik Renzel
 
Application Semantics via Rules in Open Vocabulary English
Application Semantics via Rules in Open Vocabulary EnglishApplication Semantics via Rules in Open Vocabulary English
Application Semantics via Rules in Open Vocabulary EnglishAdrian Walker
 
Metamorphic Domain-Specific Languages
Metamorphic Domain-Specific LanguagesMetamorphic Domain-Specific Languages
Metamorphic Domain-Specific Languages
University of Rennes, INSA Rennes, Inria/IRISA, CNRS
 
Formal Aspects of Protege
Formal Aspects of ProtegeFormal Aspects of Protege
Formal Aspects of Protege
William Grosso
 
Data FAIRport Prototype & Demo - Presentation to Elsevier, Jul 10, 2015
Data FAIRport Prototype & Demo - Presentation to Elsevier, Jul 10, 2015Data FAIRport Prototype & Demo - Presentation to Elsevier, Jul 10, 2015
Data FAIRport Prototype & Demo - Presentation to Elsevier, Jul 10, 2015
Mark Wilkinson
 
Web 3.0 & IoT (English)
Web 3.0 & IoT (English)Web 3.0 & IoT (English)
Web 3.0 & IoT (English)
Peter Waher
 
Web 3.0 & io t (en)
Web 3.0 & io t (en)Web 3.0 & io t (en)
Web 3.0 & io t (en)
Rikard Strid
 
Web 3 final(1)
Web 3 final(1)Web 3 final(1)
Web 3 final(1)Venky Dood
 
Apache Drill (ver. 0.2)
Apache Drill (ver. 0.2)Apache Drill (ver. 0.2)
Apache Drill (ver. 0.2)
Camuel Gilyadov
 
A Provenance-Aware Linked Data Application for Trip Management and Organization
A Provenance-Aware Linked Data Application for Trip Management and OrganizationA Provenance-Aware Linked Data Application for Trip Management and Organization
A Provenance-Aware Linked Data Application for Trip Management and Organization
Boris Villazón-Terrazas
 
Knowledge Organization System (KOS) for biodiversity information resources, G...
Knowledge Organization System (KOS) for biodiversity information resources, G...Knowledge Organization System (KOS) for biodiversity information resources, G...
Knowledge Organization System (KOS) for biodiversity information resources, G...
Dag Endresen
 
Sinux
SinuxSinux
NIF - Version 1.0 - 2011/10/23
NIF - Version 1.0 - 2011/10/23NIF - Version 1.0 - 2011/10/23
NIF - Version 1.0 - 2011/10/23
Sebastian Hellmann
 
The Semantic Web: status and prospects
The Semantic Web: status and prospectsThe Semantic Web: status and prospects
The Semantic Web: status and prospects
Guus Schreiber
 
A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...
A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...
A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...Natalia Díaz Rodríguez
 
From ontology to wiki
From ontology to wikiFrom ontology to wiki
From ontology to wiki
Open University in the Netherlands
 
Corrib.org - OpenSource and Research
Corrib.org - OpenSource and ResearchCorrib.org - OpenSource and Research
Corrib.org - OpenSource and Research
adameq
 
Memory models in c#
Memory models in c#Memory models in c#
Memory models in c#
Sophie Obomighie
 

Similar to A Controlled Natural Language Interface for Semantic MediaWiki (20)

ROLE Technologies – A possible contribution to Apache Rave?
ROLE Technologies – A possible contribution to Apache Rave?ROLE Technologies – A possible contribution to Apache Rave?
ROLE Technologies – A possible contribution to Apache Rave?
 
Application Semantics via Rules in Open Vocabulary English
Application Semantics via Rules in Open Vocabulary EnglishApplication Semantics via Rules in Open Vocabulary English
Application Semantics via Rules in Open Vocabulary English
 
Metamorphic Domain-Specific Languages
Metamorphic Domain-Specific LanguagesMetamorphic Domain-Specific Languages
Metamorphic Domain-Specific Languages
 
Formal Aspects of Protege
Formal Aspects of ProtegeFormal Aspects of Protege
Formal Aspects of Protege
 
Data FAIRport Prototype & Demo - Presentation to Elsevier, Jul 10, 2015
Data FAIRport Prototype & Demo - Presentation to Elsevier, Jul 10, 2015Data FAIRport Prototype & Demo - Presentation to Elsevier, Jul 10, 2015
Data FAIRport Prototype & Demo - Presentation to Elsevier, Jul 10, 2015
 
Web 3.0 & IoT (English)
Web 3.0 & IoT (English)Web 3.0 & IoT (English)
Web 3.0 & IoT (English)
 
Web 3.0 & io t (en)
Web 3.0 & io t (en)Web 3.0 & io t (en)
Web 3.0 & io t (en)
 
Web 3 final(1)
Web 3 final(1)Web 3 final(1)
Web 3 final(1)
 
Apache Drill (ver. 0.2)
Apache Drill (ver. 0.2)Apache Drill (ver. 0.2)
Apache Drill (ver. 0.2)
 
A Provenance-Aware Linked Data Application for Trip Management and Organization
A Provenance-Aware Linked Data Application for Trip Management and OrganizationA Provenance-Aware Linked Data Application for Trip Management and Organization
A Provenance-Aware Linked Data Application for Trip Management and Organization
 
Knowledge Organization System (KOS) for biodiversity information resources, G...
Knowledge Organization System (KOS) for biodiversity information resources, G...Knowledge Organization System (KOS) for biodiversity information resources, G...
Knowledge Organization System (KOS) for biodiversity information resources, G...
 
Semic 2
Semic 2Semic 2
Semic 2
 
Federated metadata
Federated metadataFederated metadata
Federated metadata
 
Sinux
SinuxSinux
Sinux
 
NIF - Version 1.0 - 2011/10/23
NIF - Version 1.0 - 2011/10/23NIF - Version 1.0 - 2011/10/23
NIF - Version 1.0 - 2011/10/23
 
The Semantic Web: status and prospects
The Semantic Web: status and prospectsThe Semantic Web: status and prospects
The Semantic Web: status and prospects
 
A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...
A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...
A Framework for Context-aware applications for Smart Spaces. ruSmart 2011 St ...
 
From ontology to wiki
From ontology to wikiFrom ontology to wiki
From ontology to wiki
 
Corrib.org - OpenSource and Research
Corrib.org - OpenSource and ResearchCorrib.org - OpenSource and Research
Corrib.org - OpenSource and Research
 
Memory models in c#
Memory models in c#Memory models in c#
Memory models in c#
 

More from Jie Bao

python-graph-lovestory
python-graph-lovestorypython-graph-lovestory
python-graph-lovestoryJie Bao
 
unix toolbox 中文版
unix toolbox 中文版unix toolbox 中文版
unix toolbox 中文版Jie Bao
 
unixtoolbox.book
unixtoolbox.bookunixtoolbox.book
unixtoolbox.bookJie Bao
 
Lean startup 精益创业 新创企业的成长思维
Lean startup 精益创业 新创企业的成长思维Lean startup 精益创业 新创企业的成长思维
Lean startup 精益创业 新创企业的成长思维
Jie Bao
 
Towards social webtops using semantic wiki
Towards social webtops using semantic wikiTowards social webtops using semantic wiki
Towards social webtops using semantic wikiJie Bao
 
Semantic information theory in 20 minutes
Semantic information theory in 20 minutesSemantic information theory in 20 minutes
Semantic information theory in 20 minutesJie Bao
 
Towards a theory of semantic communication
Towards a theory of semantic communicationTowards a theory of semantic communication
Towards a theory of semantic communicationJie Bao
 
Expressive Query Answering For Semantic Wikis (20min)
Expressive Query Answering For  Semantic Wikis (20min)Expressive Query Answering For  Semantic Wikis (20min)
Expressive Query Answering For Semantic Wikis (20min)
Jie Bao
 
Startup best practices
Startup best practicesStartup best practices
Startup best practicesJie Bao
 
Owl 2 quick reference card a4 size
Owl 2 quick reference card a4 sizeOwl 2 quick reference card a4 size
Owl 2 quick reference card a4 sizeJie Bao
 
ISWC 2010 Metadata Work Summary
ISWC 2010 Metadata Work SummaryISWC 2010 Metadata Work Summary
ISWC 2010 Metadata Work SummaryJie Bao
 
Expressive Query Answering For Semantic Wikis
Expressive Query Answering For  Semantic WikisExpressive Query Answering For  Semantic Wikis
Expressive Query Answering For Semantic WikisJie Bao
 
24 Ways to Explore ISWC 2010 Data
24 Ways to Explore ISWC 2010 Data24 Ways to Explore ISWC 2010 Data
24 Ways to Explore ISWC 2010 DataJie Bao
 
Semantic Web: In Quest for the Next Generation Killer Apps
Semantic Web: In Quest for the Next Generation Killer AppsSemantic Web: In Quest for the Next Generation Killer Apps
Semantic Web: In Quest for the Next Generation Killer Apps
Jie Bao
 
Representing financial reports on the semantic web a faithful translation f...
Representing financial reports on the semantic web   a faithful translation f...Representing financial reports on the semantic web   a faithful translation f...
Representing financial reports on the semantic web a faithful translation f...
Jie Bao
 
XACML 3.0 (Partial) Concept Map
XACML 3.0 (Partial) Concept MapXACML 3.0 (Partial) Concept Map
XACML 3.0 (Partial) Concept Map
Jie Bao
 
Development of a Controlled Natural Language Interface for Semantic MediaWiki
Development of a Controlled Natural Language Interface for Semantic MediaWikiDevelopment of a Controlled Natural Language Interface for Semantic MediaWiki
Development of a Controlled Natural Language Interface for Semantic MediaWikiJie Bao
 
Digital image self-adaptive acquisition in medical x-ray imaging
Digital image self-adaptive acquisition in medical x-ray imagingDigital image self-adaptive acquisition in medical x-ray imaging
Digital image self-adaptive acquisition in medical x-ray imagingJie Bao
 
Privacy-Preserving Reasoning on the Semantic Web (Poster)
Privacy-Preserving Reasoning on the Semantic Web (Poster)Privacy-Preserving Reasoning on the Semantic Web (Poster)
Privacy-Preserving Reasoning on the Semantic Web (Poster)Jie Bao
 

More from Jie Bao (20)

python-graph-lovestory
python-graph-lovestorypython-graph-lovestory
python-graph-lovestory
 
unix toolbox 中文版
unix toolbox 中文版unix toolbox 中文版
unix toolbox 中文版
 
unixtoolbox.book
unixtoolbox.bookunixtoolbox.book
unixtoolbox.book
 
Lean startup 精益创业 新创企业的成长思维
Lean startup 精益创业 新创企业的成长思维Lean startup 精益创业 新创企业的成长思维
Lean startup 精益创业 新创企业的成长思维
 
Towards social webtops using semantic wiki
Towards social webtops using semantic wikiTowards social webtops using semantic wiki
Towards social webtops using semantic wiki
 
Semantic information theory in 20 minutes
Semantic information theory in 20 minutesSemantic information theory in 20 minutes
Semantic information theory in 20 minutes
 
Towards a theory of semantic communication
Towards a theory of semantic communicationTowards a theory of semantic communication
Towards a theory of semantic communication
 
Expressive Query Answering For Semantic Wikis (20min)
Expressive Query Answering For  Semantic Wikis (20min)Expressive Query Answering For  Semantic Wikis (20min)
Expressive Query Answering For Semantic Wikis (20min)
 
Startup best practices
Startup best practicesStartup best practices
Startup best practices
 
Owl 2 quick reference card a4 size
Owl 2 quick reference card a4 sizeOwl 2 quick reference card a4 size
Owl 2 quick reference card a4 size
 
ISWC 2010 Metadata Work Summary
ISWC 2010 Metadata Work SummaryISWC 2010 Metadata Work Summary
ISWC 2010 Metadata Work Summary
 
Expressive Query Answering For Semantic Wikis
Expressive Query Answering For  Semantic WikisExpressive Query Answering For  Semantic Wikis
Expressive Query Answering For Semantic Wikis
 
CV
CVCV
CV
 
24 Ways to Explore ISWC 2010 Data
24 Ways to Explore ISWC 2010 Data24 Ways to Explore ISWC 2010 Data
24 Ways to Explore ISWC 2010 Data
 
Semantic Web: In Quest for the Next Generation Killer Apps
Semantic Web: In Quest for the Next Generation Killer AppsSemantic Web: In Quest for the Next Generation Killer Apps
Semantic Web: In Quest for the Next Generation Killer Apps
 
Representing financial reports on the semantic web a faithful translation f...
Representing financial reports on the semantic web   a faithful translation f...Representing financial reports on the semantic web   a faithful translation f...
Representing financial reports on the semantic web a faithful translation f...
 
XACML 3.0 (Partial) Concept Map
XACML 3.0 (Partial) Concept MapXACML 3.0 (Partial) Concept Map
XACML 3.0 (Partial) Concept Map
 
Development of a Controlled Natural Language Interface for Semantic MediaWiki
Development of a Controlled Natural Language Interface for Semantic MediaWikiDevelopment of a Controlled Natural Language Interface for Semantic MediaWiki
Development of a Controlled Natural Language Interface for Semantic MediaWiki
 
Digital image self-adaptive acquisition in medical x-ray imaging
Digital image self-adaptive acquisition in medical x-ray imagingDigital image self-adaptive acquisition in medical x-ray imaging
Digital image self-adaptive acquisition in medical x-ray imaging
 
Privacy-Preserving Reasoning on the Semantic Web (Poster)
Privacy-Preserving Reasoning on the Semantic Web (Poster)Privacy-Preserving Reasoning on the Semantic Web (Poster)
Privacy-Preserving Reasoning on the Semantic Web (Poster)
 

Recently uploaded

State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 

Recently uploaded (20)

State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 

A Controlled Natural Language Interface for Semantic MediaWiki

  • 1. A Controlled Natural Language Interface for Semantic MediaWiki Jie Bao Rensselaer Polytechnic Institute Paul R. Smart, Nigel R. Shadbolt University of Southampton Dave Braines, Gareth Jones IBM UK ACITA 2009, Sep 23, 2009 University of Maryland
  • 2. Motivation “The timely collection of facts obtained at the tactical (and even the interpersonal level) may help to create better operational decisions at all levels. The goal is to create networks of soldiers who are capable of collecting information within their sphere of influence and who can share this information with other members of the net in a timely fashion.” ---Defense Science Board. 2006 Summer Study on 21st Century Strategic Technology Vectors, Volume II, Critical Capabilities and Enabling Technologies. Office of the Under Secretary of Defense for Acquisition, Technology, and Logistics, Washington, DC, 2006. 2
  • 3. Motivation Intelligent Agents/Assistants Analysts Patrols / Field Reports Remote Sensors Shared Repository Multinational Planning Teams Unmanned Vehicles Military Platforms Non - Military Organizations 3
  • 4. Key Requirements • Collaboration Support – Can be used by a variety of different types of contributors – Supports cross-platform access • Ease of Use – Requires least training – Provides simple user interface – Content ease to understand • “Meaningful” Structure – Enables some automated processing of data (e.g., automated data propagation) – Enables discovery of “hidden” knowledge from explicitly known information. 4
  • 5. Enabling Technologies + Every A is B … Semantic Controlled Wiki Natural Language 5
  • 6. Semantic Wiki Multi-user content creation and editing Browser-based, Cross-platform easy to use Semantic Support semantic annotations for Wiki automated processing and inference
  • 7. Semantic MediaWiki (SMW) • It is the most popular semantic wiki system extending MediaWiki (the Wikipedia’s platform) Mediawiki: What you edit what you see 7
  • 8. Semantic MediaWiki To author knowledge typed link (property) SMW: What you edit what you see (Modeling Script) 8
  • 9. Semantic MediaWiki To retrieve knowledge SMW: What you edit what you see (Querying Script) 9
  • 10. Challenges However, SMW is limited by  Expressivity constraints • No support for the full range of RDF/OWL • E.g., we can’t specify that “capital of” property should always link a City to a Country (property domain and range)  Usability • Thinking in the “subject-property-object” fashion may not be ease (as one may think!) • Based on our own experiments with entry-level users. • Knowledge engineers may find it difficult to understand other’s contributions. • Users may prefer different languages styles or even different natural languages.
  • 11. Challenges However, SMW is limited by  Expressivity constraints • No support for the full range of RDF/OWL By extending SMW with an • E.g., we can’t specify that “capital of” property should always link OWL Meta-model a City to a Country (property domain and range) (introduced in details later)  Usability • Thinking in the “subject-property-object” fashion may not be ease (as you may think!) • Based on our own experiments with entry-level users. By allowing modeling/representing knowledge • Knowledge engineers may find it difficult to (CNL) using controlled natural language understand other’s contributions. • Users may prefer different languages styles or even different natural languages.
  • 12. Controlled Natural Language Production of knowledge without using a formal logic. Every A is B… Potential production and comprehension benefits Multiple OWL-compliant CNLs are available: CNL e.g. Rabbit, Sydney OWL Syntax, ACE-OWL
  • 13. Controlled Natural Language Example (In Rabbit syntax): • The “capital of" relationship can only have a “City" as a subject. • The "capital of" relationship can only have a “Country" as an object. Instead of saying (In OWL Abstract Syntax) ObjectProperty(ex:capital_of domain(ex:City) range(ex:Country)) Or (In Description Logics) ∀capital_of.T ⊆City ∀capital_of -.T ⊆ Country 13
  • 14. Solution Summary • Collaboration Support – Natively collaborative for a wiki – Web-based interface accessible from any device that has a browser. • Ease of Use – Simplify knowledge input using semi-automatically generated forms – Multiple OWL-compliant CNLs: e.g. Rabbit (English, Chinese), ACE-OWL • “Meaningful” Structure – Meta-model do the translation between OWL and CNL, and between OWL and SMW scripts – Query and inference supported. 14
  • 15. Architecture Form Editor CNL Editing RDF Export CNL Interface Interface Interface Interface CNLG Module RDF Export Wiki Database RDF Import Semantic Query Interface SELECT ?x WHERE { ?x rdf:typeowl:Class RDF Model } Prototype system: http://tw.rpi.edu/proj/cnl
  • 16. SMW OWL Meta Model 1 Class(Rabbit partial intersectionOf(animal OWL: “Rabbit eats restriction(eat someValuesFrom(FreshVegetable))) some fresh vegetable” 3 2 Form-based editing Us wiki templates to interface associated create OWL meta-model with templates extensions for SMW
  • 17. OWL Class Templates Similarly, we have templates for properties and individuals 17
  • 18. CNL Generation Use SMW queries to retrieve knowledge statements in the OWL meta model {{#vardefine:label|{{CNL.getLabel|{{{1}}} }} }} {{#vardefine:super | {{#ask: [[:{{{1|{{FULLPAGENAME}}}}}]] |?Category= |mainlabel=-|format=list|link=none }} }} Construct sentences according to the syntax of the target CNL {{#if: {{#var:super}} |{{#arraymap:{{#var:super}}|,|xxx|<li>Every [[:{{{1}}}{{!}}{{#var:label}}]] is a kind of [[:xxx|{{CNL.getLabel|xxx}}]] }}|}}
  • 19. Multiple CNL Support Accommodating new CNLs requires relatively minor changes to the wiki script
  • 20. I/O Support • Allows importing of an RDF/OWL ontology • Exporting in three CNL syntaxes • Ontology in the meta-model can be exported in RDF. • Some limitations apply – Limitation supports for blank nodes – Datatypes – Ontology management (e.g. imports) 20
  • 21. Related work AceWiki Differences: • underlying wiki system • editing interface • light-weight extensions • support for multiple CNLs • customization of target CNLs Tobias Kuhn (2008) 21
  • 22. Related work ROO Differences: • Protégé-based vs. wiki- based • Rabbit only vs. multiple CNLs • Formal modeling only vs. formal+informal modeling Vania Dimitrova et al. 2008 22
  • 23. Summary • We have developed an OWL meta-model extension to SMW to support the representation of OWL ontologies • We have provided a light-weight form-based interface to support ontology editing • We have provided an RDF import mechanism to support the import of existing ontologies • We have developed multiple CNL ‘verbalizers’ to support the serialization of semantic wiki content to CNLs • Future work: – Improved expressvity – Enable users to create/customize CNL output – Implement wiki-based CNL editing capability http://tw.rpi.edu/proj/cnl/ 23