WWW.BOOK.DISLIB.INFO
FREE ELECTRONIC LIBRARY - Books, dissertations, abstract
 
<< HOME
CONTACTS



Pages:     | 1 |   ...   | 4 | 5 || 7 | 8 |   ...   | 16 |

«OBJECT DATABASES AND THE SEMANTIC WEB A THESIS SUBMITTED IN FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF DOCTOR OF PHILOSOPHY. ING. JAKUB ...»

-- [ Page 6 ] --

Typegraph model of Tuijn [Tuijn94] generates the database schema category from a graph (called typegraph). Instances are given by functors from this category to another one, not necessarily a category of sets and mappings. Tuijn’s model is structurally equivalent to IQL with the query language defined only by universal constructions. Attributes, relationships and generalization are modeled as arrows.

Theory-based approach of Fiadeiro et al. [FSM90] focuses on building an information system from a formal logical specification (a theory presentation) that describes properties and behavior of objects. Aggregation, inheritance and relationships are expressed by constructs on a diagram in the category of theory presentations.

Process-based approach of Costa et al. [CSS94] is very similar to the previous one, but theory presentations are substituted by process models. This shows the unifying power of CT because instead of the usual representation of objects by sets and their structure by mappings, every object is represented by a Marcovian process and arrows denote partial mappings between these processes.

Limit Data Model (LDM) of Kolenčík [Kolenčík98] works with a category whose objects represent classes, and arrows model attributes, methods, inheritance and relationships. Limits such as pullback or pushout are used to define additional constraints on the schema, such as virtual base classes and polymorphic behavior.

Semantic Web as an Object-oriented Database 24

–  –  –

Figure 3.4 shows a category that defines the schema of a simple database.

Each arrow represents a projection of a product object. Such projections can represent simple string-valued attributes (person’s name), OID-valued relationships (PhD. student’s superior), or subclassing relationships (lecturer is a subclass of person). Since the graphical schema is a category, arrow compositions must be defined — these correspond to dotted naming conventions. The superscript in object names shows that the classes are “pure” — they do not contain objects of their subclasses, and specific arrows connect them to the respective “full” classes. Additionally, for Person to function as a virtual class, it is required that the D–S–P–L diamond is a pullback.

3.6.4 STATE OF THE ART AND IMPLEMENTATIONS

Most categorical models focus on formal proofs for certain OODB concepts. Different authors use different categorical constructs for their models, without a standard way to express them. Most works only give a partial formalization of the data model. All of these factors contribute to the fact that implementations based on CT are scarce.

However, the Vision database ([FactSet00]) is based on categorical foundations — instead of storing objects as records, it works only with featureless sets and mappings. All properties and methods of an object are given through its mapping onto other objects, and database concepts such as memberships and keys are modeled by constraining these mappings (e.g. by injectivity). Families of appropriately constrained maps represent inheritance and polymorphism, and map transformations are powerful enough to model joins, projections, updates etc. to the point that they completely define a database query language.

–  –  –

3.7 LOGIC MODELS (F–LOGIC)

WHY WAS IT CHOSEN

This section is an important example of modeling in logic. The new RDF-based OODB model proposed in this thesis is a logical one, and therefore this section is an introduction to some of its concepts. Moreover, many deductive object-oriented systems are currently being extended to handle Semantic Web data and provide entailment engines.

INTRODUCTION

Most of the previous work was focused on imperative and functional languages, but good reasons exist for bringing the object database paradigm into the world of logic programming [Kifer95]. The objectoriented paradigm provides a good way of specifying and manipulating structured objects, while logic and deduction offer the power of ad hoc reasoning and querying. This is increasingly important with growing database size, especially in the Semantic Web.

Some attempts have tried to integrate Prolog with object-oriented languages (C++), others define object-oriented features in existing logics. F-logic [KLW95] is an object-oriented logic designed for use in object-oriented logical (deductive) databases. Its main limitation is that it can only define and query object state, not change it through method side effects. For expressing the semantics of database updates, Transaction logic was designed by the same authors ([BK95]). F-logic has a sound and complete proof theory.

