A Comparison of RDF Query Languages

Report

Download pdf
Please see also the corresponding ISWC'04 Paper A Comparison of RDF Query Languages (BibTeX)

Sample Data

sample.rdf

Usecases



Query Name RDQL Triple SeRQL Versa N3 RQL RDFQL RxPath
Path Expression Yes Yes Yes Yes Yes Yes Yes Yes
Optional Path No No Yes Yes No Restricted Yes Restricted
Union No Yes Yes Yes Yes Yes Yes Yes
Difference No No Yes Restricted No Yes Yes Yes
Quantification No Restricted Yes No No Yes Yes No
Aggregation No No No Yes Yes Yes Yes Yes
Recursion No Yes No Yes Yes No Yes Yes
Reification Restricted Restricted Yes Restricted No Restricted Yes ???
Collection and Containers Restricted Restricted Restricted Restricted Restricted Restricted Restricted Yes
Namespace Restricted No Yes No Yes Yes Yes Yes
Language No No Yes No No No Yes Yes
Lexical Space Yes Yes Yes Yes Yes Yes Yes Yes
Value Space Restricted No Yes No No Yes Yes Yes
Entailment Restricted Restricted Yes No Restricted Yes Yes No

1 Path Expression
Return the names of the authors of publication X.

2 Optional Path
Return the name and, if known, the e-mail of the author of publication X.

3 union
Return the labels of all topics that and (union) the titles of all publications.

4 difference
Return the labels of all topics that are not titles of publications.

5 Quantification
Return the persons who are authors of all publications.

6 Aggregation
Count the number of authors of a publication.

7 Recursion
Return all subtopics of topic "Information Systems", recursively.

8 Reification
Return the person who has classified the publication X.

9 Collections and Containers
Return the first author of Publication X.

10 Namespace
Return all resources whose namespace starts with "http://www.aifb.uni-karlsruhe.de/".

11 Language
Return the German label of the topic whose English label is "Database Management".

12 Lexical Space
Return all publications where the page number is the lexical value '08'.

13 Value Space
Return all publications where the page number is the integer value 8.

14 Entailment
Return all instances of that are members of the class Publication.

Change History

We try to keep this comparison up-to-date, but keep the old versions for future reference.

2005-04-11 (this version): Updated SeRQL queries

2004-04-28: Initial Version


Contact: Peter Haase (peter 'at' aifb.uni-karlsruhe.de)