Submit Feedback/Bug Report

myExperiment Logo How To SPARQL

Contents

  1. Using the SPARQL Endpoint
    1. Useful Prefixes
    2. Formatting
    3. Soft Limit
    4. Reasoning
    5. Automated Querying
  2. PREFIX
    1. BASE
  3. SELECT
    1. DISTINCT
    2. COUNT
    3. SUM
    4. AVG
    5. MAX and MIN
  4. WHERE
    1. UNION
    2. OPTIONAL
  5. FILTER
    1. On Text
    2. On Numbers
    3. On Dates
  6. GROUP BY
  7. ORDER BY
  8. LIMIT
    1. OFFSET
  9. Troubleshooting
    1. Syntax Errors
    2. Complexity Warnings
    3. Parser Warnings

myExperiment's SPARQL endpoint allows anyone to query all of myExperiment's public data using the query language SPARQL.

Although SPARQL is relatively easy to use it may take a while to get your head round, particularly if you are coming to it new and you are not from a Computer Science background. This guide is intended to help explain the basics of SPARQL and give usable examples that will return actual results from myExperiment's SPARQL endpoint.

The first section explains how to use the SPARQL endpoint and the unique features of the myExperiment SPARQL endpoint.

Sections 2-8 explain the main clauses used within SPARQL and how they are used to define queries.

Section 9 give some explanation of various warning and error messages you might be prompted with and how to fix your query to eliminate these.