Web Service Method: SPARQL SELECT On a Custom Scheme or Ontology Data

Description

Execute a SPARQL SELECT on custom scheme and ontology data.

URL: /PoolParty/api/schema/sparql/select

Request

Supported Methods

GET

POST

Request Parameters

Parameter

Type

Required

Description

query

String

true

The query to execute.

Content-Type

application/x-www-form-urlencoded

ResponseContent-Type

application/json

Common base response defining the minimum result structure and semantics.

Attribute

Type

Required

Comment

head

Map of String

false

message

String

false

Short descriptive message of the operation result, or an error description.

millis

long

false

query

String

false

result

Object

false

The actual response content body, defined by the resultType.

resultType

String

false

MIME type of the result if successful, or Exception type if an error occurred.

results

Map of String

false

status

int

true

It indicates the success or error of the HTTP request, on the protocol layer.

success

boolean

false

True if the operation was successful, on the application layer.

Example
{
  "head" : { },
  "result" : { },
  "success" : true,
  "query" : "some query",
  "message" : "some message",
  "millis" : 26334,
  "resultType" : "some resultType",
  "results" : { },
  "status" : 17870
}