www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Overview
Installation Guide
Quick Start & Tours
Sample ODBC & JDBC Applications
Conceptual Overview
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 Data Access and Data Management
Data Representation
SPARQL
RDF Graphs Security
Automated Generation of RDF Views over Relational Data Sources
RDF Insert Methods in Virtuoso
Integration Middleware
Linked Data
Inference Rules & Reasoning
RDF and Geometry
Performance Tuning
RDF Data Access Providers (Drivers)
Web Services
Runtime Hosting
Internet Services
Free Text Search
TPC C Benchmark Kit
Using Virtuoso with Tuxedo
Appendix
Virtuoso Functions Guide

Abstract

Starting with version 4.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. From version 5.0.7, Virtuoso can be used as the RDF store/query processor of the Jena and Sesame RDF frameworks.

This chapter discusses Virtuoso's RDF triple storage and query capabilities. This discusses storing RDF data as well as mapping existing relational data into RDF for SPARQL access. Numerous SPARQL language extensions and standard compliance are covered.

In this chapter SPARQL and SPASQL are used as siblings.

Table of Contents

14.1. Data Representation
14.1.1. IRI_ID Type
14.1.2. RDF_BOX Type
14.1.3. RDF_QUAD and other tables
14.1.4. Short, Long and SQL Values
14.1.5. Programatically resolving DB.DBA.RDF_QUAD.O to SQL
14.1.6. Special Cases and XML Schema Compatibility
14.1.7. SQL Compiler Support - QUIETCAST option
14.1.8. Dynamic Renaming of Local IRI's
14.2. SPARQL
14.2.1. SPARQL Implementation Details
14.2.2. Query Constructs
14.2.3. SPARQL Web Services & APIs
14.2.4. Troubleshooting SPARQL Queries
14.2.5. Extensions
14.2.6. SPARQL Inline in SQL
14.2.7. API Functions
14.2.8. Useful Internal Functions
14.2.9. Default and Named Graphs
14.2.10. Calling SQL from SPARQL
14.2.11. SPARQL DESCRIBE
14.2.12. Transitivity in SPARQL
14.3. RDF Graphs Security
14.3.1. RDF Graph Groups
14.3.2. NOT FROM and NOT FROM NAMED Clauses
14.3.3. Graph-Level Security
14.3.4. Understanding Default Permissions
14.3.5. Initial Configuration of SPARQL Security
14.3.6. Application Callbacks for Graph Level Security
14.4. Automated Generation of RDF Views over Relational Data Sources
14.4.1. Introduction
14.4.2. One Click Linked Data Generation & Deployment
14.4.3. Manual Linked Data Generation & Deployment using the Conductor's HTML-based wizard
14.5. RDF Insert Methods in Virtuoso
14.5.1. Using API functions
14.5.2. HTTP Post using Content-Type: application/sparql-query
14.5.3. HTTP PUT using Content-Type: application/rdf+xml
14.5.4. SPARQL Insert using LOAD
14.5.5. SPARQL Insert via /sparql endpoint
14.5.6. SPARQL Insert via HTTP Post using Content-Type: application/sparql-query and ODS wiki
14.5.7. Using WebDAV
14.5.8. Using Virtuoso Crawler
14.5.9. Using SPARQL Query and Sponger (i.e. we Sponge the Resources in the FROM Clause or values for the graph-uri parameter in SPARQL protocol URLs)
14.5.10. Using Virtuoso PL APIs
14.5.11. Using SIMILE RDF Bank API
14.5.12. Using RDF NET
14.5.13. Using the RDF Proxy (Sponger) Service
14.6. Integration Middleware
14.6.1. RDFizer Middleware (Sponger)
14.6.2. Enterprise Data Access & Integration
14.6.3. RDF Views over RDBMS Data Source
14.6.4. Sponger Programmers Guide
14.7. Linked Data
14.7.1. IRI Dereferencing For FROM Clauses, "define get:..." Pragmas
14.7.2. IRI Dereferencing For Variables, "define input:grab-..." Pragmas
14.7.3. URL rewriting
14.7.4. Examples of other Protocol Resolvers
14.7.5. Faceted Views over Large-Scale Linked Data
14.8. Inference Rules & Reasoning
14.8.1. Introduction
14.8.2. Making Rule Sets
14.8.3. Changing Rule Sets
14.8.4. Subclasses and Subproperties
14.8.5. OWL sameAs Support
14.8.6. Implementation
14.8.7. Enabling Inferencing
14.8.8. Examples
14.8.9. Identity With Inverse Functional Properties
14.8.10. Inference Rules and SPARQL with Transitivity Option
14.8.11. Inference Rules, OWL Support and Relationship Ontology
14.9. RDF and Geometry
14.9.1. Programmatic Manipulation of Geometries in RDF
14.9.2. Creating Geometries From RDF Data
14.9.3. Using Geometries With Existing Databases
14.9.4. GEO Spatial Examples
14.10. Performance Tuning
14.10.1. General
14.10.2. RDF Index Scheme
14.10.3. Index Scheme Selection
14.10.4. Dump and Reload Graphs
14.10.5. Dump RDF View Graph to n3
14.10.6. Erroneous Cost Estimates and Explicit Join Order
14.10.7. Loading
14.10.8. Using SPARUL
14.10.9. DBpedia Benchmark
14.10.10. RDF Store Benchmarks
14.11. RDF Data Access Providers (Drivers)
14.11.1. Virtuoso Jena Provider
14.11.2. Virtuoso Sesame Provider
14.11.3. Virtuoso Redland Provider