Amazon Neptune · Schema
SparqlSelectResponse
SPARQL 1.1 Query Results JSON Format as defined by W3C.
DatabaseGraph DatabaseGremlinNeptuneProperty GraphRDFSPARQL
Properties
| Name | Type | Description |
|---|---|---|
| head | object | |
| results | object | |
| boolean | boolean | The result for ASK queries. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-neptune/refs/heads/main/json-schema/sparql-sparql-select-response-schema.json",
"title": "SparqlSelectResponse",
"description": "SPARQL 1.1 Query Results JSON Format as defined by W3C.",
"type": "object",
"properties": {
"head": {
"type": "object",
"properties": {
"vars": {
"type": "array",
"description": "The list of variable names in the result set.",
"items": {
"type": "string"
}
},
"link": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"results": {
"type": "object",
"properties": {
"bindings": {
"type": "array",
"description": "The result bindings for each solution.",
"items": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"uri",
"literal",
"bnode"
]
},
"value": {
"type": "string"
},
"datatype": {
"type": "string"
},
"xml:lang": {
"type": "string"
}
}
}
}
}
}
},
"boolean": {
"type": "boolean",
"description": "The result for ASK queries."
}
}
}