User Guide for Sesame 2.3


Table of Contents

1. rdf:about Sesame 2
1.1. What is it?
1.2. What's new?
2. Source code and binaries
3. Short introduction to Sesame's components
4. Setting up to use the Sesame libraries
4.1. Downloading the libraries
4.2. Logging: SLF4J initialization
5. Application directory configuration
6. Server software installation
6.1. Required software
6.2. Sesame server installation
6.3. Logging Configuration
6.4. Repository Configuration
7. Sesame Console
7.1. Getting started
7.2. Connecting to a set of repositories
7.3. Repository list
7.4. Creating a repository
7.5. Other commands
7.6. Repository configuration
7.6.1. Memory store configuration
7.6.2. Native store configuration
7.6.3. RDBMS store configuration
7.6.4. HTTP repository configuration
7.7. Repository configuration templates (advanced)
8. The Repository API
8.1. Creating a Repository object
8.1.1. Creating a main memory RDF Repository
8.1.2. Creating a Native RDF Repository
8.1.3. Creating a repository with RDF Schema inferencing
8.1.4. Accessing a remote repository
8.2. Using a repository: RepositoryConnections
8.2.1. Adding RDF to a repository
8.2.2. Querying a repository
8.2.3. Creating, retrieving, removing individual statements
8.2.4. Working with Collections and Iterations
8.2.5. Using context
8.2.6. Transactions
9. The SeRQL query language (revision 3.1)
9.1. Revisions
9.1.1. revision 1.1
9.1.2. revision 1.2
9.1.3. revision 2.0
9.1.4. revision 3.0
9.1.5. revision 3.1
9.2. Introduction
9.3. URIs, literals and variables
9.3.1. Variables
9.3.2. URIs
9.3.3. Literals
9.3.4. Blank Nodes (R1.2)
9.4. Path expressions
9.4.1. Basic path expressions
9.4.2. Path expression short cuts
9.4.3. Optional path expressions
9.5. Select- and construct queries
9.6. Select queries
9.7. Construct queries
9.8. The WHERE clause
9.8.1. Boolean constants
9.8.2. Value (in)equality
9.8.3. SameTerm (R3.1)
9.8.4. Numerical comparisons
9.8.5. Bound() (R3.0)
9.8.6. isUri() and isBnode() (R1.2)
9.8.7. Like (R1.2)
9.8.8. Regex (R3.1)
9.8.9. LangMatches (R3.1)
9.8.10. And, or, not
9.8.11. In (R3.1)
9.8.12. Nested WHERE clauses (R1.2)
9.9. Other functions
9.9.1. label(), lang() and datatype()
9.9.2. namespace() and localName() (R1.2)
9.9.3. str() (R3.1)
9.10. The ORDER BY clause
9.11. The LIMIT and OFFSET clauses
9.12. The USING NAMESPACE clause
9.13. Built-in predicates (REVISED in R2.0)
9.14. Set combinatory operations
9.14.1. UNION (REVISED in R3.0, extended in R3.1)
9.14.2. INTERSECT (R1.2)
9.14.3. MINUS (R1.2)
9.15. Query Nesting
9.15.1. IN (R1.2)
9.15.2. ANY and ALL (R1.2)
9.15.3. EXISTS (R1.2)
9.16. Querying context (R2.0)
9.17. Example SeRQL queries
9.17.1. Query 1
9.17.2. Query 2
9.17.3. Query 3
9.18. References
9.19. SeRQL grammar

List of Figures

3.1. A high-level overview of Sesame's most prominent components and their dependencies
9.1. A basic path expression
9.2. Multi-value nodes
9.3. Multi-value nodes in a longer path expression
9.4. Branches in a path expression
9.5. Branches in a longer path expression
9.6. A reification path expression
9.7. Path expression for query 1
9.8. Path expression for query 2
9.9. Path expression for query 3

List of Tables

9.1. Default namespaces