www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Overview
Installation Guide
Quick Start & Tours
Sample ODBC & JDBC Applications
Conceptual Overview
Server Administration
Data Access Interfaces
SQL Reference
SQL Procedure Language Guide
Database Event Hooks
Data Replication, Synchronization and Transformation Services
Web Application Development
XML Support
RDF Database and SPARQL
Data Representation
RDF and SPARQL API and SQL
SPARQL Implementation Extent
Virtuoso SPARQL Query Service
Web Services
Runtime Hosting
Internet Services
Free Text Search
TPC C Benchmark Kit
Using Virtuoso with Tuxedo
Appendix
Virtuoso Functions Guide

Abstract

Starting with version4.5, Virtuoso provides built-in support for SPARQL, the standard query language for RDF and the semantic web. Adoption of SPARQL with Virtuoso is effortless, as any existing SQL client applications and stored procedures can take advantage of SPARQL simply by using it in the place of or inside SQL queries. Additionally, Virtuoso offers the standard SPARQL protocol to HTTP clients.

This chapter discusses Virtuoso's RDF triple storage and query capabilities. This is divided into a discussion of the RDF data representation, the SPARQL and SQL API's, protocol support and standard compliance notes.

Table of Contents

14.1. Data Representation
14.1.1. IRI_ID Type
14.1.2. RDF_QUAD and other tables
14.1.3. Short, Long and SQL Values
14.1.4. Special Cases and XML Schema Compatibility
14.1.5. SQL Compiler Support - QUIETCAST option
14.2. RDF and SPARQL API and SQL
14.2.1. SPARQL Inline in SQL
14.2.2. API Functions
14.2.3. Useful Internal Functions
14.2.4. Default Graph and Graph IRI's
14.2.5. Calling SQL from SPARQL
14.2.6. Insert/Delete of Query Result Graphs
14.3. SPARQL Implementation Extent
14.3.1. SPARQL and XQuery
14.4. Virtuoso SPARQL Query Service
14.4.1. Introduction
14.4.2. Service Endpoint
14.4.3. Request Methods
14.4.4. Functions
14.4.5. Request Parameters
14.4.6. Response Codes
14.4.7. Response Format
14.4.8. Additional Response Formats -- SELECT
14.4.9. Examples
14.4.10. Implementation Notes
14.4.11. Virtuoso Semantic Bank end point