Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Phidso
Frequent Visitor

Understanding Linguistic Schema Definition Language schema for Q&A feature

I want to understand the specifics of the Linguistic Schema Definition Language - https://docs.microsoft.com/en-us/power-bi/natural-language/q-and-a-tooling-advanced.

 

The only help provided is in the link above; it provides examples of phrasings and typical configuration files with the spec (https://go.microsoft.com/fwlink/?linkid=871858). The spec is outdated and provides a minimal description for each of the available fields.

 

I found the latest schema on schemastore.org; I'm using schema version 3.4.0: https://json.schemastore.org/lsdlschema-3.4.json.

 

After reviewing the schema, I found the below fields have ambiguous schema descriptions and either does not have examples or are too vague to understand the use case. Can you please provide examples of how they are used and possibly a better description?

 
  • Under 'Entities'
    • > 'Definition' > 'Binding' (The conceptual model object binding)
      • ConceptualEntity- The name of the conceptual entity (e.g. table or pod)
      • Hierarchy- The name of the hierarchy (e.g. tables or pods) 
      • HierarchyLevel- The name of the hierarchy level 
      • VariationSet- The name of the variation set that contains the hierarchy
      • VariationSource- The name of the property containing the variation set that contains the property
      • ConceptualProperty- The name of the property
      • Measure- The name of the measure
    • TemplateSchema-Identifies the shared template schema from which an object in the linguistic schema is derived
    • SemanticType- The overall semantic category of the entity
    • NameType- Indicates whether this entity represents the Name or ID of something
    • Units- Nouns which indicate the units represented in this numeric property entity.
    • Instances-Defines how instance values from the model are recognized
    • > ImplicitGroupings (A list of related entities which are used to group the query when this entity is shown)
      • Entity-The name of the entity
      • Namespace-The name of the namespace of the linguistic schema that contains the entity
  • Under 'Relationships' (The relationships in the linguistic schema.)
    • > Roles- References to linguistic entities which participate in the relationship
      • Target- The linguistic entity which is the target of the role {Roles(self)}
      • Nouns- Nouns which can be used to refer to the entity which is the target of the role, when used in the context of the relationship
      • Quantity- A role which indicates the quantity of this role's entity which participates in the relationship
      • Amount- A role which indicates the amount of this role's entity which participates in the relationship
    • SemanticSlots
      • Duration- A role which indicates how long the relationship occurred
      • Occurrences - A role which indicates the number of times the relationship occurred
    • Phrasings
      • adjective/verb phrasings-  phrasing on a linguistic relationship
        • AdverbPhrases- Additional adverb phrases which apply to the phrasing
          • Adverbs- Adverbs used to describe the relationship (high measurement)
          • Antonyms- Adverbs used to describe the relationship (low measurement)
          • Measurement- The measure which the adverb pertains to
 

[I've edited the post to be more specific]

3 REPLIES 3
EdWatson
Frequent Visitor

How do we add this to the tabular model so that it is available for live connected tabular models? The linguistic schema is being stripped out of the PBIX file with an ADO deployment pipeline.  The synonyms manually added in the tabular model don't seem to control the Q&A feature either. Help.

Anonymous
Not applicable

Hi @Phidso ,

 

Here I find some blogs about Editing Q&A linguistic schemas, and I hope they could help you.

For reference:

Editing Q&A linguistic schemas

Synonyms, the secret behind Power BI Q&A and Natural Language Query

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Phidso
Frequent Visitor

BUMP

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.