3.7.2 F-LOGIC DATA MODEL Specifications and Implementations. In F-logic, all types are classes — there are no equivalents of ODMG interfaces or literals. The semantics of F-logic do not address the question of separating interfaces from implementations, but if desired, signatures may be specified separately for practical encapsulation and reuse issues, although both use the same logic language1.

Object Types. Every object has a type and every operation requires typed operands. Type correctness is ensured by F-logic inference and consistency rules. Atomic, collection and structured objects are not distinguished — all objects are structured. The only collection tools of F-logic are set-valued object attributes. There is no direct equivalent of ordered sets, bags or collection types.





–  –  –

Subtyping and Inheritance. F-logic groups semantically related objects in IS-A class hierarchies that support multiple inheritance. Any data expression in a class can be either inheritable or noninheritable — an important distinction for class attributes. Semantically, inheritance in F-logic is set inclusion.

Object myCar is an instance of class peugeot, which is a subclass of frenchCar — an instance of class carType (see the paragraph on metadata below). The last line is a query that retrieves all classes that peugeot belongs to; observe that carType is one of the types it returns.

myCar : peugeot peugeot :: frenchCar frenchCar : carType ?- peugeot : X Literals. While in many object-oriented models a distinction is made between entities with an OID (objects) and without one (literals), this is not the case in F-logic. Here, all elementary values are objects — “Mr. Wong” and 1772 are actually OIDs of a string and integer object, respectively.

–  –  –

Extents. Extents as such do not exist in F-logic since its model theory requires that all data atoms are accessible to the query mechanism, and to preview an extent, a simple query returns all objects of a given type. From this point of view, maintaining extents is only a performance issue.

Queries: This query returns a set of employees who work at the “IT” department along with their names and ages.

?– X : empl ∧ X [ name → Y; age → Z : midaged; affiliation → D [ dname → “IT” ] ] Metadata. F-logic uses higher-order syntax by eliminating the hard syntactic distinction between objects, classes and attribute names. This is desirable because the same language can be used for defining, manipulating and reasoning about classes and their instances; for defining virtual classes using deductive rules; and for schema exploration and browsing. A class can be an instance of another class, and queries may return sets of classes or attributes. This does not lead to computational problems because the semantics remain first-order (higher-order variables range over intensional representations of sets rather than the sets themselves).

Attributes, relationships and operations. In F-logic, complex objects are defined by specifying logic functions from a set of all objects. These functions are partial since they are only defined for objects of a given type. Operations of an object take a given number of typed arguments and return a typed result. Attributes are simply functions that take the context object and return a constant value. Since everything is an object in F-logic, there is no difference between an attribute and a 1:1 relationship. Set-valued attributes and 1:N relationships are functions that return sets of objects.

F-logic has no notion of inverse or subordination relationships, exceptions or operation side effects (since it has no update semantics). It is clear that unlike the ODMG specification, F-logic has exact method semantics. Another important point is that some facts are saved in the database (extensional ones), while others are deduced from database contents at runtime (intensional facts).

Semantic Web as an Object-oriented Database 27 Deductive rules: The following rule says that an employee’s boss is automatically derived from the manager property of his department.

E [ boss → M ] ← E : empl ∧ D: dept ∧ E [ affiliation → D [ manager → M :empl ] ] Object Identifiers and Names are considered “syntactic gadgets” needed to refer to objects in the physical representation of a database or in a programming language, respectively. F-logic uses logical OIDs in the form of tree-like first-order terms.

Some examples of F-logic OIDs are mark, 17, “A duck” and father(adam).

3.7.3 EXAMPLE OF FORMAL SEMANTICS Semantic structures in F-logic are called F-structures, and they are represented by tuples.

–  –  –

Given a statement, called an F-molecule, with a corresponding variable assignment, rules are defined for its satisfaction by an F-structure that makes the statement true. This mechanism serves to define and verify facts about the F-structure data model environment that has been created. Properties of Fstructures can be stated using axiomatic F-molecules: reflexivity of the subclassing relationship is expressed by p :: p is satisfied by I.

