ISSUE-94 Objects. Six options have been discussed 1.Annotate, in the RIF document, the attribute as single-valued, e.g. using RIF meta-data construct;

Slides:



Advertisements
Similar presentations
ISSUE 95 Lists. Changhais wish list The notion of field typed as a list (or a collection) should exist –For a list or a collection, it would be good to.
Advertisements

Table, List, Blocks, Inline Style
1 Web Data Management XML Schema. 2 In this lecture XML Schemas Elements v. Types Regular expressions Expressive power Resources W3C Draft:
 Fundamentals of Web Design.  Describe the history and theory of XHTML  Understand the rules for creating valid XHTML documents  Apply a DTD to an.
© De Montfort University, XML – a meta language Howell Istance and Peter Norris School of Computing De Montfort University.
Timing in XML Timing framework in XML Approaches Inline syntax (SMIL) Styled Timing Timesheets Timesheets and SMIL comparison.
Java Generics. 2 The Dark Ages: Before Java 5 Java relied only on inclusion polymorphism  A polymorphism code = Using a common superclass Every class.
Extensible Markup Language XML MIS 520 – Database Theory Fall 2001 (Day) Lecture 14.
Jackson, Web Technologies: A Computer Science Perspective, © 2007 Prentice-Hall, Inc. All rights reserved Chapter 3 Style Sheets: CSS WEB.
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
4/16/2007Declare a Schema File I1. 4/16/2007Declare a Schema File I2 Declare a Schema File A collection of semantic validation rules designed to constrain.
CS 330 Programming Languages 09 / 16 / 2008 Instructor: Michael Eckmann.
1 Type Type system for a programming language = –set of types AND – rules that specify how a typed program is allowed to behave Why? –to generate better.
Module 3 – e-Learning Folios. 2 Overview myclasses An e-Learning Folio (or eLF) is a means of managing (collecting, organising and presenting) activities,
TODAY’S LECTURE Review Chapter 2 Go over exercises.
CONSTRAINTS AND UPDATES CHAPTER 3 (6/E) CHAPTER 5 (5/E) 1.
Chapter 4: Document Type Definitions. Chapter 4 Objectives Learn to create DTDs Validate an XML document against a DTD Use DTDs to create XML documents.
HTML BASICS Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
SYST Web Technologies SYST Web Technologies Lesson 6 – Intro to JavaScript.
Title, meta, link, script.  The title looks like:  The tag defines the title of the document in the browser toolbar.  It also: ◦ Provides a title for.
Introduction To CSS.. HTML Review What is HTML used for? Give some examples of formatting tags in HTML? HTML is the most widely used language on the Web.
XP 1 DECLARING A DTD A DTD can be used to: –Ensure all required elements are present in the document –Prevent undefined elements from being used –Enforce.
Semantics CSE 340 – Principles of Programming Languages Fall 2015 Adam Doupé Arizona State University
CL1 Proposal Redefine “install”. Add update artifact. Remove inconsistencies introduced by “baseUninstall” package type.
Introducing Python CS 4320, SPRING Format: Field widths and Alignment The string representation of a value can be padded out to a specific width.
XML A web enabled data description language 4/22/2001 By Mark Lawson & Edward Ryan L’Herault.
CS134 Web Design & Development Cascading Style Sheets (CSS) Mehmud Abliz.
Implicit Differentiation
Chapter 8 Chapter 8 Control Structures. Control Structures  A control structure is a control statement and the statements whose execution it controls.
17 Apr 2002 XML Syntax: Documents Andy Clark. Basic Document Structure Element tags – Elements have associated attributes Text content Miscellaneous –
JavaScript Syntax and Semantics. Slide 2 Lecture Overview Core JavaScript Syntax (I will not review every nuance of the language)
1 Introduction to Classes and Objects Chapter 3 Introduction to Classes and Objects Chapter 3.
CSC 142 D 1 CSC 142 Instance methods [Reading: chapter 4]
Return to Outline Copyright © 2011 by Maribeth H. Price 3-1 Labeling and annotation.
We need a common denominator to add these fractions.
Object-Based Programming Mostly Review. Objects Review what is object? class? member variables? member functions? public members? private members? friend.
JavaScript, Fourth Edition Chapter 4 Manipulating the Browser Object Model.
Slide #1 Boston, Jan 5 – 6, 2005XCON WG Interim draft-levin-xcon-cccp-01.txt By Orit Levin
XSD: XML Schema Language Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Discussion on XSD implementation conventions (document number PRO R01) Group Name: PRO Source: Wolfgang Granzow, Meeting.
Goals, CSF, Requirements. Formal semantics Where rules are interchanged between different tools and across language boundaries, assumptions about the.
Do-it-yourself dictionaries in Haskell1 Ingmar Brouns & Lukas Spee.
Document Type Definition (DTD) Eugenia Fernandez IUPUI.
Mathematical Formulas and Excel
#N14 Pattern Value (aka Substring attribute) SDD 1.1 Initial Discussion XXX = [Proposal | Initial Discussion | General Direction Proposal]
ADOBE INDESIGN CS3 Chapter 9 WORKING WITH TABS AND TABLES.
Arrays and Lists. What is an Array? Arrays are linear data structures whose elements are referenced with subscripts. Just about all programming languages.
1 Lecture 7 Style Sheets: CSS. 2 Motivation HTML markup can be used to represent –Semantics: h1 means that an element is a top-level heading –Presentation:
1 Lecture 4: Part1 Arrays Introduction Arrays  Structures of related data items  Static entity (same size throughout program)
Tutorial 9 Working with XHTML. XP Objectives Describe the history and theory of XHTML Understand the rules for creating valid XHTML documents Apply a.
The TXL Programming Language Filippo Ricca ITC-Irst Istituto per la ricerca Scientifica e Tecnologica
1 8/30/06CS150 Introduction to Computer Science 1 Your First C++ Program.
HTML5 and CSS3 Illustrated Unit C: Getting Started with CSS.
1 Cascading Style Sheet (CSS). 2 Cascading Style Sheets (CSS)  a style defines the appearance of a document element. o E.g., font size, font color etc…
Introduction To CSS. Lesson 1: History of CSS CSS was proposed in 1994 as a web styling language. To helps solve some of the problems HTML 4. There were.
UNIT-IV Designing Classes – Access Layer ‐ Object Storage ‐ Object Interoperability.
Chapter 3 – Describing Syntax
Getting Started with CSS
4.01 Cascading Style Sheets
Graph-Based Operational Semantics
Eugenia Fernandez IUPUI
Website Design 3
SDD 1.1 General Direction Proposal
CS134 Web Design & Development
What’s new in WS-BPEL 2.0? Last Modified: Aug 30, 2006.
Programming games Classes and objects (used for Jigsaw, Bouncing stuff, other projects) Homework: Complete cannonball. Video or Audio. Your own project.
Chapter 3 Describing Syntax and Semantics.
Ensuring Name Uniqueness
Web Design & Development
4.01 Cascading Style Sheets
Presentation transcript:

