Language (Formalisms) For Ontology Building Neda Alipanah 22 October 2012.

Slides:



Advertisements
Similar presentations
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
Advertisements

Dr. Leo Obrst MITRE Information Semantics Information Discovery & Understanding Command & Control Center February 6, 2014February 6, 2014February 6, 2014.
Jim Hendler Chief Scientist - Information Systems Office DARPA.
1 ICS-FORTH & Univ. of Crete SeLene November 15, 2002 A View Definition Language for the Semantic Web Maganaraki Aimilia.
Metadata vocabularies and ontologies Dr. Manjula Patel Technical Research and Development
W3C and RDF. Why OCLC is a W3C Member Access to networked information resources –the browser and online access –the breath and depth of networked information.
SPARQL Dimitar Kazakov, with references to material by Noureddin Sadawi ARIN, 2014.
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Chronos: A Tool for Handling Temporal Ontologies in Protégé
Semantic Web Thanks to folks at LAIT lab Sources include :
The Semantic Web – WEEK 4: RDF
Dr. Bhavani Thuraisingham February 18, 2011 Building Trustworthy Semantic Webs RDF and RDF Security.
An Introduction to RDF(S) and a Quick Tour of OWL
Logics for Data and Knowledge Representation Projects and thesis introduction.
An Introduction to Semantic Web Portal
Natural Language and Speech Processing Professor: Dr. Christel Kemke Winter 2004 Knowledge Representation on the Semantic Web by Femi G. Olumofin.
27 January Semantically Coordinated E-Market Semantic Web Term Project Prepared by Melike Şah 27 January 2005.
CS570 Artificial Intelligence Semantic Web & Ontology 2
By Ahmet Can Babaoğlu Abdurrahman Beşinci.  Suppose you want to buy a Star wars DVD having such properties;  wide-screen ( not full-screen )  the extra.
Master Informatique 1 Semantic Technologies Part 4Jena Werner Nutt.
RDF Tutorial.
JENA –A SEMANTIC WEB TOOL by Ranjani Sankaran & krishna Priyanka Chebrolu.
© Copyright IBM Corporation 2014 Getting started with Rational Engineering Lifecycle Manager queries Andy Lapping – Technical sales and solutions Joanne.
Columbia University Department of Computer Science COMS – E6125 Web-enHanced Information Management Presentation A Study to the Semantic Web and Semantic.
ICE0534 – Web-based Software Development ICE1338 – Programming for WWW Lecture #12 Lecture #12 In-Young Ko iko.AT. icu.ac.kr iko.AT. icu.ac.kr Information.
 Copyright 2004 Digital Enterprise Research Institute. All rights reserved. SPARQL Query Language for RDF presented by Cristina Feier.
