Evaluates a model's ability to generalize compositionally to unseen syntactic structures and cross-lingual settings in semantic parsing. It measures how well models translate natural language questions into correct SPARQL queries across monolingual and zero-shot cross-lingual scenarios. Use when the user wants to benchmark on MCWQ, or asks about evaluating this task. Reports Exact Match (%).
Scanned 9/11/2026
Install to Claude Code
npx -y skills add qhjqhj00/research-skills-pool --skill mcwq-eval --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Mcwq Eval?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/qhjqhj00-mcwq-eval)More formats (shields.io, HTML) on the badges page.
---
name: mcwq-eval
description: Evaluates a model's ability to generalize compositionally to unseen syntactic structures and cross-lingual settings in semantic parsing. It measures how well models translate natural language questions into correct SPARQL queries across monolingual and zero-shot cross-lingual scenarios. Use when the user wants to benchmark on MCWQ, or asks about evaluating this task. Reports Exact Match (%).
metadata:
skill_kind: dataset_eval
source_arxiv: 2306.11420
bibtex_key: wang2023multilingual
confidence: high
---
# mcwq-eval
> On Evaluating Multilingual Compositional Generalization with Translated Datasets — Wang et al. (2023) (arXiv:2306.11420, 2023)
## What this evaluates
Evaluates a model's ability to generalize compositionally to unseen syntactic structures and cross-lingual settings in semantic parsing. It measures how well models translate natural language questions into correct SPARQL queries across monolingual and zero-shot cross-lingual scenarios.
## Datasets
- **MCWQ** — total ?; splits: MCD_mean (-1), Random (-1)
## Metrics
- `Exact Match (%)` **(primary)** — range: percent
- Percentage of test instances where the model's predicted SPARQL query exactly matches the ground truth query character-for-character.
## Input / output format
**Input**: Natural language question in English, Japanese, or Chinese.
**Output**: A SPARQL query or logical form representing the semantic parsing of the question.
## Scoring recipe
```python
correct = 0
total = len(predictions)
for pred, gold in zip(predictions, golds):
if pred.strip() == gold.strip():
correct += 1
exact_match_acc = (correct / total) * 100
```
## Common pitfalls
- Ground truth (GT) translated datasets contain noise and semantic distortions from neural machine translation, which can unfairly penalize models compared to rule-based (RBMT) translations.
- Adding auxiliary objectives (e.g., question reconstruction and language prediction) to cross-lingual parsers can dramatically decrease performance on compositional generalization tasks compared to logical-form-only baselines.
## Evidence (verbatim from paper)
> Table 3: Monolingual experiment results: Exact match accuracies in percentage (%) are shown here. We present the model performance on the two translated datasets, which share the English branch. MCD_mean represents the average accuracy across 3 MCD splits, and the detailed results breakdown can be found in Appendix D.1. Random refers to the results on the random split.
## Citation
```bibtex
@misc{wang2023multilingual,
title={On Evaluating Multilingual Compositional Generalization with Translated Datasets},
author={Wang et al. (2023)},
year={2023},
note={arXiv:2306.11420}
}
```
- arXiv: 2306.11420

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!