mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 08:26:21 +02:00
41 lines
919 B
YAML
41 lines
919 B
YAML
type: object
|
|
description: WebSocket request for sparql-query service (flow-hosted service)
|
|
required:
|
|
- id
|
|
- service
|
|
- flow
|
|
- request
|
|
properties:
|
|
id:
|
|
type: string
|
|
description: Unique request identifier
|
|
service:
|
|
type: string
|
|
const: sparql-query
|
|
description: Service identifier for sparql-query service
|
|
flow:
|
|
type: string
|
|
description: Flow ID
|
|
request:
|
|
type: object
|
|
required:
|
|
- query
|
|
properties:
|
|
query:
|
|
type: string
|
|
description: SPARQL 1.1 query string
|
|
collection:
|
|
type: string
|
|
default: default
|
|
description: Collection identifier
|
|
limit:
|
|
type: integer
|
|
default: 10000
|
|
description: Safety limit on number of results
|
|
examples:
|
|
- id: req-1
|
|
service: sparql-query
|
|
flow: my-flow
|
|
request:
|
|
query: "SELECT ?s ?p ?o WHERE { ?s ?p ?o } LIMIT 10"
|
|
collection: default
|