Building and Analyzing Social Networks Web Data and Semantics in Social Network Applications Dr. Bhavani Thuraisingham February 15, 2013.
The Web of data with meaning... By Michael Griffiths.
Ontology Notes are from:
COMP 6703 eScience Project Semantic Web for Museums Student : Lei Junran Client/Technical Supervisor : Tom Worthington Academic Supervisor : Peter Strazdins.
Module 2b: Modeling Information Objects and Relationships IMT530: Organization of Information Resources Winter, 2007 Michael Crandall.
Using Java in Linked Data Applications Fuming Shih Oct 12.
A Really Brief Crash Course in Semantic Web Technologies Rocky Dunlap Spencer Rugaber Georgia Tech.
Ontologies: Making Computers Smarter to Deal with Data Kei Cheung, PhD Yale Center for Medical Informatics CBB752, February 9, 2015, Yale University.
Managing Large RDF Graphs (Infinite Graph) Vaibhav Khadilkar Department of Computer Science, The University of Texas at Dallas FEARLESS engineering.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
Logics for Data and Knowledge Representation
The Semantic Web Web Science Systems Development Spring 2015.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Semantic Web - an introduction By Daniel Wu (danielwujr)
Dr. Bhavani Thuraisingham August 2006 Building Trustworthy Semantic Webs Unit #1: Introduction to The Semantic Web.
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
Dr. Bhavani Thuraisingham The University of Texas at Dallas Trustworthy Semantic Webs March 25, 2011 Data and Applications Security Developments and Directions.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
The future of the Web: Semantic Web 9/30/2004 Xiangming Mu.
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.
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
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.
Strategies for subject navigation of linked Web sites using RDF topic maps Carol Jean Godby Devon Smith OCLC Online Computer Library Center Knowledge Technologies.
Dr. Bhavani Thuraisingham September 24, 2008 Building Trustworthy Semantic Webs Lecture #9: RDF and RDF Security.
Doc.: IEEE /0169r0 Submission Joe Kwak (InterDigital) Slide 1 November 2010 Slide 1 Overview of Resource Description Framework (RFD/XML) Date:
Representing Data with XML February 26, 2004 Neal Arthorne.
Presented by: Yuhana 12/17/2007 Context Aware Group - Intelligent Agent Laboratory Computer Science and Information Engineering National Taiwan University.
Of 38 lecture 6: rdf – axiomatic semantics and query.
THE SEMANTIC WEB By Conrad Williams. Contents  What is the Semantic Web?  Technologies  XML  RDF  OWL  Implementations  Social Networking  Scholarly.
Dr. Bhavani Thuraisingham January 14, 2011 Building Trustworthy Semantic Webs Lecture #1: Introduction to Trustworthy Semantic Web.
A Portrait of the Semantic Web in Action Jeff Heflin and James Hendler IEEE Intelligent Systems December 6, 2010 Hyewon Lim.
Stefan Decker Stanford University Mike Dean BBN Technologies.
© The ATHENA Consortium. Susan Thomas SAP AG, Research Department How do you do semantics? Semantic Web Drawings by Sebastian Cremers Unit 3:
Ontology Technology applied to Catalogues Paul Kopp.
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
Semantic Web. P2 Introduction Information management facilities not keeping pace with the capacity of our information storage. –Information Overload –haphazardly.
Setting the stage: linked data concepts Moving-Away-From-MARC-a-thon.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
Jena 6/8/2018.
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Analyzing and Securing Social Networks
Grid Computing 7700 Fall 2005 Lecture 18: Semantic Grid
Lecture #6: RDF and RDF Security Dr. Bhavani Thuraisingham
Presentation transcript:

Language (Formalisms) For Ontology Building Neda Alipanah 22 October 2012

Content Why Ontologies?  Machine Process able Knowledge  Knowledge Exchange  Big Data Relevant Technologies  Layered Architecture  Building Tools and Visualization Ontology Application  Information Integration  Web Database Management  Web Services

Why Ontologies? 1. Machine readable and understandable process of data 2. Consistent Knowledge Presentation for Enterprise application integration (Knowledge Exchange) 3. Nodes and links that essentially form a very large database with specific rules

Why Ontologies? 1.Machine readable and understandable process of data John Smith is Assistant Professor of Computer Science in University of X. He is teaching several courses including Course A, B, C. John Smith is Assistant Professor of Computer Science in University of X. He is teaching several courses including Course A, B, C. Assistant Professor John Smith University X

Why Ontologies? 2. Consistent Knowledge Presentation for Enterprise application integration (Knowledge Exchange) Disease Patient Symptoms Address

Why Ontologies? 3. Nodes and links that essentially form a very large database with specific rules. Database capture the data and relations (Entity Relations) but not the semantic and rules Concept 1 is reverse of Concept 2. Concept 2 is subclass of Concept 3. Concept 100 has isA relation with Concept 2000 and is reverse of Concept 500. Disease Patient Symptoms Address

Content Why Ontologies?  Machine Process able Knowledge  Knowledge Exchange  Big Data Relevant Technologies  Layered Architecture  Building Tools and Visualization Ontology Application  Information Integration  Web Database Management  Web Services

Technologies- Layered Architecture Tim Berners Lee Architecture XML/XML Schemas RDF/Ontologies Rules/Query Logic, Proof and Trust TRUSTTRUST Other Services URI/UNICODE PRIVACYPRIVACY

Technologies- Layered Architecture URI (Uniform Resource Identifiers): ◦ Simple and Extensible means for Identifying a Resource ◦ Universal Resource Identifiers in WWW ◦ Example web/JohnSmith

What is XML about? XML= eXtensible Markup Language by the W3C (World Wide Web Consortium) Transport and Store Data (Structured Knowledge) Key to XML is Document Type Definitions (DTDs) ◦ Defines the role of each element of text in a formal model Compound Documents(Multiple files)

