{
  "_note": "Placeholder — illustrates the corpus format only. This is the one worked example from the AutoGraphQL paper (Figure 1), not a sample drawn from the actual 17,621-instance corpus. The training and public-benchmark files will be linked here when released; the hidden benchmark is not distributed.",
  "format_version": "0.1-placeholder",
  "instances": [
    {
      "id": "example-000001",
      "schema": "type Student {\n  id: ID!\n  name: String!\n  email: String\n  major: String!\n  year: Int\n  advisor: Faculty\n  enrollments: [Enrollment]\n}\n\ntype Enrollment {\n  semester: String!\n  grade: String\n  course: Course!\n}\n\ntype Course {\n  code: String!\n  title: String!\n  credits: Int!\n  level: String\n  department: String\n  instructor: Faculty\n}\n\ntype Faculty {\n  id: ID!\n  name: String!\n  department: String!\n  courses: [Course]\n}\n\ninput StudentFilter {\n  major: String\n  year: Int\n  minGpa: Float\n}\n\ntype Query {\n  students(\n    filter: StudentFilter\n    first: Int\n    after: String\n  ): [Student]\n\n  instructor(id: ID!): Faculty\n}",
      "nl_query": "List the first 10 third-year Computer Science students. Include their names, email (optionally), course details, grades, and instructor details.",
      "graphql_query": "query CourseEnrollment(\n  $showEmail: Boolean!\n) {\n  csStudents: students(\n    filter: { major: \"CS\", year: 3 }\n    first: 10\n  ) {\n    name\n    email @include(if: $showEmail)\n    enrollments {\n      semester\n      grade\n      course {\n        ...CourseFields\n        instructor {\n          name\n          department\n        }\n      }\n    }\n  }\n}\n\nfragment CourseFields on Course {\n  code\n  title\n  credits\n  department\n}",
      "constructs": ["aliases", "filters", "pagination", "directives", "external_fragments"],
      "split": "illustrative-only"
    }
  ]
}
