China 2009http://www.larkc.eu/1 语义网与本体技术系列讲座 III 专题研究 Research Topics 黄智生 Zhisheng Huang Vrije University Amsterdam The Netherlands

Slides:



Advertisements
Similar presentations
Dr. Leo Obrst MITRE Information Semantics Information Discovery & Understanding Command & Control Center February 6, 2014February 6, 2014February 6, 2014.
Advertisements

Frank van Harmelen Vrije Universiteit Amsterdam The Information Universe of the (Near) Futur e Creative Commons License: allowed to share & remix, but.
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Frank van Harmelen Vrije Universiteit Amsterdam The Web of data and LarKC’s role in it Creative Commons License: allowed to share & remix, but must attribute.
Lukas Blunschi Claudio Jossen Donald Kossmann Magdalini Mori Kurt Stockinger.
The Logic of Intelligence Pei Wang Department of Computer and Information Sciences Temple University.
Ontological Logic Programming by Murat Sensoy, Geeth de Mel, Wamberto Vasconcelos and Timothy J. Norman Computing Science, University of Aberdeen, UK 1.
So What Does it All Mean? Geospatial Semantics and Ontologies Dr Kristin Stock.
IJCAI Reasoning with Inconsistent Ontologies Zhisheng Huang, Frank van Harmelen, and Annette ten Teije Vrije University Amsterdam.
The International RuleML Symposium on Rule Interchange and Applications Local and Distributed Defeasible Reasoning in Multi-Context Systems Antonis Bikakis,
SIG2: Ontology Language Standards WebOnt Briefing Ian Horrocks University of Manchester, UK.
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
Data Intensive Techniques to Boost the Real-time Performance of Global Agricultural Data Infrastructures SEMAGROW U SING A POWDER T RIPLE S TORE FOR BOOSTING.
Using the Semantic Web to Construct an Ontology- Based Repository for Software Patterns Scott Henninger Computer Science and Engineering University of.
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
China05 1 Reasoning with Inconsistent Ontologies 非协调本体的推理 Zhisheng Huang, Frank van Harmelen, and Annette ten Teije Vrije.
How can Computer Science contribute to Research Publishing?
Description Logics. Outline Knowledge Representation Knowledge Representation Ontology Language Ontology Language Description Logics Description Logics.
The Semantic Web Week 12 Term 1 Recap Lee McCluskey, room 2/07 Department of Computing And Mathematical Sciences Module Website:
LEARNING FROM OBSERVATIONS Yılmaz KILIÇASLAN. Definition Learning takes place as the agent observes its interactions with the world and its own decision-making.
UML 对象设计与编程 主 讲 : 董兰芳 副教授 Dept. of Computer Science,USTC
Building Knowledge-Driven DSS and Mining Data
China.2005http://sekt.semanticweb.org/ Reasoning with Multi-version Ontologies: a temporal logic approach Zhisheng Huang and Heiner Stuckenschmidt Vrije.
Semantic Web Technologies Lecture # 2 Faculty of Computer Science, IBA.
Chapter 3A Semantic Web Primer 1 Chapter 3 Querying the Semantic Web Grigoris Antoniou Paul Groth Frank van Harmelen Rinke Hoekstra.
Ontologies: Making Computers Smarter to Deal with Data Kei Cheung, PhD Yale Center for Medical Informatics CBB752, February 9, 2015, Yale University.
OMAP: An Implemented Framework for Automatically Aligning OWL Ontologies SWAP, December, 2005 Raphaël Troncy, Umberto Straccia ISTI-CNR
Managing Large RDF Graphs (Infinite Graph) Vaibhav Khadilkar Department of Computer Science, The University of Texas at Dallas FEARLESS engineering.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Applying Belief Change to Ontology Evolution PhD Student Computer Science Department University of Crete Giorgos Flouris Research Assistant.
The Semantic Web Service Shuying Wang Outline Semantic Web vision Core technologies XML, RDF, Ontology, Agent… Web services DAML-S.
An Integration Framework for Sensor Networks and Data Stream Management Systems.
PART IV: REPRESENTING, EXPLAINING, AND PROCESSING ALIGNMENTS & PART V: CONCLUSIONS Ontology Matching Jerome Euzenat and Pavel Shvaiko.
Master Thesis Defense Jan Fiedler 04/17/98
Configuration Management (CM)
Data Mining Chapter 1 Introduction -- Basic Data Mining Tasks -- Related Concepts -- Data Mining Techniques.
第十讲 概率图模型导论 Chapter 10 Introduction to Probabilistic Graphical Models
SSET2009 Sponsored by: Design Centered Learning Managing Engineering Knowledge in Education 高汉 (Han van Triest) Sino-Dutch School.
EU Project proposal. Andrei S. Lopatenko 1 EU Project Proposal CERIF-SW Andrei S. Lopatenko Vienna University of Technology
© DATAMAT S.p.A. – Giuseppe Avellino, Stefano Beco, Barbara Cantalupo, Andrea Cavallini A Semantic Workflow Authoring Tool for Programming Grids.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
An Ontological Framework for Web Service Processes By Claus Pahl and Ronan Barrett.
Semantic Web - an introduction By Daniel Wu (danielwujr)
Knowledge Representation of Statistic Domain For CBR Application Supervisor : Dr. Aslina Saad Dr. Mashitoh Hashim PM Dr. Nor Hasbiah Ubaidullah.
©Ferenc Vajda 1 Semantic Grid Ferenc Vajda Computer and Automation Research Institute Hungarian Academy of Sciences.
Efficient RDF Storage and Retrieval in Jena2 Written by: Kevin Wilkinson, Craig Sayers, Harumi Kuno, Dave Reynolds Presented by: Umer Fareed 파리드.
Using Several Ontologies for Describing Audio-Visual Documents: A Case Study in the Medical Domain Sunday 29 th of May, 2005 Antoine Isaac 1 & Raphaël.
FDT Foil no 1 On Methodology from Domain to System Descriptions by Rolv Bræk NTNU Workshop on Philosophy and Applicablitiy of Formal Languages Geneve 15.
SKOS. Ontologies Metadata –Resources marked-up with descriptions of their content. No good unless everyone speaks the same language; Terminologies –Provide.
Tool for Ontology Paraphrasing, Querying and Visualization on the Semantic Web Project By Senthil Kumar K III MCA (SS)‏
Majid Sazvar Knowledge Engineering Research Group Ferdowsi University of Mashhad Semantic Web Reasoning.
Introduction to the Semantic Web and Linked Data Module 1 - Unit 2 The Semantic Web and Linked Data Concepts 1-1 Library of Congress BIBFRAME Pilot Training.
Trustworthy Semantic Webs Dr. Bhavani Thuraisingham The University of Texas at Dallas Lecture #4 Vision for Semantic Web.
Metadata Common Vocabulary a journey from a glossary to an ontology of statistical metadata, and back Sérgio Bacelar
Of 33 lecture 1: introduction. of 33 the semantic web vision today’s web (1) web content – for human consumption (no structural information) people search.
KR A Principled Framework for Modular Web Rule Bases and its Semantics Anastasia Analyti Institute of Computer Science, FORTH-ICS, Greece Grigoris.
05/01/2016 SPARQL SPARQL Protocol and RDF Query Language S. Garlatti.
Clinical research data interoperbility Shared names meeting, Boston, Bosse Andersson (AstraZeneca R&D Lund) Kerstin Forsberg (AstraZeneca R&D.
A Portrait of the Semantic Web in Action Jeff Heflin and James Hendler IEEE Intelligent Systems December 6, 2010 Hyewon Lim.
WonderWeb. Ontology Infrastructure for the Semantic Web. IST Project Review Meeting, 11 th March, WP2: Tools Raphael Volz Universität.
1 Model Checking E. M. Clarke, O. Grumberg, D. A. Peled.
From NARS to a Thinking Machine Pei Wang Temple University.
WonderWeb. Ontology Infrastructure for the Semantic Web. IST WP4: Ontology Engineering Heiner Stuckenschmidt, Michel Klein Vrije Universiteit.
Generation of Chinese Character Based on Human Vision and Prior Knowledge of Calligraphy 报告人: 史操 作者: 史操、肖建国、贾文华、许灿辉 单位: 北京大学计算机科学技术研究所 NLP & CC 2012: 基于人类视觉和书法先验知识的汉字自动生成.
韩文数据库使用说明 鲁锦松. 主要内容 一、为什么要用数据库 二、怎样利用中文数据库 三、怎样利用韩文数据库.
Ontology Technology applied to Catalogues Paul Kopp.
SME.USTB Human Factors 人机工程学 By Wei Dong Department of Industry Design, SME, USTB.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
The Semantic Web By: Maulik Parikh.
ece 720 intelligent web: ontology and beyond
Presentation transcript:

China 2009http:// 语义网与本体技术系列讲座 III 专题研究 Research Topics 黄智生 Zhisheng Huang Vrije University Amsterdam The Netherlands

China 2009http:// 语义网与本体技术系列讲座 第一部分:导论 2009 年 9 月 9 日星期三 14 : : 30 第二部分:逻辑基础 2009 年 9 月 12 日星期六 10 : : 30 第三部分:专题研究 2009 年 9 月 13 日星期日 9 : : LarKC 人员专题讨论 2009 年 9 月 13 日星期日 14 : : 30

China 2009http:// Outline 本体推理与管理 (Reasoning and Management of Ontologies) 不一致性本体的推理( Reasoning with Inconsistent Ontologies) 海量语义数据推理 (Scalable Reasoning) 结论和讨论 (Conclusion and Discussion)

China 2009http:// Ontology Reasoning and Inconsistency Management

China 2009http:// Inconsistency and the Semantic Web The Semantic Web is characterized by scalability, distribution, and multi-authorship All these may introduce inconsistencies.

China 2009http:// Ontologies will be inconsistent Because of: mistreatment of defaults polysemy migration from another formalism integration of multiple sources … (“Semantic Web as a wake-up call for KR”)

China 2009http:// Example: Inconsistency by mistreatment of default rules MadCow Ontology Cow  Vegetarian MadCow  Cow MadCow   Eat.BrainofSheep Sheep  Animal Vegetarian   Eat.  (Animal  PartofAnimal) Brain  PartofAnimal theMadCow  MadCow...

China 2009http:// Example: Inconsistency through imigration from other formalism DICE Ontology Brain  CentralNervousSystem Brain  BodyPart CentralNervousSystem  NervousSystem BodyPart   NervousSystem

China 2009http:// Inconsistency and Explosion The classical entailment is explosive: P, ¬ P |= Q Any formula is a logical consequence of a contradiction. The conclusions derived from an inconsistent ontology using the standard reasoning may be completely meaningless

China 2009http:// Why DL reasoning cannot escape the explosion The derivation checking is usually achieved by the satisfiability checking.  |=     {¬  } is not satisfiable. Tableau algorithms are approaches based on the satisfiability checking  is inconsistent =>  is not satisfiable =>   {¬  } is not satisfiable.

China 2009http:// Two main approaches to deal with inconsistency Inconsistency Diagnosis and Repair Ontology Diagnosis(Schlobach and Cornet 2003) Reasoning with Inconsistency Paraconsistent logics Limited inference (Levesque 1989) Approximate reasoning(Schaerf and Cadoli 1995) Resource-bounded inferences(Marquis et al.2003) Belief revision on relevance (Chopra et al. 2000)

China 2009http:// What an inconsistency reasoner is expected Given an inconsistent ontology, return meaningful answers to queries. General solution: Use non-standard reasoning to deal with inconsistency  |=  : the standard inference relations  |  : nonstandard inference relations

China 2009http:// Reasoning with inconsistent ontologies: Main Idea Starting from the query, 1.select consistent sub-theory by using a relevance-based selection function. 2.apply standard reasoning on the selected sub-theory to find meaningful answers. 3.If it cannot give a satisfying answer, the selection function would relax the relevance degree to extend consistent sub-theory for further reasoning.

China 2009http:// New formal notions are needed New notions: Accepted: Rejected: Overdetermined: Undetermined: Soundness: (only classically justified results) Meaningfulness: (sound & never overdetermined) soundness +

China 2009http:// Soundness:  |  =>  `  (  ` consistent and  `|=  ). Meaningfulness: sound and consistent (  |  =>  ¬  ). Local Completeness w.r.t a consistent  `  : (  `|=  =>  |  ). Maximality: locally complete w.r.t a maximal consistent set  `. Local Soundness w.r.t.a consistent set  `:  |  =>  `|=  ). Some Formal Definitions

China 2009http:// Selection Functions Given an ontology T and a query , a selection function s(T, ,k) returns a subset of the ontology at each step k>0.

China 2009http:// General framework Use selection function s(T, ,k), with s(T, ,k)  s(T, ,k+1) 1.Start with k=0: s(T, ,0) |=  or s(T, ,0) |=  ? 2.Increase k, until s(T, ,k) |=  or s(T, ,k) |=  3.Abort when undetermined at maximal k overdetermined at some k

China 2009http:// Inconsistency Reasoning Processing: Linear Extension

China 2009http:// Proposition: Linear Extension Never over-determined May undetermined Always sound Always meaningful Always locally complete May not maximal Always locally sound

China 2009http:// Direct Relevance and K Relevance Direct relevance (0-relevance). there is a common name in two formulas: C(  )  C(  )   R(  )  R(  )   I(  )  I(  ) . K-relevance: there exist formulas  0,  1,…,  k such that  and  0,  0 and  1, …,  k and  are directly relevant.

China 2009http:// Relevance-based Selection Functions s(T, ,0)=  s(T, ,1)= {  T:  is directly relevant to  }. s(T, ,k)= {  T:  is directly relevant to s(T, ,k-1)}.

China 2009http:// PION Prototype PION: Processing Inconsistent ONtologies

China 2009http:// An Extended DIG Description Logic Interface for Prolog (XDIG) A logic programming infrastructure for the Semantic Web Similar to SOAP Application independent, platform independent Support for DIG clients and DIG servers.

China 2009http:// XDIG As a DIG client, the Prolog programs can call any external DL reasoner which supports the DIG DL interface. As a DIG server, the Prolog programs can serve as a DL reasoner, which can be used to support additional reasoning processing, like inconsistency reasoning multi-version reasoning, and inconsistency diagnosis and repair.

China 2009http:// XDIG package The XDIG package and the source code are now available for public download at the website: In the package, we offer five examples how XDIG can be used to develop extended DL reasoners.

China 2009http:// PION Testbed

China 2009http:// Answer Evaluation Intended Answer (IA): PION answer = Intuitive Answer Cautious Answer (CA): PION answer is ‘undetermined’, but intuitive answer is ‘accepted’ or ‘rejected’. Reckless Answer (RA): PION answer is ‘accepted’ or ‘rejected’, but intuitive answer is ‘undetermined’. Counter Intuitive Answer (CIA): PION answer is ‘accepted’ but intuitive answer is ‘rejected’, or vice verse.

China 2009http:// Preliminary Tests with Syntactic-relevance Selection Function OntologyQueriesIACARACIAIA (%) ICR (%) Bird Brain (DICE) Married Woman MadCow

China 2009http:// Intensive Tests on PION Evaluation and test on PION with several realistic ontologies: Communication Ontology Transportation Ontology MadCow Ontology Each ontology has been tested by thousands of queries with different selection functions.

China 2009http:// Summary we proposed a general framework for reasoning with inconsistent ontologies based on selecting ever increasing consistent subsets choice of selection function is crucial query-based selection functions are flexible to find intended answers simple syntactic selection works surprisingly well

China 2009http:// Extension Semantic Relevance Based Selection Functions K-extension Variants of over-determined processing strategies Integrating with the diagnosis approach

Using Semantic Distances for Reasoning with Inconsistent Ontologies Google distances are used to develop semantic relevance functions to reason with inconsistent ontologies. Assumption: two concepts appear more frequently in the same web page, they are semantically more similar (relevant).

Google Distances (Cilibrasi and Vitanyi 2004) Google distance is measured in terms of the co- occurrence of two search items in the Web by Google search engine. Normalized Google Distance (NGD) is introduced to measure the similarity/light-weight semantic relevance NGD(x,y)= (max{log f(x), log f(y)}-log f(x,y))/(log M- min{log f(x),log f(y)} where f(x) is the number of Google hits for x f(x,y) is the number of Google hits for the tuple of search items x and y M is the number of web pages indexed by Google.

China 2009http:// Semantic Distances Define semantic distances (SD) between two formulas in terms of semantic distances between two concepts/roles/individuals (NGD)

China 2009http:// Postulates for Semantic Distances

Semantic Distances Semantic distance are measured by the ratio of the summed distance of the difference between two formulae to the maximal distance between two formulae.

China 2009http:// Proposition The semantic distance SD satisfies the properties Range, Reflexivity, Symmetry, Maximum Distance, and Intermediate Values.

China 2009http:// Example: MadCow NGD(MadCow, Grass)= NGD(MadCow, Sheep)=0.6120

China 2009http:// Implementation: PION PION: Processing Inconsistent ONtologies

Answer Evaluation Intended Answer (IA): Query answer = Intuitive Answer Cautious Answer (CA): Query answer is ‘undetermined’, but Intutitve answer is ‘accepted’ or ‘rejected’. Reckless Answer (RA): Query answer is ‘accepted’ or ‘rejected’, but Intutive answer is ‘undetermined’. Counter Intuitive Answer (CIA): Query answer is ‘accepted’ but Intuitive answer is ‘rejected’, or vice versa.

Syntactic approach vs. Semantic approach: quality of query answers

Syntactic approach vs. Semantic approach: Time Performance

Summary The run-time of the semantic approach is much better than the syntactic approach, while the quality remains comparable. The semantic approach can be parameterised so as to stepwise further improve the run-time with only a very small drop in quality.

Summary (cont.) The semantic approach for reasoning with inconsistent ontologies trade-off computational cost for inferential completeness, and provide attractive scalability.

China 2009http:// LarKC: 一个海量语义数据处理 平台 The Large Knowledge Collider ( 大型知识 对撞机) A configurable platform for experimentation by others

China 2009http:// 可布局平台 “Configurable platform” “a configurable platform for infinitely scalable semantic web reasoning”. Enrich current logic-based Semantic Web reasoning with methods from information retrieval, machine learning, information theory, databases, and probabilistic reasoning

China 2009http:// 网络科学与人类智能科学的结合 Web Science with Human Intelligence Employing cognitively inspired approaches and techniques such as spreading activation, focus of attention, reinforcement, habituation, relevance reasoning, and bounded rationality

China 2009http:// Achieve scalability through giving up completeness by giving up 100% correctness: trading quality for size often completeness is not needed sometimes even correctness is not needed precision (soundness) recall (completeness) logic IR Semantic Web

China 2009http:// 通过并行计算达到海量数据处理能力 Achieve Scalability through Parallelization by parallelisation: cluster computing wide area distribution “self-computing semantic Web” cloud computing 云计算 (Amazon , Google)

China 2009http:// 欧盟第七框架研究课题 : LarKC EU 7th framework Project 总预算 1 千万欧元: 10M€ budget 历时 3 年半: 3.5 years 八十个人年: 80 person years 3 个实例研究: 3 case studies 14 个合作单位: 14 partners, 来自 12 个国家: 12 countries, 来自 3 大洲: 3 continents project nr. FP7 –

China 2009http:// The consortium 50 people present

China 2009http:// The Consortium Combining consortium competence IR, Cognition ML, Ontologies Statistics, ML, Cognition,DB Logic,DB, Probabilistic Inference Economics, Decision Theory

China 2009http:// 课题组成 Project Workpackages WP1 – Conceptual Framework & Evaluation WP 2: Retrieval and Selection WP5: Collider Platform WP 9: Exploitation and standards WP 10: Project Management WP 8: Training, dissemination, community building WP3: Abstraction and Learning WP4: Reasoning and Deciding WP 6: Use case: Real Time City WP 7a: Use case: Early Clinical Development WP 7b: Use case: Carcinogenesis Reference Production

China 2009http:// Use case: Drug Discovery Problem: pharmaceutical R&D in early clinical development is stagnating (Q1Q2Q3)(Q1Q2Q3) FDA white paper Innovation or Stagnation (March 2004): “developers have no choice but to use the tools of the last century to assess this century's candidate solutions.” “industry scientists often lack cross-cutting information about an entire product area, or information about techniques that may be used in areas other than theirs” FDA white paper Innovation or Stagnation (March 2004): “developers have no choice but to use the tools of the last century to assess this century's candidate solutions.” “industry scientists often lack cross-cutting information about an entire product area, or information about techniques that may be used in areas other than theirs” “ Show me any potential liver toxicity associated with the compound’s drug class, target, structure and disease.” Show me all liver toxicity associated with the target or the pathway. Genetics “Show me all liver toxicity associated with compounds with similar structure” Chemistry “Show me all liver toxicity from the public literature and internal reports that are related to the drug class, disease and patient population” LITERATURE Current NCBI: linking but no inference

China 2009http:// Use Case: Real Time City Our cities face many challenges Urban Computing is the ICT way to address them How can we redevelop existing neighborhoods and business districts to improve the quality of life? How can we create more choices in housing, accommodating diverse lifestyles and all income levels? How can we reduce traffic congestion yet stay connected? How can we include citizens in planning their communities rather than limiting input to only those affected by the next project? How can we fund schools, bridges, roads, and clean water while meeting short-term costs of increased security? How can we redevelop existing neighborhoods and business districts to improve the quality of life? How can we create more choices in housing, accommodating diverse lifestyles and all income levels? How can we reduce traffic congestion yet stay connected? How can we include citizens in planning their communities rather than limiting input to only those affected by the next project? How can we fund schools, bridges, roads, and clean water while meeting short-term costs of increased security? Is public transportation where the people are? Which landmarks attract more people? Where are people concentrating? Where is traffic moving?

China 2009http:// 课题时间表 Project Timeline Surveys (plugins, platform) Requirements (use cases) Prototype Internal Release Public Release Final Release Use Cases V1 Use Cases V2 Use Cases V

China 2009http:// 如果你对参与开发感兴趣的话 How can any other interested party contribute? The Large Knowledge Collider is an open, and configurable platform. The first public version of the Large Knowledge Collider is available. LarKC has formed an "early adapters group". LarKC will actively support this group in use the Large Knowledge Collider platform.

China 2009http:// LarKC 中文论坛 chinese-forum

China 2009http:// Realising the Architecture Pipeline Support System Pipeline Support System Plug-in Registry Plug-in Manager Data Layer Plug-in API Data Layer API RDF Store RDF Store 59

China 2009http:// Data Layer API Pipeline Support System Pipeline Support System Plug-in Registry RDF Store RDF Store RDF Store RDF Store RDF Store RDF Store RDF Doc RDF Doc RDF Doc RDF Doc Data Layer Decider Plug-in API Plug-in Manager Query Transformer Query Transformer Plug-in API Plug-in Manager Identifier Plug-in API Plug-in Manager Info. Set Transformer Info. Set Transformer Plug-in API Plug-in Manager Selecter Plug-in API Plug-in Manager Reasoner Plug-in API Application RDF Doc RDF Doc Platform Utility Functionality APIs Plug-ins External systems External data sources LarKC Architecture 60

China 2009http:// LarKC Plug-in API: General Plug-in Model Plug-ins are identified by a URI (Uniform Resource Identifier) Plug-ins provide MetaData about what they do (Functional properties): e.g. type = Selecter Plug-ins provide information about their behaviour and needs, including Quality of Service information (Non-functional properties): e.g. Throughput, MinMemory, Cost,… + URI getIdentifier() + QoSInformation getQoSInformation() + URI getIdentifier() + QoSInformation getQoSInformation() Plug-in  Functional properties  Non-functional properties  WSDL description  Functional properties  Non-functional properties  WSDL description Plug-in description 61

China 2009http:// LarKC Plug-in API: IDENTIFY IDENTIFY: Given a query, identify resources that could be used to answer it Sindice – Triple Pattern Query  RDF Graphs Google – Keyword Query  Natural Language Document Triple Store – SPARQL Query  RDF Graphs + Collection identify (Query theQuery, Contract contract, Context context) + Collection identify (Query theQuery, Contract contract, Context context) Identifier 62

China 2009http:// LarKC Plug-in API: TRANSFORM (1/2) Query TRANSFORM: Transforms a query from one representation to another SPARQL Query  Triple Pattern Query SPARQL Query  Keyword Query SPARQL Query  SPARQL Query (different abstraction) SQARQL Query  CycL Query + Set transform(Query theQuery, Contract theContract, Context theContext) QueryTransformer 63

China 2009http:// LarKC Plug-in API: TRANSFORM (2/2) Information Set TRANSFORM: Transforms data from one representation to another Natural Language Document  RDF Graph Structured Data Sources  RDF Graph RDF Graph  RDF Graph (e.g. foaf vocabulary to facebook vocabulary ) + InformationSet transform(InformationSet theInformationSet, Contract theContract, Context theContext) InformationSetTransformer 64

China 2009http:// LarKC Plug-in API: SELECT SELECT: Given a set of statements (e.g. a number of RDF Graphs) will choose a selection/sample from this set Collection of RDF Graphs  Triple Set (Merged) Collection of RDF Graphs  Triple Set (10% of each) Collection of RDF Graphs  Triple Set (N Triples) + SetOfStatements select(SetOfStatements theSetOfStatements, Contract contract, Context context) + SetOfStatements select(SetOfStatements theSetOfStatements, Contract contract, Context context) Selecter 65

China 2009http:// LarKC Plug-in API: REASON REASON: Executes a query against the supplied set of statements SPARQL Query  Variable Binding (Select) SPARQL Query  Set of statements (Construct) SPARQL Query  Set of statements (Describe) SPARQL Query  Boolean (Ask) + VariableBinding sparqlSelect(SPARQLQuery theQuery, SetOfStatements theSetOfStatements, Contract contract, Context context) + SetOfStatements sparqlConstruct(SPARQLQuery theQuery, SetOfStatements theSetOfStatements, Contract contract, Context context) + SetOfStatements sparqlDescribe(SPARQLQuery theQuery, SetOfStatements theSetOfStatements, Contract contract, Context context) + BooleanInformationSet sparqlAsk(SPARQLQuery theQuery, SetOfStatements theSetOfStatements, Contract contract, Context context) + VariableBinding sparqlSelect(SPARQLQuery theQuery, SetOfStatements theSetOfStatements, Contract contract, Context context) + SetOfStatements sparqlConstruct(SPARQLQuery theQuery, SetOfStatements theSetOfStatements, Contract contract, Context context) + SetOfStatements sparqlDescribe(SPARQLQuery theQuery, SetOfStatements theSetOfStatements, Contract contract, Context context) + BooleanInformationSet sparqlAsk(SPARQLQuery theQuery, SetOfStatements theSetOfStatements, Contract contract, Context context) Reasoner 66

China 2009http:// LarKC Plug-in API: DECIDE DECIDE: Builds the pipeline and manages the control flow Scripted Decider: Predefined pipeline is built and executed Self-configuring Decider: Uses plug-in descriptions (functional and non- functional properties) to build the pipeline + VariableBinding sparqlSelect(SPARQLQuery theQuery, QoSParameters theQoSParameters) + SetOfStatements sparqlConstruct(SPARQLQuery theQuery, QoSParameters theQoSParameters) + SetOfStatements sparqlDescribe(SPARQLQuery theQuery, QoSParameters theQoSParameters) + BooleanInformationSet sparqlAsk(SPARQLQuery theQuery, QoSParameters theQoSParameters) + VariableBinding sparqlSelect(SPARQLQuery theQuery, QoSParameters theQoSParameters) + SetOfStatements sparqlConstruct(SPARQLQuery theQuery, QoSParameters theQoSParameters) + SetOfStatements sparqlDescribe(SPARQLQuery theQuery, QoSParameters theQoSParameters) + BooleanInformationSet sparqlAsk(SPARQLQuery theQuery, QoSParameters theQoSParameters) Decider 67

China 2009http:// Decider Plug-in API Plug-in Manager Query Transformer Query Transformer Plug-in API Plug-in Manager Identifier Plug-in API Plug-in Manager Info. Set Transformer Info. Set Transformer Plug-in API Plug-in Manager Selecter Plug-in API Plug-in Manager Reasoner Plug-in API Plug-in Registry Pipeline Support System Pipeline Support System RDF Store RDF Store Identifier Info Set Transformer Reasoner Decider Selecter Query Transformer Query Transformer What does a pipeline look like? 68

China 2009http:// LarKC Data Model :Transport By Reference RDF Graph Default Graph RDF Graph Dataset: Collection of named graphs Labeled Set: Pointers to data Current Scale: O(10 10 ) triples 69

China 2009http:// LarKC Platform and the DIG plug-in LarKC Platform DIG Interface Plug-in Racer FACT++ KAON2

China 2009http:// Tasks of the DIG Plug-in 1.Translate a set of statements (ontology data) into a DIG data. If it is OWL-DL data, the use the OWL2DIG library to translate it into a DIG data 2.Translate SPARQL(DL) query into DIG - deal with triple-encoded DL expressions 3. Query processing and answer checking 4. Translate DIG answers into SPARQL answers 71 footer 23/06/2015

China 2009http:// LarKC Platform and the DIG plug-in LarKC Platform DIG Interface Plug-in External DIG Reasoner Ontology (URI)/ Set of Statements Tell SPARQL query Ask Response SPARQL Answer

China 2009http:// The DIG plug-in (v0.3) Have been supported Support the DIG interface 1.1. Support Sparqlask and Sparqlselect. DL Expressions (conjunction, disjunction, disjoint, negation) DIG queries (subsumption, instance, instances) Have been tested with Racer PION To be supported soon: Complex DL concept expressions (such as nominal, min, max, etc.) Complex Sparql expressions (such as Filtering, Optional, Regular expressions, sparqlconstruct, sparqldescribe, etc.) Complex DIG queries (role query, functional query, value pair query)

China Why SPARQL-DL? SPARQL is too expressive for a DL reasoner can support. In SPARQL, there is no semantic interpretation for DL expressions such as owl:sameas, owl:disjointwith, etc. SPARQL-DL is a DL-specific SPARQL with some DL primitives, such as type(a, C), SubClassof(C1, C2), DisjointWith(C1,C2), ComplementOf(C1,C2),EquivalentClass( C1,C2),…(Sirin and Parsia 2007)

China 2009http:// Translation of DL expressions into RDF triples Using the OWL-DL method (Patel- Schneider,Hayes, Horrocks 2004). semantics/mapping.html

China 2009http:// SPARQL-DL Query Example 1 ?- subClassOf(Wine, PotableLiquid) // to ask whether or not wine is a subclass of potable liquid PREFIX rdfs: PREFIX wine: PREFIX food: ASK WHERE { wine:Wine rdfs:subClassOf food:PotableLiquid.}

China 2009http:// SPARQL-DL Query Example 2 ?- subClassOf(Bordeaux, and(SweetWine, TableWine)) // to ask whether or not Bordeaux is a SweetWine and TableWine PREFIX rdfs: PREFIX rdf: …… PREFIX owl: ASK wine:Bordeaux rdfs:subClassOf _:x. _:x owl:interSectionOf _:y1. _:y1 rdf:first wine:SweetWine. _:y1 rdf:rest wine:TableWine. wine:Bordeaux rdf:type owl:Class.}

China 2009http:// Simple SPARQLSelect Query: Example 3 ?- subClassOf(?X, Wine) // to list all subconcepts of Wine PREFIX rdfs: PREFIX wine: SELECT ?X WHERE { ?X rdfs:subClassOf wine:Wine.}

China 2009http:// SPARQL-DL Query Example 4 ?- subClassOf(Bordeaux, ?X), subClassOf(?X,Wine), subClassOf(?X,?Y). PREFIX rdfs: ….. PREFIX wine: SELECT ?X ?Y WHERE { wine:Bordeaux rdfs:subClassOf ?X. ?X rdfs:subClassOf wine:Wine. ?X rdfs:subClassOf ?Y. ?Y rdf:type owl:Class.}

China 2009http:// PION and External DIG Reasoner PION needs an external DIG Reasoner for standard reasoning(i.e., non-inconsistency reasoning)

China 2009http:// Compare it with that from a standard DL reasoner You can see that when querying an inconsistent ontology, the standard DL reasoner always returns an error message, like this: <responses xmlns=" xmlns:xsi=" instance" xsi:schemaLocation=" <error id=" ns#type message="ABox is incoherent."/>

China 2009http:// Various Strategies You can use the PION testbed page piontest2.htm to select different strategies for reasoning with inconsistent ontologies by PION: selection functions (syntactic relevance, concept syntactic relevance, or semantic relevance by Google distances), over-determed processing methods (first maximal consistent set, or path pruning with Google distances), extension strategies (linear extension or k- extension).

China 2009http:// Questions and Discussions