The proof theory for the satisfaction (or logical entailment) relation is sound and complete. It starts with the definition of substitutions and unifiers and proceeds to define a suite of 12 inference rules. In addition to common ones for logic systems — resolution, factoring and paramodulation — additional rules are defined to capture the semantics of an object-oriented system; these include behavior of the subclassing IS-A relationship, type inheritance, restriction of method input types and relaxation of output types, restriction of return values for scalar methods, merging and elimination of simple idterm tautologies.

–  –  –

3.7.4 STATE OF THE ART AND IMPLEMENTATIONS

One example of a system that is based on F-logic is Flora [YK00]. It represents a second generation of deductive and object-oriented database systems (DOOD) — the first one attracted attention in early 1990’s but never gained wide acceptance due to performance problems and other difficulties.

However, renewed interest was sparked by the interest in autonomous agents, Semantic Web, RDF and ontology languages.

Semantic Web as an Object-oriented Database 28 Flora aims at being a practical system with high expressive power, strong theoretical foundations, competitive performance, and a convenient development environment. It is based on F-logic (for object-oriented model), HiLog [CKW93] (for higher-order programming) and Transaction Logic [BK95] (for implementing updates). Rather than implementing its own deductive engine, it translates the program at source level into predicate calculus and uses XSB [SSW94], which has the advantage of very high performance and optimizations such as tabling, trie-based indices and unification factoring.

Flora has been successfully used to implement a number of sophisticated Web-based information systems, including a model-based mediation system, a webbase, and a knowledge-based integration system. The current FLORA-2 implementation is being developed at http://flora.sourceforge.net.

3.7.5 SOURCES A keynote on integrating object-oriented and logical languages is [Kifer95]. F-logic is defined in [KLW95], Transaction logic in [BK95], HiLog in [CKW93], and the implementation of Flora was presented in [YK00].

Semantic Web as an Object-oriented Database 29

–  –  –



Pages:     | 1 |   ...   | 4 | 5 || 7 | 8 |   ...   | 16 |


Similar works:

«CHAPTER 30 Concepts and Theory of Normalization by WILLIAM G. BRONSTON, M.D. PHILOSOPHY AND BACKGROUND The Essence of Dehumanization To respond To a significant degree... To a human being As if he were not what he is. Or could never be... What he might be I am very deeply honored and feel privileged to be here to share this historic occasion with you. When the Down's Syndrome Congress was born last year, I had the very special sense, having attended that meeting, that you really...»

«MAGISTERARBEIT Titel der Magisterarbeit „Die Veränderung im ungarischen Wortschatz im Zeitraum 1973 bis 2002 anhand des ungarischdeutschen Handwörterbuches von Előd Halász“ Verfasserin Angelika Parfuss, Bakk.phil. angestrebter akademischer Grad Magistra der Philosophie (Mag.phil.) Wien, 2009 Studienkennzahl lt. Studienblatt: A 066 854 Studienrichtung lt. Studienblatt: Magisterstudium Finnisch-ugrische Sprachwissenschaft Betreuer: Ao. Univ. Prof. Dr. Timothy Riese Danksagung Ich danke...»

«Zentrum Jüdische Studien Berlin-Brandenburg Newsletter Dezember 2015 18. November 2015 Sehr geehrte Damen und Herren, mit Freude erinnern wir uns an unsere ZJS-Jahrestagung Rupture and Rapprochement: Jewish – Non-Jewish Relations in Post-Shoah Germany, die der Erforschung des Umgangs der jüdischen Flüchtlinge mit Deutschland bzw. der nichtjüdischen Deutschen mit den aus Deutschland geflohenen Juden nach 1945 jenseits der offiziellen deutsch-israelischen Diplomatie gewidmet war. Wir danken...»

«How Do They Know What They Know? The Case of Eyewitnesses Inaugural-Dissertation zur Erlangung des Doktorgrades der Philosophie des Fachbereichs 06 der Justus-Liebig-Universität Gießen vorgelegt von Melanie Sauerland aus Bonn Dekan: Prof. Dr. Joachim C. Brunstein 1. Berichterstatter: Prof. Siegfried L. Sporer, Ph.D.2. Berichterstatter: Prof. Dr. Joachim Stiensmeier-Pelster Tag der Disputation: 05. Juli 2007 Dank Während der Erstellung dieser Arbeit haben mich eine ganze Reihe von Personen...»

