Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Building Semantic Web Based Applications with Watson


Published on

Published in: Technology, Education
  • Be the first to comment

Building Semantic Web Based Applications with Watson

  1. 1. Building Semantic Web Based Applications with Watson Mathieu d’Aquin and many other people The Knowledge Media Institute, The Open University [email_address]
  2. 2. The Semantic Web is growing
  3. 3. Next Generation Semantic Web Applications Dynamically retrieving, exploiting and combining relevant semantic resources from the SW, at large Need for a Gateway to the Semantic Web
  4. 4. Next Generation Semantic Web Applications
  5. 5. Architecture
  6. 6. Collection
  7. 7. Interfaces: WUI <ul><li>Web User Interface: </li></ul>
  8. 8. Web services and API <ul><li>A SOAP Based API that provides the infrastructure to: </li></ul><ul><ul><li>F ind SW documents and retrieve metadata about them </li></ul></ul><ul><ul><li>Find entities (classes, properties, individuals) and explore their semantic description </li></ul></ul><ul><ul><li>Apply SPARQL queries to Semantic Web documents </li></ul></ul><ul><li>An initial REST Based API </li></ul><ul><li>But what applications (can) do with it? </li></ul>
  9. 9. Demonstrator: gowgle/wahoo <ul><li>An extension of a web search engine that suggests ways to extend a query thanks to online ontologies </li></ul><ul><li>Example with the query “ researcher ” </li></ul><ul><ul><li>Suggests “academic staff”, “Person”, etc. as terms to generalize the query, and </li></ul></ul><ul><ul><li>“ professor”, “PhD student” as terms to specialize the query </li></ul></ul><ul><ul><li>Without having to give the system any knowledge: everything comes from the Web! </li></ul></ul><ul><li>2 Versions: </li></ul><ul><ul><li>Gowgle ( use the Google SOAP API and the Watson SOAP API </li></ul></ul><ul><ul><li>Wahoo ( use the Yahoo! REST API and the Watson REST API </li></ul></ul>
  10. 10. Query Result from Yahoo! Term suggestions Add/Replace Screenshot of wahoo (REST based)
  11. 11. How to do it? <ul><li>Find ontologies containing the keyword “researcher” </li></ul><ul><ul><li> researcher </li></ul></ul><ul><li>… exactly “researcher” in the label or id of a class </li></ul><ul><ul><li> researcher &scope= LN+Label &ent= Class &match= Exact </li></ul></ul><ul><li>Find entities corresponding to “researcher” in ontology </li></ul><ul><ul><li> researcher &uri= &scope= LN+Label &ent= Class &match= Exact </li></ul></ul><ul><li>Find subclasses and superclasses of an entity </li></ul><ul><ul><li> ent= &uri= http://calo. </li></ul></ul><ul><li>The rest is interface stuff and call to Yahoo! </li></ul>
  12. 12. Other functions <ul><li>Wahoo uses only a subset of the possibilities of the Watson API </li></ul><ul><li>Functions on SW documents (in SOAP and soon in REST): </li></ul>Find SW documents: listSemanticContents getSemanticContentByKeywords getSemanticContentByKeywordsWithRestrictions getBestCoverageWithRestrictions Basic Metadata: getCacheLocation getSemanticContentLocation getImports getNumberOfStatement getSizeInBytes getSemanticContentLanguages getDLExpressivness Content: listClasses listIndividuals listProperties executeSPARQLQuery Reviews (from getNumbearOfReviews getAverageRating getRevyuURL
  13. 13. Other functions <ul><li>Functions on entities (in SOAP and soon in REST): </li></ul>Find Entities: getEntitiesByKeyword getEntitiesByKeywordWithRestriction getBelongsTo Relations: getRelationsFrom getRelationsTo getClasses getDifferentFrom getDisjointWith getDomain getDomainOf getEquivalentClasse getInstances getRange getRangeOf getSameIndividual getSubClasse getSuperClasses Literals: getLiteralsFor getLabels getComment
  14. 14. Real Applications <ul><li>PowerMagpie : Semantic Browsing </li></ul><ul><li>PowerAqua : Question Answering </li></ul><ul><li>Flor : Folksonomy Enrichment </li></ul><ul><li>MOAW : Putting URIs everywhere </li></ul><ul><li>Watson Plugin : Large Scale Knolwedge reuse in Ontology Engineering </li></ul><ul><li>Scarlet : Relation Discovery </li></ul><ul><li>Word Sense Disambiguation, Data Validation, … </li></ul>
  15. 15. And so… <ul><li>Watson is an ongoing work to build an infrastructure supporting the development of SW applications </li></ul><ul><ul><li>Room for contributions ;-) </li></ul></ul><ul><ul><li>And building applications is a form of contribution! </li></ul></ul><ul><li>Many additions currently in development </li></ul><ul><ul><li>Presentation of SW Documents/Ontologies, Ontology Summarization, Modularization </li></ul></ul><ul><ul><li>Classification of SW Documents/Ontologies, ontology directory </li></ul></ul><ul><ul><li>Infrastructure for publishing SW data/ontologies, data hosting </li></ul></ul><ul><ul><li>Efficient cross ontology querying </li></ul></ul><ul><ul><li>Detecting and managing relations between SW documents/ontologies (equivalences, similarity, versions, compatibility, etc.) </li></ul></ul><ul><ul><li>Combining automatic evaluation, user evaluation and trust for (customized) ranking </li></ul></ul><ul><ul><li>Exchange with the p2p networks for ontology sharing </li></ul></ul>
  16. 16. Thank you! Watson: Blog: Mailing list: [email_address] Contact: [email_address]
  17. 17. The Semantic Web is growing… Lee, J., Goodwin, R. (2004) The Semantic Webscape: a View of the Semantic Web. IBM Research Report .
  18. 18. Ontologies Metadata <rdf:RDF> <channel rdf:about=“”> <title>Elementaries - The Watson Blog</title> <link></link> <description> &quot;Oh dear! Where the Semantic Web is going to go now?&quot; -- imaginary user 23 </description> <language>en</language> <copyright>Watson team</copyright> <lastBuildDate>Thu, 01 Mar 2007 13:49:52 GMT</lastBuildDate> <generator>Pebble (</generator> <docs></docs> … <rdf:RDF> <foaf:Image rdf:about=''> <dc:title>Zen wisteria</dc:title> <dc:description></dc:description> <foaf:page rdf:resource=''/> <foaf:topic rdf:resource=''/> <foaf:topic rdf:resource=''/> <dc:creator> <foaf:Person><foaf:name>Mathieu d'Aquin</foaf:name> … <rdf:RDF> <owl:Ontology rdf:about=&quot;&quot;> <owl:imports rdf:resource=&quot;;/> </owl:Ontology> <j.1:Organization rdf:ID=&quot;KMi&quot;> <rdfs:comment rdf:datatype=&quot;; >The Knoledge Media Institute of the Open University, Milton Keynes UK</rdfs:comment> </j.1:Organization> <j.1:Document rdf:ID=&quot;KMiWebSite&quot;> … DOAP FOAF DC RSS TAP WORDNET NCI Galen Music … … … … … … UoD
  19. 19. Next Generation Semantic Web Applications NG SW Application Semantic Web Smart Features <ul><li>Able to exploit the SW at large </li></ul><ul><ul><li>Dynamically retrieving the relevant semantic resources </li></ul></ul><ul><ul><li>Combining several, heterogeneous Ontologies </li></ul></ul>
  20. 20. Design Principles <ul><li>Focused on quality </li></ul><ul><ul><li>Provides quality information about the collected ontologies and semantic data </li></ul></ul><ul><ul><li>Provides valuable services for semantic applications , to discover, select, exploit and combine semantic resources </li></ul></ul><ul><li>Provides a variety of query and access mechanisms </li></ul><ul><ul><li>For both humans (web interface) and machines (web serv., API) </li></ul></ul><ul><ul><li>To fit applications having different purposes and requirements </li></ul></ul><ul><ul><li>Ranging from Keyword search to ontology exploration and formal queries (SPARQL) </li></ul></ul><ul><li>Support for relations between ontologies </li></ul><ul><ul><li>Detecting redundancy, duplication, incompatibility (contradiction), modularization, versioning, etc. </li></ul></ul>