org.eclipse.rdf4j.model.vocabulary.SD Maven / Gradle / Ivy
Show all versions of rdf4j-model-vocabulary Show documentation
/*******************************************************************************
* Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
package org.eclipse.rdf4j.model.vocabulary;
import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Namespace;
/**
* Namespace Sparql-service-description. Prefix: {@code }
*
* @author Peter Ansell
* @see SPARQL 1.1 Service Description
*/
public class SD {
/**
* {@code http://www.w3.org/ns/sparql-service-description#}
*/
public static final String NAMESPACE = "http://www.w3.org/ns/sparql-service-description#";
/**
* {@code sd}
*/
public static final String PREFIX = "sd";
/**
* An immutable {@link Namespace} constant that represents the SPARQL Service Description namespace.
*/
public static final Namespace NS = Vocabularies.createNamespace(PREFIX, NAMESPACE);
/**
* Aggregate
*
* {@code http://www.w3.org/ns/sparql-service-description#Aggregate}.
*
* An instance of sd:Aggregate represents an aggregate that may be used in a SPARQL aggregate query (for instance in
* a HAVING clause or SELECT expression) besides the standard list of supported aggregates COUNT, SUM, MIN, MAX,
* AVG, GROUP_CONCAT, and SAMPLE.
*
* @see Aggregate
*/
public static final IRI AGGREGATE;
/**
* available graph descriptions
*
* {@code http://www.w3.org/ns/sparql-service-description#availableGraphs}.
*
* Relates an instance of sd:Service to a description of the graphs which are allowed in the construction of a
* dataset either via the SPARQL Protocol, with FROM/FROM NAMED clauses in a query, or with USING/USING NAMED in an
* update request, if the service limits the scope of dataset construction.
*
* @see availableGraphs
*/
public static final IRI AVAILBLE_GRAPHS;
/**
* Basic Federated Query
*
* {@code http://www.w3.org/ns/sparql-service-description#BasicFederatedQuery}.
*
* sd:BasicFederatedQuery, when used as the object of the sd:feature property, indicates that the SPARQL service
* supports basic federated query using the SERVICE keyword as defined by SPARQL 1.1 Federation Extensions.
*
* @see BasicFederatedQuery
*/
public static final IRI BASIC_FEDERATED_QUERY;
/**
* Dataset
*
* {@code http://www.w3.org/ns/sparql-service-description#Dataset}.
*
* An instance of sd:Dataset represents a RDF Dataset comprised of a default graph and zero or more named graphs.
*
* @see Dataset
*/
public static final IRI DATASET;
/**
* default dataset description
*
* {@code http://www.w3.org/ns/sparql-service-description#defaultDataset}.
*
* Relates an instance of sd:Service to a description of the default dataset available when no explicit dataset is
* specified in the query, update request or via protocol parameters.
*
* @see defaultDataset
*/
public static final IRI DEFAULT_DATASET;
/**
* default entailment regime
*
* {@code http://www.w3.org/ns/sparql-service-description#defaultEntailmentRegime}.
*
* Relates an instance of sd:Service with a resource representing an entailment regime used for basic graph pattern
* matching. This property is intended for use when a single entailment regime by default applies to all graphs in
* the default dataset of the service. In situations where a different entailment regime applies to a specific graph
* in the dataset, the sd:entailmentRegime property should be used to indicate this fact in the description of that
* graph.
*
* @see
* defaultEntailmentRegime
*/
public static final IRI DEFAULT_ENTAILMENT_REGIME;
/**
* default graph
*
* {@code http://www.w3.org/ns/sparql-service-description#defaultGraph}.
*
* Relates an instance of sd:Dataset to the description of its default graph.
*
* @see defaultGraph
*/
public static final IRI DEFAULT_GRAPH;
/**
* default supported entailment profile
*
* {@code http://www.w3.org/ns/sparql-service-description#defaultSupportedEntailmentProfile}.
*
* Relates an instance of sd:Service with a resource representing a supported profile of the default entailment
* regime (as declared by sd:defaultEntailmentRegime).
*
* @see
* defaultSupportedEntailmentProfile
*/
public static final IRI DEFAULT_SUPPORTED_ENTAILMENT_PROFILE;
/**
* Dereferences URIs
*
* {@code http://www.w3.org/ns/sparql-service-description#DereferencesURIs}.
*
* sd:DereferencesURIs, when used as the object of the sd:feature property, indicates that a SPARQL service will
* dereference URIs used in FROM/FROM NAMED and USING/USING NAMED clauses and use the resulting RDF in the dataset
* during query evaluation.
*
* @see DereferencesURIs
*/
public static final IRI DEREFERENCES_URIS;
/**
* Empty Graphs
*
* {@code http://www.w3.org/ns/sparql-service-description#EmptyGraphs}.
*
* sd:EmptyGraphs, when used as the object of the sd:feature property, indicates that the underlying graph store
* supports empty graphs. A graph store that supports empty graphs MUST NOT remove graphs that are left empty after
* triples are removed from them.
*
* @see EmptyGraphs
*/
public static final IRI EMPTY_GRAPHS;
/**
* endpoint
*
* {@code http://www.w3.org/ns/sparql-service-description#endpoint}.
*
* The SPARQL endpoint of an sd:Service that implements the SPARQL Protocol service. The object of the sd:endpoint
* property is an IRI.
*
* @see endpoint
*/
public static final IRI ENDPOINT;
/**
* Entailment Profile
*
* {@code http://www.w3.org/ns/sparql-service-description#EntailmentProfile}.
*
* An instance of sd:EntailmentProfile represents a profile of an entailment regime. An entailment profile MAY
* impose restrictions on what constitutes valid RDF with respect to entailment.
*
* @see EntailmentProfile
*/
public static final IRI ENTAILMENT_PROFILE;
/**
* Entailment Regime
*
* {@code http://www.w3.org/ns/sparql-service-description#EntailmentRegime}.
*
* An instance of sd:EntailmentRegime represents an entailment regime used in basic graph pattern matching (as
* described by SPARQL 1.1 Query Language).
*
* @see EntailmentRegime
*/
public static final IRI ENTAILMENT_REGIME_CLASS;
/**
* entailment regime
*
* {@code http://www.w3.org/ns/sparql-service-description#entailmentRegime}.
*
* Relates a named graph description with a resource representing an entailment regime used for basic graph pattern
* matching over that graph.
*
* @see entailmentRegime
*/
public static final IRI ENTAILMENT_REGIME_PROPERTY;
/**
* extension aggregate
*
* {@code http://www.w3.org/ns/sparql-service-description#extensionAggregate}.
*
* Relates an instance of sd:Service to an aggregate that may be used in a SPARQL aggregate query (for instance in a
* HAVING clause or SELECT expression) besides the standard list of supported aggregates COUNT, SUM, MIN, MAX, AVG,
* GROUP_CONCAT, and SAMPLE
*
* @see extensionAggregate
*/
public static final IRI EXTENSION_AGGREGATE;
/**
* extension function
*
* {@code http://www.w3.org/ns/sparql-service-description#extensionFunction}.
*
* Relates an instance of sd:Service to a function that may be used in a SPARQL SELECT expression or a FILTER,
* HAVING, GROUP BY, ORDER BY, or BIND clause.
*
* @see extensionFunction
*/
public static final IRI EXTENSION_FUNCTION;
/**
* Feature
*
* {@code http://www.w3.org/ns/sparql-service-description#Feature}.
*
* An instance of sd:Feature represents a feature of a SPARQL service. Specific types of features include functions,
* aggregates, languages, and entailment regimes and profiles. This document defines five instances of sd:Feature:
* sd:DereferencesURIs, sd:UnionDefaultGraph, sd:RequiresDataset, sd:EmptyGraphs, and sd:BasicFederatedQuery.
*
* @see Feature
*/
public static final IRI FEATURE_CLASS;
/**
* feature
*
* {@code http://www.w3.org/ns/sparql-service-description#feature}.
*
* Relates an instance of sd:Service with a resource representing a supported feature.
*
* @see feature
*/
public static final IRI FEATURE_PROPERTY;
/**
* Function
*
* {@code http://www.w3.org/ns/sparql-service-description#Function}.
*
* An instance of sd:Function represents a function that may be used in a SPARQL SELECT expression or a FILTER,
* HAVING, GROUP BY, ORDER BY, or BIND clause.
*
* @see Function
*/
public static final IRI FUNCTION;
/**
* graph
*
* {@code http://www.w3.org/ns/sparql-service-description#graph}.
*
* Relates a named graph to its graph description.
*
* @see graph
*/
public static final IRI GRAPH_PROPERTY;
/**
* Graph
*
* {@code http://www.w3.org/ns/sparql-service-description#Graph}.
*
* An instance of sd:Graph represents the description of an RDF graph.
*
* @see Graph
*/
public static final IRI GRAPH_CLASS;
/**
* Graph Collection
*
* {@code http://www.w3.org/ns/sparql-service-description#GraphCollection}.
*
* An instance of sd:GraphCollection represents a collection of zero or more named graph descriptions. Each named
* graph description belonging to an sd:GraphCollection MUST be linked with the sd:namedGraph predicate.
*
* @see GraphCollection
*/
public static final IRI GRAPH_COLLECTION;
/**
* input format
*
* {@code http://www.w3.org/ns/sparql-service-description#inputFormat}.
*
* Relates an instance of sd:Service to a format that is supported for parsing RDF input; for example, via a SPARQL
* 1.1 Update LOAD statement, or when URIs are dereferenced in FROM/FROM NAMED/USING/USING NAMED clauses.
*
* @see inputFormat
*/
public static final IRI INPUT_FORMAT;
/**
* Language
*
* {@code http://www.w3.org/ns/sparql-service-description#Language}.
*
* An instance of sd:Language represents one of the SPARQL languages, including specific configurations providing
* particular features or extensions. This document defines three instances of sd:Language: sd:SPARQL10Query,
* sd:SPARQL11Query, and sd:SPARQL11Update.
*
* @see Language
*/
public static final IRI LANGUAGE;
/**
* language extension
*
* {@code http://www.w3.org/ns/sparql-service-description#languageExtension}.
*
* Relates an instance of sd:Service to a resource representing an implemented extension to the SPARQL Query or
* Update language.
*
* @see languageExtension
*/
public static final IRI LANGUAGE_EXTENSION;
/**
* name
*
* {@code http://www.w3.org/ns/sparql-service-description#name}.
*
* Relates a named graph to the name by which it may be referenced in a FROM/FROM NAMED clause. The object of the
* sd:name property is an IRI.
*
* @see name
*/
public static final IRI NAME;
/**
* named graph
*
* {@code http://www.w3.org/ns/sparql-service-description#namedGraph}.
*
* Relates an instance of sd:GraphCollection (or its subclass sd:Dataset) to the description of one of its named
* graphs. The description of such a named graph MUST include the sd:name property and MAY include the sd:graph
* property.
*
* @see namedGraph
*/
public static final IRI NAMED_GRAPH_PROPERTY;
/**
* Named Graph
*
* {@code http://www.w3.org/ns/sparql-service-description#NamedGraph}.
*
* An instance of sd:NamedGraph represents a named graph having a name (via sd:name) and an optional graph
* description (via sd:graph).
*
* @see NamedGraph
*/
public static final IRI NAMED_GRAPH_CLASS;
/**
* property feature
*
* {@code http://www.w3.org/ns/sparql-service-description#propertyFeature}.
*
* Relates an instance of sd:Service to a resource representing an implemented feature that extends the SPARQL Query
* or Update language and that is accessed by using the named property.
*
* @see propertyFeature
*/
public static final IRI PROPERTY_FEATURE;
/**
* Requires Dataset
*
* {@code http://www.w3.org/ns/sparql-service-description#RequiresDataset}.
*
* sd:RequiresDataset, when used as the object of the sd:feature property, indicates that the SPARQL service
* requires an explicit dataset declaration (based on either FROM/FROM NAMED clauses in a query, USING/USING NAMED
* clauses in an update, or the appropriate SPARQL Protocol parameters).
*
* @see RequiresDataset
*/
public static final IRI REQUIRES_DATASET;
/**
* result format
*
* {@code http://www.w3.org/ns/sparql-service-description#resultFormat}.
*
* Relates an instance of sd:Service to a format that is supported for serializing query results.
*
* @see resultFormat
*/
public static final IRI RESULT_FORMAT;
/**
* Service
*
* {@code http://www.w3.org/ns/sparql-service-description#Service}.
*
* An instance of sd:Service represents a SPARQL service made available via the SPARQL Protocol.
*
* @see Service
*/
public static final IRI SERVICE;
/**
* SPARQL 1.0 Query
*
* {@code http://www.w3.org/ns/sparql-service-description#SPARQL10Query}.
*
* sd:SPARQL10Query is an sd:Language representing the SPARQL 1.0 Query language.
*
* @see SPARQL10Query
*/
public static final IRI SPARQL_10_QUERY;
/**
* SPARQL 1.1 Query
*
* {@code http://www.w3.org/ns/sparql-service-description#SPARQL11Query}.
*
* sd:SPARQL11Query is an sd:Language representing the SPARQL 1.1 Query language.
*
* @see SPARQL11Query
*/
public static final IRI SPARQL_11_QUERY;
/**
* SPARQL 1.1 Update
*
* {@code http://www.w3.org/ns/sparql-service-description#SPARQL11Update}.
*
* sd:SPARQLUpdate is an sd:Language representing the SPARQL 1.1 Update language.
*
* @see SPARQL11Update
*/
public static final IRI SPARQL_11_UPDATE;
/**
* supported entailment profile
*
* {@code http://www.w3.org/ns/sparql-service-description#supportedEntailmentProfile}.
*
* Relates a named graph description with a resource representing a supported profile of the entailment regime (as
* declared by sd:entailmentRegime) used for basic graph pattern matching over that graph.
*
* @see
* supportedEntailmentProfile
*/
public static final IRI SUPPORTED_ENTAILMENT_PROFILE;
/**
* supported language
*
* {@code http://www.w3.org/ns/sparql-service-description#supportedLanguage}.
*
* Relates an instance of sd:Service to a SPARQL language (e.g. Query and Update) that it implements.
*
* @see supportedLanguage
*/
public static final IRI SUPPORTED_LANGUAGE;
/**
* Union Default Graph
*
* {@code http://www.w3.org/ns/sparql-service-description#UnionDefaultGraph}.
*
* sd:UnionDefaultGraph, when used as the object of the sd:feature property, indicates that the default graph of the
* dataset used during query and update evaluation (when an explicit dataset is not specified) is comprised of the
* union of all the named graphs in that dataset.
*
* @see UnionDefaultGraph
*/
public static final IRI UNION_DEFAULT_GRAPH;
static {
AGGREGATE = Vocabularies.createIRI(SD.NAMESPACE, "Aggregate");
AVAILBLE_GRAPHS = Vocabularies.createIRI(SD.NAMESPACE, "availableGraphs");
BASIC_FEDERATED_QUERY = Vocabularies.createIRI(SD.NAMESPACE, "BasicFederatedQuery");
DATASET = Vocabularies.createIRI(SD.NAMESPACE, "Dataset");
DEFAULT_DATASET = Vocabularies.createIRI(SD.NAMESPACE, "defaultDataset");
DEFAULT_ENTAILMENT_REGIME = Vocabularies.createIRI(SD.NAMESPACE, "defaultEntailmentRegime");
DEFAULT_GRAPH = Vocabularies.createIRI(SD.NAMESPACE, "defaultGraph");
DEFAULT_SUPPORTED_ENTAILMENT_PROFILE = Vocabularies.createIRI(SD.NAMESPACE,
"defaultSupportedEntailmentProfile");
DEREFERENCES_URIS = Vocabularies.createIRI(SD.NAMESPACE, "DereferencesURIs");
EMPTY_GRAPHS = Vocabularies.createIRI(SD.NAMESPACE, "EmptyGraphs");
ENDPOINT = Vocabularies.createIRI(SD.NAMESPACE, "endpoint");
ENTAILMENT_PROFILE = Vocabularies.createIRI(SD.NAMESPACE, "EntailmentProfile");
ENTAILMENT_REGIME_CLASS = Vocabularies.createIRI(SD.NAMESPACE, "EntailmentRegime");
ENTAILMENT_REGIME_PROPERTY = Vocabularies.createIRI(SD.NAMESPACE, "entailmentRegime");
EXTENSION_AGGREGATE = Vocabularies.createIRI(SD.NAMESPACE, "extensionAggregate");
EXTENSION_FUNCTION = Vocabularies.createIRI(SD.NAMESPACE, "extensionFunction");
FEATURE_CLASS = Vocabularies.createIRI(SD.NAMESPACE, "Feature");
FEATURE_PROPERTY = Vocabularies.createIRI(SD.NAMESPACE, "feature");
FUNCTION = Vocabularies.createIRI(SD.NAMESPACE, "Function");
GRAPH_PROPERTY = Vocabularies.createIRI(SD.NAMESPACE, "graph");
GRAPH_CLASS = Vocabularies.createIRI(SD.NAMESPACE, "Graph");
GRAPH_COLLECTION = Vocabularies.createIRI(SD.NAMESPACE, "GraphCollection");
INPUT_FORMAT = Vocabularies.createIRI(SD.NAMESPACE, "inputFormat");
LANGUAGE = Vocabularies.createIRI(SD.NAMESPACE, "Language");
LANGUAGE_EXTENSION = Vocabularies.createIRI(SD.NAMESPACE, "languageExtension");
NAME = Vocabularies.createIRI(SD.NAMESPACE, "name");
NAMED_GRAPH_PROPERTY = Vocabularies.createIRI(SD.NAMESPACE, "namedGraph");
NAMED_GRAPH_CLASS = Vocabularies.createIRI(SD.NAMESPACE, "NamedGraph");
PROPERTY_FEATURE = Vocabularies.createIRI(SD.NAMESPACE, "propertyFeature");
REQUIRES_DATASET = Vocabularies.createIRI(SD.NAMESPACE, "RequiresDataset");
RESULT_FORMAT = Vocabularies.createIRI(SD.NAMESPACE, "resultFormat");
SERVICE = Vocabularies.createIRI(SD.NAMESPACE, "Service");
SPARQL_10_QUERY = Vocabularies.createIRI(SD.NAMESPACE, "SPARQL10Query");
SPARQL_11_QUERY = Vocabularies.createIRI(SD.NAMESPACE, "SPARQL11Query");
SPARQL_11_UPDATE = Vocabularies.createIRI(SD.NAMESPACE, "SPARQL11Update");
SUPPORTED_ENTAILMENT_PROFILE = Vocabularies.createIRI(SD.NAMESPACE, "supportedEntailmentProfile");
SUPPORTED_LANGUAGE = Vocabularies.createIRI(SD.NAMESPACE, "supportedLanguage");
UNION_DEFAULT_GRAPH = Vocabularies.createIRI(SD.NAMESPACE, "UnionDefaultGraph");
}
private SD() {
// static access only
}
}