Table of contents (second edition)

  •     Preface
    • Why Learn SPARQL?
    • Organization of This Book
    • Conventions Used in This Book
    • Documentation Conventions
    • Using Code Examples
    • Safari Books Online
    • How to Contact Us
    • Acknowledgments
  • 1. Jumping Right In: Some Data and Some Queries
    • The Data to Query
    • Querying the Data
    • More Realistic Data and Matching on Multiple Triples
    • Searching for Strings
    • What Could Go Wrong?
    • Querying a Public Data Source
    • Summary
  • 2. The Semantic Web, RDF, and Linked Data (and SPARQL)
    • What Exactly Is the .Semantic Web.?
    • URLs, URIs, IRIs, and Namespaces
    • The Resource Description Framework (RDF)
    • Reusing and Creating Vocabularies: RDF Schema and OWL
    • Linked Data
    • SPARQL.s Past, Present, and Future
    • The SPARQL Specifications
    • Summary
  • 3. SPARQL Queries: A Deeper Dive
    • More Readable Query Results
    • Data That Might Not Be There
    • Finding Data That Doesn.t Meet Certain Conditions
    • Searching Further in the Data
    • Searching with Blank Nodes
    • Eliminating Redundant Output
    • Combining Different Search Conditions
    • FILTERing Data Based on Conditions
    • Retrieving a Specific Number of Results
    • Querying Named Graphs
    • Queries in Your Queries
    • Combining Values and Assigning Values to Variables
    • Creating Tables of Values in Your Queries
    • Sorting, Aggregating, Finding the Biggest and Smallest and...
    • Querying a Remote SPARQL Service
    • Federated Queries: Searching Multiple Datasets with One Query
    • Summary
  • 4. Copying, Creating, and Converting Data (and Finding Bad Data)
    • Query Forms: SELECT, DESCRIBE, ASK, and CONSTRUCT
    • Copying Data
    • Creating New Data
    • Converting Data
    • Finding Bad Data
    • Asking for a Description of a Resource
    • Summary
  • 5. Datatypes and Functions
    • Datatypes and Queries
    • Functions
    • Extension Functions
    • Summary
  • 6. Updating Data with SPARQL
    • Getting Started with Fuseki
    • Adding Data to a Dataset
    • Deleting Data
    • Changing Existing Data
    • Named Graphs
    • Summary
  • 7. Query Efficiency and Debugging
    • Efficiency Inside the WHERE Clause
    • Efficiency Outside the WHERE Clause
    • Debugging
    • Summary
  • 8. Working with SPARQL Query Result Formats
    • SPARQL Query Results XML Format
    • SPARQL Query Results JSON Format
    • SPARQL Query Results CSV and TSV Formats
    • Summary
  • 9. RDF Schema, OWL, and Inferencing
    • What Is Inferencing?
    • SPARQL and RDFS Inferencing
    • SPARQL and OWL Inferencing
    • Using SPARQL to Do Your Inferencing
    • Querying Schemas
    • Summary
  • 10. Building Applications with SPARQL
    • Applications and Triples
    • SPARQL and Web Application Development
    • SPARQL Processors
    • SPARQL and HTTP
    • Summary
  • 11. A SPARQL Cookbook
    • Themes and Variations
    • Exploring the Data
      • How Do I Look at All the Data at Once?
      • What Classes Are Declared?
      • What Properties Are Declared?
      • Which Classes Have Instances?
      • What Properties Are Used?
      • Which Classes Use a Particular Property?
      • How Much Was a Given Property Used?
      • How Much Was a Given Class Used?
      • A Given Class Has Lots of Instances. What Are These Things?
      • What Data Is Stored About a Class.s Instances?
      • What Values Does a Given Property Have?
      • A Certain Property.s Values Are Resources. What Data Do We Have About Them?
      • How Do I Find Undeclared Properties?
      • How Do I Treat a URI as a String?
      • Which Data or Property Name Includes a Certain Substring?
      • How Do I Convert a String to a URI?
      • How Do I Query a Remote Endpoint?
      • How Do I Retrieve Triples from a Remote Endpoint?
    • Creating and Updating Data
      • How Do I Delete All the Data?
      • How Do I Globally Replace a Property Value?
      • How Do I Replace One Property with Another?
      • How Do I Change the Datatype of a Certain Property.s Values?
      • How Do I Turn Resources into Instances of Declared Classes?
    • Summary
  •     Glossary
  •     Index