/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, 20021 RAL: an RDF Algebra Flavius Frasincar.

Slides:



Advertisements
Similar presentations
February Best Practices in Advancement Services Customer Service: Benchmarking with the Best Jennifer Houlihan Warwick Loyola Marymount University.
Advertisements

12/09/20021 Engineer Training Program Drivers & AP Installation Guide for N34BS3 Written By Suzanne Yu Uniwill Computer Intl Corp Gateway Blvd. Fremont,
Overview of Full Use Guide on Electric Power Distribution Reliability Indices Panel Session – How to Define Major Events July 22, 2002 Presented.
1 ICS-FORTH EU-NSF Semantic Web Workshop 3-5 Oct Christophides Vassilis Database Technology for the Semantic Web Vassilis Christophides Dimitris Plexousakis.
1 ICS-FORTH & Univ. of Crete SeLene November 15, 2002 A View Definition Language for the Semantic Web Maganaraki Aimilia.
Summer Time, Rate, and Productivity Management of Operations Brad C. Meyer.
KNF Pocket Card Klamath NF Pocket Cards Fire Season 2002.
TU/e technische universiteit eindhoven WebNet 2001October 26, XML to XML through XML Pim Lemmens Geert-Jan Houben Eindhoven University of Technology.
TU e technische universiteit eindhoven / department of mathematics and computer science Modeling User Input and Hypermedia Dynamics in Hera Databases and.
TU/e eindhoven university of technology PACIS'03 July Engineering Semantic Web Information Systems Richard Vdovjak Flavius Frasincar Geert-Jan Houben.
TU/e technische universiteit eindhoven Hera: Development of Semantic Web Information Systems Geert-Jan Houben Peter Barna Flavius Frasincar Richard Vdovjak.
TU e technische universiteit eindhoven / department of mathematics and computer science Specification of Adaptive Behavior Using a General- purpose Design.
Welcome to CMPE003 Personal Computers: Hardware and Software Dr. Chane Fullmer Fall 2002 UC Santa Cruz.
Three Theses of Representation in the Semantic Web
March 14, CMPUT680 - Winter 2006 Topic C: Loop Fusion Kit Barton
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
CE80N Introduction to Networks & The Internet Dr. Chane L. Fullmer UCSC Winter 2002.
10-Sep-02 Page 1 Gadjah Mada University - Yogyakarta - Indonesia Gadjah Mada University10-Sep-02 Page 1 Gadjah Mada University - Yogyakarta - Indonesia.
Welcome to CMPE003 Personal Computers: Hardware and Software Dr. Chane Fullmer Fall 2002 UC Santa Cruz.
Free-text Medical Document Retrieval via Phrase-based Vector Space Model Wenlei Mao, MS and Wesley W. Chu, PhD and Computer.
European Tax Issues of Mergers & Reorganizations - An Overview - Geerten M.M. Michielse Technical Assistance Advisor to the IMF Georgetown University Law.
January 22, What is a Function?. January 22, What is a Function? Central service agency (CSA) is central to the operation of State government.
1 1 CDT314 FABER Formal Languages, Automata and Models of Computation Lecture 3 School of Innovation, Design and Engineering Mälardalen University 2012.
Semantic Web Thanks to folks at LAIT lab Sources include :
An Introduction to RDF(S) and a Quick Tour of OWL
GridVine: Building Internet-Scale Semantic Overlay Networks By Lan Tian.
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.
RDF Tutorial.
Semantic Web Introduction
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
/ department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, What is Wrong with RQL? Flavius Frasincar
RDF Databases By: Chris Halaschek. Outline Motivation / Requirements Storage Issues Sesame General Introduction Architecture Scalability RQL Introduction.
1 Introduction to Computability Theory Lecture12: Decidable Languages Prof. Amos Israeli.
1 Introduction to Computability Theory Lecture3: Regular Expressions Prof. Amos Israeli.
Equivalence, DFA, NDFA Sequential Machine Theory Prof. K. J. Hintz Department of Electrical and Computer Engineering Lecture 2 Updated and modified by.
/ department of mathematics and computer science TU/e eindhoven university of technology ADC 2002January 29, XAL - An XML ALgebra for Query Optimization.
/ department of mathematics and computer science TU/e eindhoven university of technology WebNet 2001October 26, XML-Based Automatic Web Presentation.
COMP 6703 eScience Project Semantic Web for Museums Student : Lei Junran Client/Technical Supervisor : Tom Worthington Academic Supervisor : Peter Strazdins.
Engineering the Presentation Layer of Adaptable Web Information Systems Zoltán Fiala 1, Flavius Frasincar 2, Michael Hinz 1, Geert-Jan Houben 2, Peter.
/ department of mathematics and computer science TU/e eindhoven university of technology ADC 2002 (Extra)January 29, Extraction Operators Projection.
/ department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, RDF Query Languages Flavius Frasincar
Hera Presentation Generator TU e Information Systems Group Department of Computer Science Eindhoven University of Technology Flavius Frasincar
TU e technische universiteit eindhoven / department of mathematics and computer science Information Systems Group – –
/ faculty of mathematics and informatics TU/e eindhoven university of technology ADBIS'200128/09/20011 An RMM-Based Methodology for Hypermedia Presentation.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
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.
A Z Approach in Validating ORA-SS Data Models Scott Uk-Jin Lee Jing Sun Gillian Dobbie Yuan Fang Li.
An Algebra for Composing Access Control Policies (2002) Author: PIERO BONATTI, SABRINA DE CAPITANI DI, PIERANGELA SAMARATI Presenter: Siqing Du Date:
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Dimitrios Skoutas Alkis Simitsis
Lexical Analysis I Specifying Tokens Lecture 2 CS 4318/5531 Spring 2010 Apan Qasem Texas State University *some slides adopted from Cooper and Torczon.
Efficient RDF Storage and Retrieval in Jena2 Written by: Kevin Wilkinson, Craig Sayers, Harumi Kuno, Dave Reynolds Presented by: Umer Fareed 파리드.
Semantically Processing The Semantic Web Presented by: Kunal Patel Dr. Gopal Gupta UNIVERSITY OF TEXAS AT DALLAS.
Language: Set of Strings
Programming Languages and Design Lecture 3 Semantic Specifications of Programming Languages Instructor: Li Ma Department of Computer Science Texas Southern.
Mathematical Preliminaries
Description of Information Resources: RDF/RDFS (an Introduction)
Presented By: Miss N. Nembhard. Relation Algebra Relational Algebra is : the formal description of how a relational database operates the mathematics.
Sesame: An Architecture for Storing and Querying RDF Data and Schema Inf. Yasser Ganji Saffar When they were out of sight Ali Baba.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 6 The Relational Algebra and Relational Calculus.
UNIT - I Formal Language and Regular Expressions: Languages Definition regular expressions Regular sets identity rules. Finite Automata: DFA NFA NFA with.
Semantic Interoperability in GIS N. L. Sarda Suman Somavarapu.
Author: Akiyoshi Matonoy, Toshiyuki Amagasay, Masatoshi Yoshikawaz, Shunsuke Uemuray.
PROPERTIES OF REGULAR LANGUAGES
Equivalence, DFA, NDFA Sequential Machine Theory Prof. K. J. Hintz
Logics for Data and Knowledge Representation
ece 720 intelligent web: ontology and beyond
Advanced Algorithms Analysis and Design
Presentation transcript:

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, RAL: an RDF Algebra Flavius Frasincar Geert-Jan Houben Richard Vdovjak Peter Barna

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Contents 1.Introduction 2.RAL Goals 3.RAL Data Model 4.RAL Operators 5.Conclusion

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Introduction Metadata is machine understandable information about web resources or other things [Source: Tim Berners-Lee, “Metadata Architecture”] RDF (Resource Description Framework) is the Web metadata language for the Web RDF extends the syntactic interoperability of XML to semantic interoperability being the foundation for the Semantic Web

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Semantic Web Architecture “Layer Cake” [Source: Tim Berners-Lee Director W3C Keynote speech at XML2000 “ RDF and the Semantic Web ” (Washington DC, 6 Dec. 2000)]

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Hera Hera research project: Web Information Systems (WIS) and web (hypermedia) generation in WIS WIS use RDF to represent and query application data for: –Semantic integration of data coming from heterogeneous sources –Semantic information presentation –Semantic querying Huge quantities of data and metadata need to be processed in real-time: optimization is crucial

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Hera Methodology/Suite

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, RDF Representations Primitive semantics: Subject Predicate Object Three alternative notations: Triple ( painted_by, “Rembrandt”) RDF/XML Rembrandt Graph painted_by Rembrandt

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, RDF Query Languages Triple-based: –Triple [successor of SiLRI] (Horn logic) –Metalog (Datalog) XML-based: –RDF Query –RQuery (XQuery) Graph-based (but not graphical): –RQL (OQL)

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, RAL Goals Support the formal specification of RDF query languages Provide a reference framework to compare different RDF query languages Consider the result construction phase –presently neglected by RDF query languages which focus only on extraction Enable algebraic query optimization

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, RAL RAL Data Model: specify what information is accessible (for RAL operators) in an RDF graph –Nodes: Resources and Literals –Edges: Properties RAL Operators: define operators working on collections of nodes from the RAL Data Model –Extraction Operators –Loop Operators –Construction Operators

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, RAL Data Model R is the set of resources R = U  B U is the set of URI references rdf:Property  U B is the set of blank nodes L is the set of literals U, B, L are disjoint P is the set of properties P  R, rdf:type  P R L rdf:type rdf:Property UB P

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, An RDF model M is a finite set of triples (statements) M  R  U  (R  L) The set of properties of an RDF model M P M = {p| (s, p, o)  M  (p, rdf:type, rdf:Property)  M} The RDF graph model is similar to a directed labeled graph (DLG) –It is not a DLG since it allows for multiple edges between two nodes –It is not a general multigraph because different edges between two nodes cannot share the same label

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, The RDF graph model corresponding to an RDF model M is defined by G M = (N, E, l N, l E ), l N : N  R  L, l E : E  P using the following construction mechanism: for each (s, p, o)  M add nodes n s, n o to N (different only if s  o) assign l N (n s ) = s, l N (n o ) = o add e p to E as a directed edge between n s and n o assign l E ( e p ) = p Observations: l N (.) is an injective partial function l E (.) is a total function

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Basic Properties Basic Property Result for resources Result for literals id l N (u), u  Ul N (s), s  L typeResourceLiteral Basic Property Result name l E (p), p  P subject r, r  R object o, o  R  L Two non-blank nodes are equal if they have the same id Two blank nodes are equal if they have the same properties and the corresponding property values are equal Nodes Edges

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, RDF(S)-Closure RDF Model Theory defines the RDF-closure and RDFS- closure of an RDF Model M by proposing a set of rules for generating new triples Extensional data: the original model M triples Intensional data: the new triples generated by the RDF(S)- closure RAL operators work on extensional+intensional data Variants of the operators can be defined to neglect the intensional data (similar to the RQL strict interpretation)

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, RAL Operators All operators have the following form o[f](x 1, x 2, … x n : expression) where an expression is a collection of nodes and f is a function having as input/output collection of nodes Extraction Operators: retrieve the needed information from an RDF graph Loop Operators: control the repetitive application of certain operators Construction Operators: build new RDF graphs from the extracted data

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12,

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Projection  [re_name](e: expression) computes the values of the properties with a name given by the regular expression re_name over strings on the input collection given by e Example  [(P|p)aint[s]#](r4) returns the resources painted by r4 4.1 Extraction Operators

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12,

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Selection  [condition](e: expression) selects input collection nodes fulfilling the given condition Example  [  [tname] = “Chiaroscuro”](c) where c is the collection of input resources r1, r2, r3, and r4, returns the resources representing the painting technique with the name“Chiaroscuro”

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12,

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Cartesian Product (x: expression)  (y: expression) for each element in the Cartesian product of the input collections, a blank node that has all properties of both originating nodes is added to the result Example  [  [rdf:type] = Technique](c)   [  [rdf:type] = Painter](c) returns a collection of blank nodes, each blank node having all the properties of the corresponding pair from the Cartesian product (the new nodes have both types Technique and Painter)

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12,

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Join (x: expression) ⋈ [condition] (y: expression)   [condition](x  y) is a Cartesian product followed by a selection Example (x:  [  [rdf:type] = Technique](c)) ⋈[  [ exemplified_by](x) =  [paints](y) ] ( y:  [  [rdf:type] = Painter](c)) returns a collection of blank nodes, each blank node having all the properties of the corresponding pair from the Cartesian product that satisfies the given condition

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12,

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Union, Difference, Intersection (x: expression)  (y: expression) where   { , ,  } defined as in set theory Example  [  [rdf:type] = Technique](c)   [  [rdf:type] = Painter](c), returns the collection of resources obtained by combining the two collections (these two collections are obtained using two selections)

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12,

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Loop Operators Map map[f](e: expression) applies the function f to each element of the input collection; the function results are added in the output collection Example map[  [ rdfs:subClassOf]](Painting, Painter) computes the parent classes using the property rdfs:subClassOf for the collection consisting of Painting and Painter

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12,

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12,

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Kleene Star  [f](e: expression) repeats the function f possibly infinite times starting with the given input collection; at each iteration the results of the function are added to the next function input Example  [  [rdfs:subClassOf]](Painting)) computes the transitive closure of the property rdfs:subClassOf starting from Painting, i.e. Painting and all its superclasses

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12,

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Construction Operators Create Node node[type, id]() adds a new node to the graph with the given type and id (id is missing for blank nodes) and returns this node; if a resource is created, an rdf:type edge is added between the resource and the node representing rdfs:Resource The Create Node operator assigns a unique (in the resulted RDF graph) internal identifier for each created node

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Caravagio rdfs:Resource rdf:type Example node[Resource]() and node[Literal,“Caravagio”]() create a Resource representing a blank node and a Literal representing the string “Caravagio”

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Create Edge edge[name, subject](object: expression) adds edges between the subject node and each of the nodes in the object collection, and returns the subject node; the label of the edges is given by name which is the id of a property resource The Create Node and Create Edge operators abort if the “well- formed RDF(S) graph” conditions (e.g. rdf:type cannot refer to a literal, literals cannot have properties etc.) are not met after construction

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, name Caravagio rdfs:Resource rdf:type Example edge[name, node[Resource]()](node[Literal, ”Caravagio”]()) creates an edge labeled with name between the nodes defined in the previous example

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Conclusion The RAL algebra is developed from a DB perspective and proposes a set of operators similar to their relational algebra counterparts: –Extraction Operators: Projection, Selection, Cartesian Product, Join, Union, Difference, Intersection Similar to the existing semi-structured query languages RAL considers powerful repetition operators: –Loop Operators: Map, Kleene Star As opposed to present RDF query languages RAL supports result construction: –Construction Operators: Create Node, Create Edge

/ department of mathematics and computer science TU/e technische universiteit eindhoven WISE 2002December 12, Future Work Analyze the power of expression of RAL compared to RQL, a popular RDF query language at present time (build a translation scheme from RQL to RAL) Formally specify the semantics of other RDF query languages in terms of RAL Compare the power of expression of different RDF query languages using RAL as reference language Explore equivalence rules for RAL expressions to be used in query optimization Develop an RDF query optimization algorithm on RAL