You can use this to get an idea of the kinds of results an RQL query gives. Although the specified output format of an RQL query is RDF, the query results of these examples are presented in an HTML table for convenience. In the figure below, an overview of the schema of this repository is given. Overview of the schema structure for the Museum repository As we can see, the schema consists of classes and properties from two different namespaces. Class is a basic query that returns all known classes in the repository.
Property is a basic query that returns all known properties in the repository.
Note that in our example repository, the above query will return no results. Building more complex queries 4.1. Similarly to its use in database Query Languages like SQL, select allows the definition of a filter of the number and order of the retrieved data. However, we can change the select part to tailor the outcome of the query. If we switch the order of X and Y , the resulting output will have source and target values reversed.