1 / 65

Ian Horrocks Information Systems Group Department of Computer Science University of Oxford

Ian Horrocks Information Systems Group Department of Computer Science University of Oxford. History of the Semantic Web. “A new form of Web content that is meaningful to computers will unleash a revolution of new possibilities ”. Standards. RIF Feb, 2013. PROV Apr, 2013. POWDER

cascata
Download Presentation

Ian Horrocks Information Systems Group Department of Computer Science University of Oxford

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Ian Horrocks Information Systems Group Department of Computer Science University of Oxford

  2. History of the Semantic Web “A new form of Web content that is meaningful to computers will unleash a revolution of new possibilities”

  3. Standards RIF Feb, 2013 PROV Apr, 2013 POWDER Sep, 2009 SAWSDL Aug 2007 SKOS Aug, 2009 JSON-LD 1.0 Jan, 2014 GRDDL Sep, 2007 RDB2RDF Sep, 2012 RDFa 1.1 Mar, 2015 RDFa Oct, 2008

  4. Tools Hermit Initial focus on ontology engineering Main reasoning tasks are (class) consistency and subsumption/classification

  5. Applications: Travel planning and booking

  6. Applications: Content Management

  7. Applications: Search

  8. Applications: Search • Explicit KR sometimes needed, e.g., Knowledge Graph • Less rigorous treatment of semantics • Not using Semantic Web standards

  9. Applications: Search • Explicit KR sometimes needed, e.g., Knowledge Graph • Less rigorous treatment of semantics • Not using Semantic Web standards • Hiring Semantic Web people

  10. Application Domains Agriculture

  11. Application Domains Agriculture Astronomy

  12. Application Domains Agriculture Astronomy Oceanography

  13. Application Domains Agriculture Astronomy Oceanography Defence Education Energy management Geography Gioscience Life sciences …

  14. Application Domains • OBO foundry includes more than 100 biological and biomedical ontologies • Siemens “actively building OWL based clinical solutions” • SNOMED-CT (Clinical Terms) ontology • used in healthcare systems of more than 15 countries, including Australia, Canada, Denmark, Spain, Sweden and the UK • also used by major US providers, e.g., Kaiser Permanente • ontology provides common vocabulary for recording clinical data

  15. Ontologies as structured vocabularies • Ontologies used as structured vocabularies • SNOMED, e.g., distributed as simple taxonomy

  16. Ontologies as structured vocabularies • Ontologies used as structured vocabularies • SNOMED, e.g., distributed as simple taxonomy • Ontology terms used as annotations/tags • Benefits of using logic-based ontology language include • Reasoning support (critical) for development & maintenance, in particular derivation of taxonomy from descriptions (classification) • Easier location of relevant terms within large structured vocab. • Query answers enhanced by exploiting class hierarchy • But limited query answeringw.r.t. Ontology + Data

  17. Data Access Applications: “Big Data” Huge quantity of data increasing at an exponential rate Identifying & accessing relevant data is of critical importance Handling data variety & complexityoften turns out to be main challenge Ontologies can provide integrated anduser-centric view of heterogeneous data sources

  18. Data Access: Statoil Exploration • Geologists & geophysicists use data from previous operations in nearby locations to develop stratigraphic models of unexplored areas • TBs of relational data • using diverse schemata • spread over 1,000s of tables • and multiple data bases

  19. Data Access: Statoil Exploration Data Access • 900 geologists & geophysicists • 30-70% of time on data gathering • 4 day turnaround for new queries • Geologists & geophysicists use data from previous operations in nearby locations to develop stratigraphic models of unexplored areas • TBs of relational data • using diverse schemata • spread over 1,000s of tables • and multiple data bases

  20. Data Access: Statoil Exploration Data Access • 900 geologists & geophysicists • 30-70% of time on data gathering • 4 day turnaround for new queries Data Exploitation • Better use of experts time • Data analysis “most important factor” for drilling success • Geologists & geophysicists use data from previous operations in nearby locations to develop stratigraphic models of unexplored areas • TBs of relational data • using diverse schemata • spread over 1,000s of tables • and multiple data bases

  21. Data Access: Statoil Exploration

  22. Data Access: Statoil Exploration

  23. Data Access: Statoil Exploration Query: Wellbores with cores that overlap log curves

  24. Data Access: Statoil Exploration

  25. Data Access: Statoil Exploration

  26. Data Access: Optique Approach

  27. Data Access: Optique Approach

  28. Data Access: Optique Approach

  29. Data Access: Optique Approach

  30. Data Access: Optique Approach

  31. Data Access: Optique Approach

  32. OWL Profiles OWL 2(2009) defines language subsets, aka profiles that can be “more simply and/or efficiently implemented” • OWL 2 QL • Based on DL-Lite • Efficiently implementable via rewriting into relational queries (OBDA)

  33. OWL 2 QL and Query Rewriting Given QL ontology O query Q and mappings M:

  34. OWL 2 QL and Query Rewriting Given QL ontology O query Q and mappings M: • Use O to rewriteQ →Q0 s.t. answering Q0 without Ois equivalent to answering Q w.r.t. Ofor any dataset

  35. OWL 2 QL and Query Rewriting Given QL ontology O query Q and mappings M: • Use O to rewriteQ →Q0 s.t. answering Q0 without Ois equivalent to answering Q w.r.t. Ofor any dataset • Map ontology queries →DBqueries (typically SQL) using mappings M to rewrite Q0 into a DB query

  36. OWL 2 QL and Query Rewriting Given QL ontology O query Q and mappings M: • Use O to rewriteQ →Q0 s.t. answering Q0 without Ois equivalent to answering Q w.r.t. Ofor any dataset • Map ontology queries →DBqueries (typically SQL) using mappings M to rewrite Q0 into a DB query • Evaluate (SQL) query against DB

  37. Query Rewriting — Issues 1Rewriting • May be large (worst case exponential in size of ontology) • Queries may be hard for existing DBMSs

  38. Query: Wellbores with cores that overlap log curves

  39. Query: Wellbores with cores that overlap log curves

  40. Query: Wellbores with cores that overlap log curves

  41. Query Rewriting — Issues 1Rewriting • May be large (worst case exponential in size of ontology) • Queries may be hard for existing DBMSs 2Mappings • May be difficult to develop and maintain

  42. Data Access: Optique Approach

  43. Query Rewriting — Issues 1Rewriting • May be large (worst case exponential in size of ontology) • Queries may be hard for existing DBMSs 2Mappings • May be difficult to develop and maintain 3Expressivity • OWL 2 QL (necessarily) has (very) restricted expressive power, e.g.: • No functional or transitive properties • No universal (for-all) restrictions • …

  44. OWL Profiles – Beyond QL? OWL 2(2009) defines language subsets, aka profiles that can be “more simply and/or efficiently implemented” • OWL 2 QL • Based on DL-Lite • Efficiently implementable via rewriting into relational queries (OBDA) • OWL 2 RL • Based on “Description Logic Programs” ( ) • Implementable via Datalog query answering • OWL 2 EL • Based on EL++ • Implementable via Datalog query answering plus “filtration”

  45. RL/Datalog Query Ans. via Materialisation Given (RDF) data DB, RL/Datalog ontology O and query Q:

  46. RL/Datalog Query Ans. via Materialisation Given (RDF) data DB, RL/Datalog ontology O and query Q: • Materialise (RDF) data DB → DB0 s.t. evaluating Q w.r.t. DB0 equivalent to answering Q w.r.t. DB and O nb: Closely related to chase procedure used with DB dependencies

  47. RL/Datalog Query Ans. via Materialisation Given (RDF) data DB, RL/Datalog ontology O and query Q: • Materialise (RDF) data DB → DB0 s.t. evaluating Q w.r.t. DB0 equivalent to answering Q w.r.t. DB and O nb: Closely related to chase procedure used with DB dependencies • EvaluateQ against DB0

  48. Materialisation — Issues 1Scalability • Ptime complete • Efficiently implementable in practice? 2Updates • Additions relatively easy (continue materialisation) • But what about retraction? 3Migrating data to RDF • Materialisation assumes data in “special” (RDF triple) store • How can legacy data be migrated? 4Expressivity • ; in particular, no RHS existentials

  49. Materialisation: Scalability • Efficient Datalog/RL engine is critical • Existing approaches mainly target distributed “shared-nothing” architectures, often via map reduce • High communication overhead • Typically focus on small fragments (e.g., RDFS), so don’t really address expressivity issue • Even then, query answering over (distributed) materialized data is non-trivial and may require considerable communication

  50. RDFox Datalog Engine • Targets SOTA main-memory, mulit-core architecture • Optimized in-memory storage with ‘mostly’ lock-free parallel inserts • Memory efficient: commodity server with 128 GB can store >109 triples • Exploits multi-core architecture: 10-20 x speedup with 32/16 threads/cores • LUBM 120K (>1010 triples) in 251s (20M t/s) onT5-8 (4TB/1024 threads)

More Related