Skip to main content
POST
/
worlds
/
{world}
/
sparql
Execute SPARQL query or update
curl --request POST \
  --url https://api.wazoo.dev/worlds/{world}/sparql \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'query=<string>' \
  --data 'default-graph-uri=<string>' \
  --data 'named-graph-uri=<string>'
{
  "head": {
    "link": [
      "<string>"
    ],
    "vars": [
      "<string>"
    ]
  },
  "results": {
    "bindings": [
      {}
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

world
string
required

Body

query
string
default-graph-uri
string[]
named-graph-uri
string[]

Response

Success

head
object
required
results
object
required