public interface SPARQLEndpoint
Query
,
UpdateRequest
,
SPARQL Protocol for RDFModifier and Type | Field and Description |
---|---|
static String |
DEFAULT_GRAPH_URI |
static String |
NAMED_GRAPH_URI |
static String |
QUERY |
static String |
UPDATE |
static String |
USING_GRAPH_URI |
static String |
USING_NAMED_GRAPH_URI |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
get(org.apache.jena.query.Query query,
List<URI> defaultGraphUris,
List<URI> namedGraphUris)
Handles GET query request and returns result as response
|
javax.ws.rs.core.Response |
post(org.apache.jena.query.Query query,
List<URI> defaultGraphUris,
List<URI> namedGraphUris)
Handles direct POST query request and returns result as response
|
javax.ws.rs.core.Response |
post(String queryString,
String updateString,
List<URI> defaultGraphUris,
List<URI> namedGraphUris,
List<URI> usingGraphUris,
List<URI> usingNamedGraphUris)
Handles URL-encoded POST query request and returns result as response.
|
javax.ws.rs.core.Response |
post(org.apache.jena.update.UpdateRequest update,
List<URI> usingGraphUris,
List<URI> usingNamedGraphUris)
Handles direct POST update request and returns result as response
|
static final String QUERY
static final String UPDATE
static final String DEFAULT_GRAPH_URI
static final String NAMED_GRAPH_URI
static final String USING_GRAPH_URI
static final String USING_NAMED_GRAPH_URI
javax.ws.rs.core.Response get(org.apache.jena.query.Query query, List<URI> defaultGraphUris, List<URI> namedGraphUris)
query
- the submitted SPARQL querydefaultGraphUris
- default graph URInamedGraphUris
- named graph URIjavax.ws.rs.core.Response post(String queryString, String updateString, List<URI> defaultGraphUris, List<URI> namedGraphUris, List<URI> usingGraphUris, List<URI> usingNamedGraphUris)
queryString
- submitted SPARQL query stringupdateString
- submitted SPARQL update stringdefaultGraphUris
- default graph URInamedGraphUris
- named graph URIusingGraphUris
- default graph URIusingNamedGraphUris
- named graph URIjavax.ws.rs.core.Response post(org.apache.jena.query.Query query, List<URI> defaultGraphUris, List<URI> namedGraphUris)
query
- the submitted SPARQL querydefaultGraphUris
- default graph URInamedGraphUris
- named graph URIjavax.ws.rs.core.Response post(org.apache.jena.update.UpdateRequest update, List<URI> usingGraphUris, List<URI> usingNamedGraphUris)
update
- update request (possibly multiple operations)usingGraphUris
- default graph URIusingNamedGraphUris
- named graph URICopyright © 2013–2019. All rights reserved.