Natural Language Search

If natural language search is enabled on your tenant (and you have the appropriate role), the search field will propose example natural language strings that are appropriate to your current filter context. Select an example string or enter your own and SAP Datasphere will interpret it and filter your results accordingly.

Prerequisites

To use natural language search, it must be enabled in your tenant (see Enable SAP Business AI for SAP Datasphere) and you must have both a global role and a scoped role:
  • A scoped role that grants you access to the space or spaces to search in with the following privilege:

    • Data Warehouse General (-R------) - To access SAP Datasphere.

    • Spaces Files (-R------) - To access objects in a space.

  • A global role that grants you the following privilege:

    • Data Warehouse AI Consumption (----E---) - To use SAP Business AI features.

The DW Modeler scoped role template and the DW AI Consumer global role, applied together for example, grant these privileges. For more information, see Privileges and Permissions and Standard Roles Delivered with SAP Datasphere.

Using Natural Language Search

Entering a natural language search string allows you to quickly filter your list of objects without looking for specific filter settings. SAP Datasphere interprets your phrase as filter conditions and displays them in the AI-Generated Filter Conditions filter bar.

Natural language search is available in:
You can enter requests that contain:

Request Feature

Examples

Conceptual grouping

  • show me all tables

    • Returns both local tables and remote tables.

  • all non-facts

    • Returns all views, local tables, and remote tables that have a semantic usage other than Fact.

and, or, and not combinations

  • semantic usage fact and status pending

    • Returns objects that meet both conditions.

  • semantic usage fact or status pending

    • Returns objects that meet either condition.

  • not not deployed

    • Returns objects with any status except Not Deployed.

Columns, attributes, measures, dimensions, or other contents

  • Tables with a measure called sales id

    • Returns all views containing such a measure.

  • Analytic models with a dimension called country id

    • Returns all analytic models containing such a dimension.

  • Views with a data access control

    • Returns all views that are associated with one or more data access controls.

You can search for tables, views, analytic models and Business Builder objects based on the presence of any (or for names of) the following types of contents:

  • Columns, measures, attributes, or dimensions

  • Input parameters (views) or variables (analytic models)

  • Data access controls

  • Associations

  • Filters (presence in analytic models only)

Lineage or Impacts

  • all views using table Sales

    • Returns all views that have a table with a name like Sales in their lineage.

  • all tables used by analytic model Sales Europe

    • Returns all tables that are present in the lineage of the named analytic model.

  • all analytic models using tables with columns starting with Z"

    • Returns all analytic models that have tables with such columns in their lineage.

For more information about these relationships, see Impact and Lineage Analysis.

Date and time ranges

  • all objects created in the last week

    • Returns all objects created in the last seven days up to and including today.

  • all objects deployed last week

    • Returns all objects deployed in the previous week.

  • all objects modified in the last 6 hours

    • Returns all objects modified in the last six hours up to now.

Spaces or folders criteria

  • Facts in Sales

    • Where Sales can be a space or a folder.

Business and technical name criteria

  • all views called sales

  • all views beginning sales

  • all views with a technical name ending in sales that are deployed and released

Ordering

  • Views most recently deployed first

    • Returns views ordered by Deployment Date.