{
  "foray": 323,
  "essai": 2,
  "question": "what is the human_capital_management project improved by?",
  "historical": {
    "date": "2023-05-08",
    "model": "gpt-4",
    "notebook": "llm/LR_generic_cypher_gpt4.ipynb",
    "commit": "690c8315dfa92d2e2bbaadd5befafb8f0f7d27f4",
    "observation": "The import cell recorded a lost database connection. A later question cell contains a warning, a retry and a result. The effective database contents at that moment are unknown.",
    "retried_query": "MATCH (p1:Project {name: \"human_capital_management\"})-[:IMPROVED_BY]->(p2:Project)\nRETURN p2.name as Improved_Projects",
    "saved_result": [
      [
        "Improved_Projects"
      ]
    ]
  },
  "source": {
    "description": "Lawrence Rowland’s portfolio graph, Example 5",
    "file": "Example-5-Using-Neo4j/Final_desktop_version.cypher",
    "revision": "b650d96efe79480d167d17efb0296604ca80b58d",
    "date": "2020-09-03",
    "project_line": 88,
    "relationship_line": 183,
    "support_line": 70,
    "project": "human_capital_management_project",
    "relationship": "improved_by",
    "support": "Rescope_large_project_which_has_failed_to_deliver_in_2020",
    "interpretation": "a proposed area of support"
  },
  "model_trials": {
    "date": "2026-11-21",
    "model": "gpt-6.2-astra",
    "conditions": "Separate fresh sessions. Each received the original question and the same 15-label, 25-pattern directed schema. The tested model had no tools, examples, prior answers or endorsed interventions.",
    "authored_public_input_summary": "A Project node has id and name properties. Project can have an outgoing improved_by relationship to Areas_of_support. The lookup trial also supplied all three distinct Project.name values; only human_capital_management_project referred to the requested project.",
    "runs": [
      {
        "condition": "schema only",
        "prompt_instruction": "Write one read-only Cypher query for Neo4j 5 to answer the user question using the supplied database schema. Return only the query. Do not use tools, the web, memory, or data outside this prompt. You have no example rows.",
        "exact_prompt_sha256": "2c5e756e6620add75c4986f06b7e45751d11fd6f1b0f6f0870b6006112a633ee",
        "generated_query": "MATCH (p:Project)-[:improved_by]->(a:Areas_of_support)\nWHERE p.id = 'human_capital_management'\n   OR replace(toLower(trim(p.name)), ' ', '_') = 'human_capital_management'\nRETURN DISTINCT coalesce(a.name, a.id) AS improved_by",
        "returned_values": []
      },
      {
        "condition": "schema and full project-name lookup",
        "prompt_instruction": "Write one read-only Cypher query for Neo4j 5 to answer the user question using the supplied database schema. Return only the query. Do not use tools, the web, memory, or data outside this prompt. The only data values supplied are the complete distinct Project.name lookup below.",
        "exact_prompt_sha256": "b190c6e17ad82c5ddce8704e1eab6c360504d612b1a32ccd06a99b89bf85f249",
        "generated_query": "MATCH (:Project {name: 'human_capital_management_project'})-[:improved_by]->(area:Areas_of_support)\nRETURN DISTINCT area.name AS area_of_support",
        "returned_values": [
          "Rescope_large_project_which_has_failed_to_deliver_in_2020"
        ]
      }
    ]
  },
  "verification": {
    "engine": "Neo4j Community 5.26.0",
    "source_nodes": 99,
    "source_relationships": 134,
    "import": "The node, edge and temporary-label cleanup statements from the source were executed. Two legacy statements to create/drop the temporary import constraint were omitted.",
    "full_graph_result_counts": [
      0,
      0,
      1
    ],
    "two_node_fixture_result_counts": [
      0,
      0,
      1
    ],
    "order": [
      "historical retry",
      "schema only",
      "schema and full project-name lookup"
    ],
    "fixture": "replay.cypher"
  }
}
