Why doesn't this simple query work?

What I’m trying to do

I have a note with this frontmatter:

---
class: FAQ
category:
  - "[[Holacracy]]"
  - "[[Policy|Werkafspraak]]"
  - "[[Governance Process]]"
  - "[[domains]]"
language: NL
date created: 2024-05-01 08:30:16
date modified: 2024-05-01 08:35:07
---

Then from another note, I like to list all notes where the class equals FAQ, the language equals NL and the category equals domains.

dataview
TABLE category, language
WHERE class="FAQ" AND language="NL" AND contains(category,"domains")

The last part in the WHERE clause doesnot work. I get no results from the query. What’s wrong with

AND contains(category,"domains")

?

"domains" is pure text, while "[[domains]]" in the properties is a link. They don’t compare directly. Try doing contains(category, link("domains")) or contains(category, [[domains]]).

Thank you @holroy !!

That works! :tada: