Query dataset
Run query
To run a query:
- Type a query in the input bar.
- Press the Enter key on the keyboard.
The displayed results are images that contain instances that match the query. For example, if you searched for instances of pedestrians that are annotated with Bounding Boxes, the search results are images that contain pedestrians that are annotated with Bounding Boxes.
Save query
To save a query:
- In the input field, click the hamburger button.
- Click Save Query.
- Type a query name.
- Click Save.
Edit query
To edit a saved query:
- In the top panel, click the bookmark button.
- Hover over the query you want to edit.
- Click the edit button.
- Edit the query name or query, or both.
- Click Save.
See saved queries list
To see a list of your saved queries, click the bookmark button in the top panel.
Viewers with the dataset’s public link can't see or save queries.
Delete query
Choose one of the following 2 methods to delete a query:
Method 1:
To delete a query:
- In the top panel, click the bookmark button.
- Hover over the query you want to delete.
- Click the delete button.
Method 2:
To delete a query:
- In the top panel, click the bookmark button.
- Hover over the query you want to delete.
- Click the edit button.
- Click Delete.
Permissions
Project contributors that have access to the explore feature can view, edit, and delete queries.
Query format
Single parameter
main field.field.subfield=parameter 1
Example
[email protected]
Array of parameters
main field.field.subfield IN [parameter 1, parameter 2…]
Example
metadata.lastAction.email IN [[email protected], [email protected]]
Array of parameters and more than one field
main field.field.subfield IN [parameter 1, parameter 2…] OR main field.field.subfield IN [parameter 1, parameter 2…]
Example
metadata.lastAction.email IN [[email protected], [email protected]] OR comments.resolved=true
Operators
Operator | Meaning |
---|---|
= | Equal to |
!= | Not equal to |
Greater than | |
< | Less than |
| Greater than or equal to |
<= | Less than or equal to |
() | Shows the hierarchy of queries |
AND | Returns True if both statements are true |
OR | Returns True if either statements are true |
IN | Set of values to consider |
Fields
The field names and values should be written in the JSON format.
Instances
Field | Value |
---|---|
| bbox, polygon, point, ellipse, cuboid, polyline, or rbbox. |
| String. If there is no class assigned to an instance, then the parameter should be none. |
| Double |
| Double |
| String |
| String |
| If the instance is approved, then it is false. If it is disapproved, then it is true. If there is no approval, then it is null. If the instance is neither approved nor disapproved, then the error field will not appear in JSON. |
| Date in this format: YYYY-MM-DD. |
| Email address |
| Current SuperAnnotate role |
| manual or pre-annotation |
| Date in this format: YYYY-MM-DD. |
| Email address |
| Current SuperAnnotate role |
| Number of instances in the image |
Metadata
Field | Value |
---|---|
| Email address |
| Width in pixels |
| Height in pixels |
| String |
| Boolean: true or false. |
| Email address |
| Email address |
| Image status |
| Boolean: true or false. |
Comments
Field | Value |
---|---|
| Boolean: true or false. |
| Number of comments |
Tags
Field | Value |
---|---|
| Tag name |
Folder
Field | Value |
---|---|
| Folder name in a string format |
Updated 23 days ago