User Guide for Sesame 2.0 (DRAFT)

DRAFT Updated for Sesame release 2.0-beta4


Table of Contents

1. Sesame 2: what's new?
2. Short introduction to Sesame's components
3. Sesame 2.0 HTTP Server Installation
3.1. Required software
3.2. Sesame server installation
3.3. Configuring the Data Directory
3.4. Repository Configuration
3.4.1. Memory store configuration
3.4.2. Native store configuration
4. The Repository API
4.1. Creating a Repository object
4.1.1. Creating a main memory RDF Repository
4.1.2. Creating a main memory RDF Schema Repository
4.1.3. Accessing a remote repository
4.2. Using a repository: RepositoryConnections
4.2.1. Adding RDF to a repository
4.2.2. Querying a repository
4.2.3. Creating, retrieving, removing individual statements
4.2.4. Working with Collections and Iterations
4.2.5. Using context
4.2.6. Transactions
5. The SeRQL query language (revision 2.0)
5.1. Revisions
5.1.1. revision 1.1
5.1.2. revision 1.2
5.1.3. revision 2.0
5.2. Introduction
5.3. URIs, literals and variables
5.3.1. Variables
5.3.2. URIs
5.3.3. Literals
5.3.4. Blank Nodes (R1.2)
5.4. Path expressions
5.4.1. Basic path expressions
5.4.2. Path expression short cuts
5.4.3. Optional path expressions
5.5. Select- and construct queries
5.6. Select queries
5.7. Construct queries
5.8. The WHERE clause
5.8.1. Boolean constants
5.8.2. Value (in)equality
5.8.3. Numerical comparisons
5.8.4. The LIKE operator (R1.2)
5.8.5. isResource() and isLiteral()
5.8.6. isURI() and isBNode() (R1.2)
5.8.7. AND, OR, NOT
5.8.8. Nested WHERE clauses (R1.2)
5.9. Other functions
5.9.1. label(), lang() and datatype()
5.9.2. namespace() and localName() (R1.2)
5.10. The LIMIT and OFFSET clauses
5.11. The USING NAMESPACE clause
5.12. Built-in predicates
5.13. Set combinatory operations
5.13.1. UNION (R1.2)
5.13.2. INTERSECT (R1.2)
5.13.3. MINUS (R1.2)
5.14. NULL values
5.15. Query Nesting
5.15.1. The IN operator (R1.2)
5.15.2. ANY and ALL (R1.2)
5.15.3. EXISTS (R1.2)
5.16. Querying context (R2.0)
5.17. Example SeRQL queries
5.17.1. Query 1
5.17.2. Query 2
5.17.3. Query 3
5.18. Comments/feedback
5.19. References
5.20. SeRQL grammar

List of Figures

2.1. A high-level overview of Sesame's most prominent components and their dependencies
5.1. A basic path expression
5.2. Multi-value nodes
5.3. Multi-value nodes in a longer path expression
5.4. Branches in a path expression
5.5. Branches in a longer path expression
5.6. A reification path expression
5.7. Path expression for query 1
5.8. Path expression for query 2
5.9. Path expression for query 3

List of Tables

5.1. Default namespaces