Querying your data
You can use queries to run simple or complex searches on your database and display the results. A query is more powerful than a find in that you can locate several entities at the same time by using a much larger range of conditions.
- Construct queries with specific entity types, link types, or a general Any entity type or Any link type.
- Restrict the fields that are searched by setting up one or more conditions on those fields.
- Output all the data that is found by the query or restrict output to specific entity or link types.
- Restrict the records that are queried to the contents of a set or found by a different query.
- Restrict the query to entities with a specific number of links.
- Use semantic types to search entity types, link types, and fields that contain the same sort of data (in SQL server databases only)
You can also define queries that when run, prompt you to enter specific values to be used in the query. This enables you to set up standard queries that can be used with different values.
Once you have created a query, you can use scored matching to find entities and links and place them in order of relevance.
You can also query your data to find, for example, the lowest or earliest values.