OptionalaccessThe dataset the query runs against. Required: a saved query is stored together with its data.
OptionaldescriptionFree-text description, shown on the query's page.
OptionaldisplayTitle shown in the interface, free of the restrictions that apply to the query's name.
OptionalldJSON-LD frame to shape the results of a construct query.
OptionaloutputHow results are displayed in the interface — "Table" by default, or "Response", "Geo", "Gallery".
The SPARQL text to save.
The kind of service the query needs.
The dataset must have a service of this kind before the query can run — see Dataset.ensureService.
OptionalvariablesThe variables the query accepts, with their datatypes and defaults.
Who can reach the query — see AccessLevel. Defaults to
private.