Presentation is loading. Please wait.

Presentation is loading. Please wait.

/ department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, 20031 What is Wrong with RQL? Flavius Frasincar

Similar presentations


Presentation on theme: "/ department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, 20031 What is Wrong with RQL? Flavius Frasincar"— Presentation transcript:

1 / department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, 20031 What is Wrong with RQL? Flavius Frasincar flaviusf@win.tue.nl

2 / department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, 20032 SeRQL SeRQL proposes an RDF query language very similar to RQL that solves some of the problems encountered with RQL in practice SeRQL stands for Sesame RDF Query Language (pronounce “circle”) Available from http://sesame.aidministrator.nl/ You can try SeRQL queries at http://sesame.aidministrator.nl/ sesame/actionFrameset.jsp?repository=museum Feedback to the developers is highly appreciated sesame-devel@lists.sourceforge.net

3 / department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, 20033 Variables vs. URIs RQL: does not distinguish between variables and URIs (whitespaces are the solution but they are error prone) {Painter :cult:Painter}cult:paints. cult:technique{Technique} SeRQL: proposes different syntax between variables and URIs –full URI –short URI –variable Painter

4 / department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, 20034 Literals RQL handles only plain literals “17”@en Resource Description Framework (RDF): Concepts and Abstract Syntax defines typed literals as consisting of three parts (last two optional): –Label –Optional Language Tag –Optional Data Type (XML Data Types or rdf:XMLLiteral ) SeRQL defines three functions for that: label(), lang(), and datatype() “17”@en^^

5 / department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, 20035 Path Expressions RQL: uses optional nodes and ‘.’ followed by whitespace {cult :Painter}cult:Paints{Painting}. cult:technique{Technique} {cult :Painter}cult:Paints. cult:technique{Technique} SeRQL: uses always ‘{‘and’}’ {cult :Painter}cult:Paints{Painting}cult:technique{Technique} {cult :Painter}cult:Paints{}cult:technique{Technique} SeRQL defines shortcuts for multiple value nodes and branches

6 / department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, 20036 Construct Queries RQL: supports only select queries that extract information from a model select Painter, Painting from {Painter} cult:paints {Painting} using namespace cult = http://www.icom.com/schema.rdf# SeRQL: supports also construct queries construct {Painting} {Painter} from {Painter} {Painting} using namespace res =, cult =

7 / department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, 20037 Other SeRQL Features RQL does not remove duplicates select Painter from {Painter} cult:paints {Painting} using namespace cult = http://www.icom.com/schema.rdf# SeRQL uses “select distinct” to remove duplicates select distinct Painter from {Painter} {Painting} using namespace cult =

8 / department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, 20038 Other SeRQL Features (cont’d) SeRQL uses NULL (also) for comparison operations SeRQL has isLiteral() and isResource() Boolean functions defined select * from {R} {L} where isLiteral(L) and lang(L) like "en*" and datatype(L) = NULL using namespace rdfs =


Download ppt "/ department of mathematics and computer science TU/e eindhoven university of technology ISAApril 17, 20031 What is Wrong with RQL? Flavius Frasincar"

Similar presentations


Ads by Google