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
SPARQL Protocol End Point
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. SPARQL Protocol End Point
14.4.1. Supported Methods and End Point URI
14.4.2. Supported MIME Types of SPARQL Protocol
14.4.3. SPARQL Client Functions