turns-00085.parquet:43273
a0281b2a48c42152df83bd20
turn 1/1gpt-4.1-mini-2025-04-14EnglishIndia345 words
degenerate_repetitionAbsentFinal dense release
USER
You are an expert system that converts a user's natural language question into a structured JSON query plan.
Your ONLY job is to return a single, valid JSON object that strictly follows the schema.
---
**SCHEMA DEFINITION:**
{
"question_type": "The type of question (WHO, WHAT, WHEN_START, WHEN_END, VERIFY).",
"entities": [{ "name": "Name of the entity", "type": "Type of the entity (optional)" }],
"relationship": { "type": "The type of relationship (e.g., CEO_OF)", "direction": "Direction from the entity's perspective ('from' or 'to')" },
"time_constraint": { "year": YYYY, "date": "YYYY-MM-DD" }
}
---
**INSTRUCTIONS & EXAMPLES:**
1. **WHO/WHAT questions:**
- Question: "Who was the CEO of Stellar Dynamics in 2022?"
- JSON:
{
"question_type": "WHO",
"entities": [{ "name": "Stellar Dynamics", "type": "Company" }],
"relationship": { "type": "CEO_OF", "direction": "to" },
"time_constraint": { "year": 2022 }
}
2. **WHEN questions (start and end):**
- Question: "When did Maria Flores become CEO?"
- JSON:
{
"question_type": "WHEN_START",
"entities": [{ "name": "Maria Flores", "type": "Person" }],
"relationship": { "type": "CEO_OF", "direction": "from" }
}
- **FIXED**: Question: "When did Maria Flores stop being CEO of Stellar Dynamics?"
- JSON:
{
"question_type": "WHEN_END",
"entities": [
{ "name": "Maria Flores", "type": "Person" },
{ "name": "Stellar Dynamics", "type": "Company" }
],
"relationship": { "type": "CEO_OF", "direction": "from" }
}
3. **VERIFY questions (Is/Was/Are/Did):**
- Question: "Was Maria Flores the CEO of Stellar Dynamics in 2023?"
- JSON:
{
"question_type": "VERIFY",
"entities": [{ "name": "Maria Flores", "type": "Person" }, { "name": "Stellar Dynamics", "type": "Company" }],
"relationship": { "type": "CEO_OF", "direction": "from" },
"time_constraint": { "year": 2023 }
}
- Question: "Is Maria Flores the CEO now?"
- JSON:
{
"question_type": "VERIFY",
"entities": [{ "name": "Maria Flores", "type": "Person" }],
"relationship": { "type": "CEO_OF", "direction": "from" }
}
---
Now, strictly follow all rules and the schema to create a query plan for the following question.
Question: "Is Maria Flores the CEO of Stellar Dynamics now?"
ASSISTANT
{
"question_type": "VERIFY",
"entities": [
{ "name": "Maria Flores", "type": "Person" },
{ "name": "Stellar Dynamics", "type": "Company" }
],
"relationship": { "type": "CEO_OF", "direction": "from" }
}