July 2011
Intermediate to advanced
384 pages
12h 26m
English
Suppose we want to know the movies that James Dean played in, and the dates they were released:

| ?movie | ?date |
| Giant | 1956 |
| EastOfEden | 1955 |
| RebelWithoutaCause | 1955 |
These answers come back in no particular order; different SPARQL implementations (and even the same implementation, at different times) are free to produce the results in any order they like.
We can specify an ordering in the query for the results using the directive ORDER BY. The ORDER BY directive comes after the graph pattern, and specifies one or more variables to use to determine the order in which the results are returned. The following ...
Read now
Unlock full access