XML Example Patents Funds Year: 2002 Name: U. Of X Expenses Name: BioInformatics titleAuthor ID Asset report Assets Dept Equipment news Patent Other assets Grants Contracts

XML File Example Alice Brown University of X CS BioInformatics John James University of X BioInformatics Senior Alice Brown University of X CS BioInformatics John James University of X BioInformatics Senior

Technologies- Layered Architecture Tim Berners Lee Architecture XML/XML Schemas RDF/OWL Ontologies Rules/Query Logic, Proof and Trust TRUSTTRUST Other Services URI/UNICODE PRIVACYPRIVACY

RDF RDF = Resource Description Framework Adds semantics with the use of ontologies, XML syntax RDF Concepts ◦ Basic Model  Resources, Properties and Statements ◦ Container Model  Bag, Sequence and Alternative

RDF RDF/RDFS Elements ◦ Class (School, Department, Person)  Rdfs:SubClassOf ◦ Properties (Works)  Rdfs:SubPropertiesOf ◦ Domain and Range of Property  Rdfs: domain (School)  Rdfs: range (Person) School Department SubClass Person Works

RDF vs. XML Views iPhone $200 iPhone $200 $200 $200 An iPhone is a Product that has a price of $200 ″ XML Views iPhone 200 OntTeaching:product1 rdf:type OntTeaching:Product OntTeaching:product1 OntTeaching:title “iPhone” OntTeaching:product1 price “200 ″ iPhone 200 OntTeaching:product1 rdf:type OntTeaching:Product OntTeaching:product1 OntTeaching:title “iPhone” OntTeaching:product1 price “200 ″ RDF View

OWL Web Ontology Language OWL: Semantic Markup Language for Publishing/Sharing Ontologies  Enumeration on Classes

OWL Web Ontology Language OWL ◦ Value Constraints  OWL : ALL V ALUES F ROM  OWL : SOME V ALUES F ROM  OWL : HAS V ALUE

OWL Web Ontology Language OWL: Cardinality constraints  OWL : MAX C ARDINALITY  OWL : MIN C ARDINALITY  OWL : CARDINALITY 2 2

OWL Web Ontology Language OWL: Intersection, union and complement  OWL : INTERSECTION O F  OWL : UNION O F  O WL : COMPLEMENT O F Not Meat Not Meat

OWL Web Ontology Language OWL: Equivalent Class, Disjoint Class

How to Build OWL/RDF files? Do we need to remember all the OWL language syntax? How to do it easy to use and remember?

Content Why Ontologies?  Machine Process able Knowledge  Knowledge Exchange  Big Data Relevant Technologies  Layered Architecture  Building Tools and Visualization Ontology Application  Information Integration  Web Database Management  Web Services

How to Build RDF/OWL files? Different Building and Visualization Tools ◦ Protégé, ◦ Gruff, (Download version 3.3) Using Programming Languages ◦ Java and Jena API ◦ ◦

Protégé Tool- Open Source Ontology Editor Class Creation

Protégé Tool- Open Source Ontology Editor Property (Object/Data properties)

Protégé Tool- Open Source Ontology Editor Individual Creation

Gruff Tool- A Grapher-Based Triple- Store Browser for AllegroGraph 1.What is triple Store? iPhone 200 Subject Predicate Object OntTeaching:product1 rdf:type OntTeaching:Product OntTeaching:product1 OntTeaching:title “iPhone” OntTeaching:product1 price “200 ″ iPhone 200 Subject Predicate Object OntTeaching:product1 rdf:type OntTeaching:Product OntTeaching:product1 OntTeaching:title “iPhone” OntTeaching:product1 price “200 ″ Product Product1 iPhone 200 type title price

Gruff Tool- A Grapher-Based Triple- Store Browser for AllegroGraph 1.Create a New Triple Store 2.Choose a Path for the Ontology 3.Load Ontology 4.Present the Ontology Triples 5.Query the Triples

Gruff Tool- A Grapher-Based Triple- Store Browser for AllegroGraph

Programming with Ontologies Java + Jena API Collection of Tools and Java Libraries For Developing Linked-data Apps, Tools and Servers Store Information in RDF Triples in Directed Graphs An Ontology API for Handling OWL and RDFS Ontologies A Rule-based Inference Engine for Reasoning with RDF and OWL data sources Efficient Storage of Triples on Disk A query engine compliant with the latest SPARQL