«DIPLOMARBEIT Titel der Diplomarbeit „Holy ground“ Der Einfluss Islands auf Leben und Werk von Wystan Hugh Auden Verfasserin Johanna Ryznar angestrebter akademischer Grad Magistra der Philosophie (Mag.phil.) Wien, 2011 Studienkennzahl lt. Studienblatt: A 394 Studienrichtung lt. Studienblatt: Diplomstudium Skandinavistik Betreuer: O. Univ.-Prof. Dr. Sven Hakon Rossel Inhaltsverzeichnis 1. Einleitung 2. Audens Genealogie 3. Audens Kindheit 4. Der „Norden“ als persönlicher Mythos 5. Paid...»

«Diplomarbeit Energiearbeit im Schamanismus und im New Age von Nikolaus Böhmig zur Erlangung des akademischen Grades Magister der Philosophie Wien, im November 2008 Studienkennzahl lt. A 307 295 Studienblatt: Dissertationsgebiet lt. Kulturund Sozialanthropologie Studienblatt: Betreuer: ao. Prof. Dr. Manfred Kremser INHALT Danksagung Einleitung Begriffsbestimmungen A 1. Schamanismus 1.1. Etymologie 1.2. Entstehung und Verbreitung 1.3. Charakteristika 1.3.1. Was ist Schamanismus? 1.3.2. Die...»

«Früherkennung von Entwicklungsstörungen durch Erzieherinnen: Überprüfung der Gütekriterien des Dortmunder Entwicklungsscreening für den Kindergarten (DESK 3-6) vorgelegt von Judith Flender als Dissertation zur Erlangung des Grades einer Doktorin der Philosophie (Dr. phil.) in der Fakultät Rehabilitationswissenschaften der Universität Dortmund Dortmund Betreuer: Prof. Dr. Heinrich Tröster Betreuer: HD Dr. Gerd Mannhaupt Meinen Eltern Danksagung Ganz herzlich möchte ich mich bei allen...»

«UNIVERSITÄTSREDEN 97 Verleihung der Ehrendoktorwürde der Philosophischen Fakultät II Sprach-, Literaturund Kulturwissenschaften an Prof. Dr. Edgar Rosenberg universaar Universitätsverlag des Saarlandes Saarland University Press Presses Universitaires de la Sarre Prof. Dr. Edgar Rosenberg Verleihung der Ehrendoktorwürde der Philosophischen Fakultät II Sprach-, Literaturund Kulturwissenschaften an Prof. Dr. Edgar Rosenberg 11. Juli 2012 © 2013 universaar Universitätsverlag des Saarlandes...»

«Die literarische Problematisierung des Einflusses der christlichen Religion auf das indianische Selbstbild im Romanwerk von D'Arcy McNickle, Paula Gunn Allen, N. Scott Momaday und Louise Erdrich Inauguraldissertation zur Erlangung der Würde eines Doktors der Philosophie an der Fakultät Sprachund Literaturwissenschaften der Technischen Universität Dresden vorgelegt von Almuth Roenneke aus Halle (Saale) Halle, den 05.11.2001 Erklärungen der Kandidatin Hiermit erkläre ich, dass ich die...»

«Diplomarbeit Titel der Diplomarbeit „Prosodie indischer Götterhymnen“ Ein musikalischer Vergleich exemplarischer Stotra-Rezitationen Verfasser Dipl.-Mus. Frank Wilhelm Bornemann angestrebter akademischer Grad Magister der Philosophie (Mag. Phil.) Wien, 2010 Studienkennzahl lt. Studienblatt : A 316 Studienrichtung lt. Studienblatt : Musikwissenschaft Betreuer : Ass.-Prof. Mag. Dr. August Schmidhofer Inhalt Inhalt Vorwort Einleitung 1. Sprechgesang oder Rezitation ? Die Weden Singen 2....»





 
<<  HOME   |    CONTACTS
2016 www.book.dislib.info - Free e-library - Books, dissertations, abstract

Materials of this site are available for review, all rights belong to their respective owners.
If you do not agree with the fact that your material is placed on this site, please, email us, we will within 1-2 business days delete him.