ISSUE-94 Objects

Six options have been discussed 1.Annotate, in the RIF document, the attribute as single-valued, e.g. using RIF meta-data construct; 2.Modify the Frame construct, so that the multiplicity of an attribute is indicated explicitly, e.g. adding a "cardinality" attribute to the element; 3.Specify a new construct, specific to the case of single valued attributes (that is, with multiplicity = 1), keeping the Frame construct unchanged (that is the multiplicity of attributes is 0..*). E.g. csma's proposal to introduce a new basic term to represent the value of a single valued attribute; 4.Leave attribute multiplicity implicit in condition formulas and rely on RIF document analysis to determine attributes multiplicity: the only attributes that need be modelled as single valued are those of Frames that appear in assertions with replacement semantics, in the conclusion of at least one rule 5.Rely on out-of-band information (e.g. interchange of the intended data model, in parallel to the RIF document) to determine the multiplicity of Frames' attributes; 6.Add syntax to declare the multiplicity (and type?) of frame slots in a RIF document

1. Annotate, in the RIF document, the attribute as single-valued, e.g. using RIF meta-data construct; … example1 example1 rif:multiplicity one my:slot slot value

2. Modify the Frame construct, so that the multiplicity of an attribute is indicated explicitly, e.g. adding a "cardinality" attribute to the element … my:slot slot value

3. Specify a new construct, specific to the case of single valued attributes TERM ::= IRIMETA? (Const | Var | 'External' '(' Expr ')' | Getter) Getter ::= TERM '.' (Const | Expr) … my:slot

4. Leave attribute multiplicity implicit in condition formulas and rely on RIF document analysis to determine attributes multiplicity ?x my:slot slot value ?x my:slot new slot value

5. Rely on out-of-band information … … ?x ?x exsd:foo ?x exsd:bar slot value …

6. Add syntax to declare the multiplicity (and type?) of frame slots in a RIF document Class eg:MyClass [ eg:att_1->singleton (xs:string), eg:att_2->set (xs:date) ]