Data Frames Version 3 Proposal. Data Frames Version 2 Year matches [2] constant { extract "\d{2}"; context "([^\$\d]|^)\d{2}[^,\dkK]"; } 0.5, { extract.

Slides:



Advertisements
Similar presentations
Overriding CMPS Overriding Recall, a method in a child class overrides a method in the parent class, if it has the same name and type signature.
Advertisements

OO Programming in Java Objectives for today: Overriding the toString() method Polymorphism & Dynamic Binding Interfaces Packages and Class Path.
Database Systems: Design, Implementation, and Management Tenth Edition
Module 8 “Polymorphism and Inheritance”. Outline Understanding Inheritance Inheritance Diagrams Constructors in Derived Classes Type Compatibility Polymorphism.
Objectives Introduction to Inheritance and Composition (Subclasses and SuperClasses) Overriding (and extending), and inheriting methods and constructors.
(C) 2010 Pearson Education, Inc. All rights reserved. Java™ How to Program, 8/e.
ITEC200 – Week03 Inheritance and Class Hierarchies.
Liang, Introduction to Java Programming, Ninth Edition, (c) 2013 Pearson Education, Inc. All rights reserved. 1 1 Abstract Classes and Interfaces.
Inheritance. Extending Classes It’s possible to create a class by using another as a starting point  i.e. Start with the original class then add methods,
Inheritance and Class Hierarchies Chapter 3. Chapter 3: Inheritance and Class Hierarchies2 Chapter Objectives To understand inheritance and how it facilitates.
1 Query Languages. 2 Boolean Queries Keywords combined with Boolean operators: –OR: (e 1 OR e 2 ) –AND: (e 1 AND e 2 ) –BUT: (e 1 BUT e 2 ) Satisfy e.
Visual Web Information Extraction With Lixto Robert Baumgartner Sergio Flesca Georg Gottlob.
Recognizing Ontology-Applicable Multiple-Record Web Documents David W. Embley Dennis Ng Li Xu Brigham Young University.
1 Chapter 6 Inheritance, Interfaces, and Abstract Classes.
Advanced Object-Oriented Programming Features
7M701 1 Class Diagram advanced concepts. 7M701 2 Characteristics of Object Oriented Design (OOD) objectData and operations (functions) are combined 
Ontology-Based Information Extraction and Structuring Stephen W. Liddle † School of Accountancy and Information Systems Brigham Young University Douglas.
From OSM-L to JAVA Cui Tao Yihong Ding. Overview of OSM.
Ontology-Based Free-Form Query Processing for the Semantic Web Mark Vickers Brigham Young University MS Thesis Defense Supported by:
Sunday, June 28, 2015 Abdelali ZAHI : FALL 2003 : XML Schemas XML Schemas Presented By : Abdelali ZAHI Instructor : Dr H.Haddouti.
Fundamentals, Design, and Implementation, 9/e COS 346 Day 2.
Ontos Project n Ontology Parser n Data Frame/Ontology Definition n Relevance Detection n Coarse Structure Detection n Constant/Keyword Matching n Database.
Data Abstraction and Object- Oriented Programming CS351 – Programming Paradigms.
CS 2511 Fall  Abstraction Abstract class Interfaces  Encapsulation Access Specifiers Data Hiding  Inheritance  Polymorphism.
8.1 Classes & Inheritance Inheritance Objects are created to model ‘things’ Sometimes, ‘things’ may be different, but still have many attributes.
Object-Oriented Application Development Using VB.NET 1 Chapter 8 Understanding Inheritance and Interfaces.
Inheritance and Polymorphism CS351 – Programming Paradigms.
UML Class Diagrams: Basic Concepts. Objects –The purpose of class modeling is to describe objects. –An object is a concept, abstraction or thing that.
(c) University of Washington03-1 CSC 143 Java Inheritance Reading: Ch. 10.
Inheritance. Types of Inheritance Implementation inheritance means that a type derives from a base type, taking all the base type’s member fields and.
C++ Programming. Table of Contents History What is C++? Development of C++ Standardized C++ What are the features of C++? What is Object Orientation?
Chapter 8 More Object Concepts
Dr. Azeddine Chikh IS446: Internet Software Development.
Database Processing: Fundamentals, Design and Implementation, 9/e by David M. KroenkeChapter 2/1 Copyright © 2004 Please……. No Food Or Drink in the class.
1 CIS336 Website design, implementation and management (also Semester 2 of CIS219, CIS221 and IT226) Lecture 6 XSLT (Based on Møller and Schwartzbach,
Polymorphism, Inheritance Pt. 1 COMP 401, Fall 2014 Lecture 7 9/9/2014.
Programming in Java Unit 2. Class and variable declaration A class is best thought of as a template from which objects are created. You can create many.
Specialization and Inheritance Chapter 8. 8 Specialization Specialized classes inherit the properties and methods of the parent or base class. A dog is.
HSCI 709 SQL Data Definition Language. SQL Standard SQL-92 was developed by the INCITS Technical Committee H2 on Databases. SQL-92 was designed to be.
1 COSC3557: Object-Oriented Programming Haibin Zhu, Ph. D. Associate Professor of CS, Nipissing University.
CS200 Algorithms and Data StructuresColorado State University Part 4. Advanced Java Topics Instructor: Sangmi Pallickara
Computer Science & Engineering 2111 Lecture 11 Querying a Database 1.
1 CS 430 Database Theory Winter 2005 Lecture 2: General Concepts.
JAVA: An Introduction to Problem Solving & Programming, 5 th Ed. By Walter Savitch and Frank Carrano. ISBN © 2008 Pearson Education, Inc., Upper.
Types in programming languages1 What are types, and why do we need them?
Session 7 Methods Strings Constructors this Inheritance.
Summing Up Object Oriented Design. Four Major Components: Abstraction modeling real-life entities by essential information only Encapsulation clustering.
Inheritance and Access Control CS 162 (Summer 2009)
Object Oriented Programming
Application development with Java Lecture 21. Inheritance Subclasses Overriding Object class.
Java Software Solutions Lewis and Loftus Chapter 9 1 Copyright 1997 by John Lewis and William Loftus. All rights reserved. Enhanced Class Design -- Introduction.
 In the java programming language, a keyword is one of 50 reserved words which have a predefined meaning in the language; because of this,
JAVA INTRODUCTION. What is Java? 1. Java is a Pure Object – Oriented language 2. Java is developing by existing languages like C and C++. How Java Differs.
Chapter 16 UML Class Diagrams.
Inheritance and Class Hierarchies Chapter 3. Chapter 3: Inheritance and Class Hierarchies2 Chapter Objectives To understand inheritance and how it facilitates.
Inheritance and Class Hierarchies Chapter 3. Chapter Objectives  To understand inheritance and how it facilitates code reuse  To understand how Java.
Subclassing, pt. 2 Method overriding, virtual methods, abstract classes/methods COMP 401, Fall 2014 Lecture 9 9/16/2014.
Experience with XML Schema Ashok Malhotra Schema Usage  Mapping XML Schema and XML documents controlled by the Schema to object classes and instances.
JAVA: An Introduction to Problem Solving & Programming, 5 th Ed. By Walter Savitch and Frank Carrano. ISBN © 2008 Pearson Education, Inc., Upper.
Microsoft Office Access 2010 Lab 3
Lecture 12 Inheritance.
Inheritance and Polymorphism
An Introduction to Inheritance
Chapter 13 Abstract Classes and Interfaces
Interfaces.
.NET and .NET Core 5.2 Type Operations Pan Wuming 2016.
Inheritance, Polymorphism, and Interfaces. Oh My
UML Class Diagrams: Basic Concepts
Inheritance, Polymorphism, and Interfaces
OBJECT ORIENTED PROGRAMMING II LECTURE 8 GEORGE KOUTSOGIANNAKIS
Presentation transcript:

Data Frames Version 3 Proposal

Data Frames Version 2 Year matches [2] constant { extract "\d{2}"; context "([^\$\d]|^)\d{2}[^,\dkK]"; } 0.5, { extract "\d{2}"; context "([^\$\d]|^)\d{2},[^\d]"; } 0.6, { extract "\d{2}"; context "\b'\d{2}\b"; } 0.8; end; Mileage matches [8] constant { extract "\b[1-9]\d{1,2}k"; } 0.6, { extract "[1-9]\d?,\d{3}"; } 0.3; keyword "\bmiles\b", "\bmi\.", "\bmi\b"; end; Also: except, substitute, filter phrases; lexicons

Kimball’s Ontology Editor Strong separation of value and keyword phrases Each phrase may be labeled Still allow negation Introduce idea of “required context” Allow keyword to be specific to a subset of the value phrases for this data frame Expressions are richer than regular expressions. Supports Boolean and proximity operators; also lexicons and macros.

Internal Representation Replace SQL field length with arbitrary type field  This is the “internal representation”  Type is either lexical or nonlexical  Type could be the name of an object set in the ontology  Or it could be the name of a type in whatever language will be used to implement methods (more on this later), together with a units name (e.g. “miles”, “meters”, “grams”, “pounds”)

Methods Add a method phrase to data frames  Conceptually they are restricted derived object sets and relationship sets  We only declare method signatures in data frames Another language (e.g. Java) is used to define the method body Our tool will generate a template in which the programmer can write method bodies The template will have OO structures that allow read-only access to the seamless model/data instance  Keyword phrases may also apply to methods

Canonicalization Methods Each value phrase may have an associated canonicalization method  The purpose is to convert the extracted value string into a common form The data frame may have a default canonicalization method that applies if there is no individual method for a value phrase

Inheritance Inheritance is defined more cleanly  Generalization/specialization will indicate inheritance hierarchy  The internal representation cannot be overridden in specializations  Multiple parents must have the same internal representation  Individual inherited phrases can be deleted or overridden  New phrases can be added  In the case of name conflict, we require fully qualified names to be used (no automatic disambiguation)

General Constraints We may decide to implement a limited form of general constraint in the ontology  E.g. “Birth Date <= Death Date”  Or “Event Distance.toMiles() <= 26 If so, we may want to implement operator overloading (something like C++) The general constraint issue is not core to the current data frame discussion, but it has interesting ramifications

Other Issues How to integrate methods and confidence values into record-assembly heuristics Ontos system will have to be rewritten Extract into model instance, not SQL tables  We can always generate database tables later if we’d like Ontologies created graphically and stored as XML