I like the idea of a semantic Layer but don't think defining it in yaml is the right way to go about it.
Semantic Layer needs proper language and tooling support which Malloy provides.
Semantic Layer needs proper language and tooling support which Malloy provides.
I curate some more on here in case of interest: https://www.ssp.sh/brain/data-modeling-languages.
Shameless plug for the list, though - I work on https://github.com/trilogy-data/pytrilogy - semantic layer directly embedded in otherwise (mostly) SQL syntax.
I'll do an equivalent example on the taxi dataset when I have some time.