Ontology Building using Jena Product1 “iPhone” Product1 “200” Product1 “iPhone” Product1 “200” Triples Ontology: iPhone.owl Subject Predicate Object Product Product1 iPhone 200 type title price

Ontology Building using Jena The code to create this graph, or model, is simple: // some definitions static String productURI = " // create an empty Model Model model = ModelFactory.createDefaultModel(); // create the resource Resource product = model.createResource(productURI); // add the property product.addProperty(title, ”iPhone”); product.addProperty(price, ”200”);

Jena How to read Ontology? // list the statements in the Model StmtIterator iter = model.listStatements(); // print out the predicate, subject and object of each statement while (iter.hasNext()) { Statement stmt = iter.nextStatement(); // get next statement Resource subject = stmt.getSubject(); // get the subject Property predicate = stmt.getPredicate(); // get the predicate RDFNode object = stmt.getObject(); // get the object System.out.print(subject.toString()); System.out.print(" " + predicate.toString() + " "); if (object instanceof Resource) { System.out.print(object.toString()); } else { // object is a literal System.out.print(" \"" + object.toString() + "\""); } System.out.println("."); } // list the statements in the Model StmtIterator iter = model.listStatements(); // print out the predicate, subject and object of each statement while (iter.hasNext()) { Statement stmt = iter.nextStatement(); // get next statement Resource subject = stmt.getSubject(); // get the subject Property predicate = stmt.getPredicate(); // get the predicate RDFNode object = stmt.getObject(); // get the object System.out.print(subject.toString()); System.out.print(" " + predicate.toString() + " "); if (object instanceof Resource) { System.out.print(object.toString()); } else { // object is a literal System.out.print(" \"" + object.toString() + "\""); } System.out.println("."); }

SPARQL Query Query on Triples with Exact Pattern Matching (Subject of query is Product1) SELECT ?b ?c Where { ?b ?c } Result

Content Why Ontologies?  Machine Process able Knowledge  Knowledge Exchange  Big Data Relevant Technologies  Layered Architecture  Building Tools and Visualization Ontology Application  Information Integration  Web Database Management  Web Services

Ontology Applications The database of Genotypes and Phenotypes (dbGaP) is archiving the results of different Genome Wide Association Studies (GWAS). Phenotype variables are not harmonized across studies. Redundent phenotype identifiers for the same phenotype. dbGaP lacks semantic relations among its variables. Search on phenotypes is inefficient and inaccurate. Goal is to standardize dbGaP information to allow accurate, reusable and quick retrieval of information

Ontology Applications Several Available dbGAP Studies id=”phv ”, Description=”Age at time of Study”, name=”age”, version=“1”, Logical Max=”65”, Logical Minimum=”18”, unit=”Years”, type=”decimal” id=”phv ”, Description=”Age at time of Study”, name=”age”, version=“1”, Logical Max=”65”, Logical Minimum=”18”, unit=”Years”, type=”decimal” id=”phv ”, Description=”Age of patient at the time of Study”, name=”age”, version=“1”, Logical Max=”90”, Logical Minimum=”20”, unit=”Years”, type=”decimal” id=”phv ”, Description=”Age of patient at the time of Study”, name=”age”, version=“1”, Logical Max=”90”, Logical Minimum=”20”, unit=”Years”, type=”decimal” phs v1.pht v1.CFS_CARe_Sample.data_dict_2011_02_07 phs v1.pht v1.CFS_CARe_ECG.data_dict_2011_02_07

Ontology Applications Building Information Model (Ontology) Individual Age id=”phv ” id=”phv ”

Ontology Applications Information Retrieval and Ranking Phenotypes Query={Age of Subject} StudyPhenotype Variable phs v1.pht v1.C FS_CARe_Sample.data_dict_2 011_02_07 id=”phv phs v1.pht v1.C FS_CARe_ECG.data_dict_201 1_02_07 id=”phv ”

Conclusion Benefits of Structured Data (XML, OWL) Tools to Create and Visualize Ontologies Jena API for Building Ontologies Sparql Queries on Ontologies Applications uses Ontologies

Contacts Neda Alipanah Division of Biomedical Informatics 9500 Gilman Dr., Bldg 2 #0203E