[
    {
        "data_source": "graphqa",
        "prompt": [
            {
                "role": "user",
                "content": "\nYou are an intelligent agent skilled in exploring Knowledge Graphs, with strong reasoning abilities. Your task is to perform question answering over a Knowledge Graph by gradually exploring it. You should start from the entities mentioned in the question and explore the graph step by step until you gather enough information to answer the question.\n\n### Your task follows these steps:\n\n1. **Understand the Question**\n\n2. **Analyze the Action History and Current Graph State**\n\n3. **Choose the Next Action** from the following options:\n   - \"Explore Entity\": Explore all triples directly connected to a given entity in the Knowledge Graph.     \n\n   - \"Choose Relation\": Select the triple(s) from the explored information that are most relevant to the question.  \n    Attention: **Only the triples included in the \"Objects\" field of the \"Choose Relation\" step will be retained in the future \"Current Graph State\".** So You must filter and retain the information useful for answering the question or for further exploration.   \n\n   - \"Finish\": Choose this action when you believe you have gathered sufficient information to answer the question. Your final answers should be included in the \"Objects\" field.\n\n4. **Select the Objects**: Depending on the action, provide the relevant entity or triple(s).  \n   ** Attention: All objects must come from the \"Entities in Question\" or the current \"Current Graph State\". Do not create new entities or relations. **\n   \n   - If the action is \"Explore Entity\":\n     \"Objects\": [\"EntityA\", \"EntityB\"]\n     \n   - If the action is \"Choose Relation\":\n     \"Objects\": [\"(Subject1, Relation1, Object1)\", \"(Subject2, Relation2, Object2)\"]\n\n   - If the action is \"Finish\":\n     \"Objects\": [\"Answer1\", \"Answer2\"]\n\n5. **Output your response in JSON format**, and include a **detailed thought process** explaining your reasoning at this step.\n\n---\n\n### Question:\nthe movies that share actors with the movie [Dying Breed] are directed by who\n\n### Entities in Question:\nDying Breed\n\n### Current Graph State:\n(Dying Breed, written_by, Jody Dwyer)\n(Dying Breed, release_year, 2008)\n(Dying Breed, directed_by, Jody Dwyer)\n(Dying Breed, starred_actors, Nathan Phillips)\n(Dying Breed, has_genre, Horror)\n(Dying Breed, starred_actors, Leigh Whannell)\n\n### Action History:\nstep 1, Explore Entity, Objects: ['Dying Breed']\n\n---\n\n### Please respond using the following format:\n\n**Thought Process**:  \n<Provide a step-by-step analysis>\n\n**Action Decision**:\n```json\n{\n  \"Action\": \"<The type of action you are taking: 'Explore Entity' | 'Choose Relation' | 'Finish'>\",\n  \"Objects\": [<The entities or triples>]\n}\n```\n"
            }
        ],
        "ability": "graph",
        "reward_model": {
            "style": "rule",
            "ground_truth": {
                "Action": "Choose Relation",
                "Object": [
                    "(Dying Breed, starred_actors, Leigh Whannell)",
                    "(Dying Breed, starred_actors, Nathan Phillips)"
                ]
            }
        },
        "extra_info": {
            "split": "none",
            "index": "none",
            "dataset": "none"
        }
    },
    {
        "data_source": "graphqa",
        "prompt": [
            {
                "role": "user",
                "content": "\nYou are an intelligent agent skilled in exploring Knowledge Graphs, with strong reasoning abilities. Your task is to perform question answering over a Knowledge Graph by gradually exploring it. You should start from the entities mentioned in the question and explore the graph step by step until you gather enough information to answer the question.\n\n### Your task follows these steps:\n\n1. **Understand the Question**\n\n2. **Analyze the Action History and Current Graph State**\n\n3. **Choose the Next Action** from the following options:\n   - \"Explore Entity\": Explore all triples directly connected to a given entity in the Knowledge Graph.     \n\n   - \"Choose Relation\": Select the triple(s) from the explored information that are most relevant to the question.  \n    Attention: **Only the triples included in the \"Objects\" field of the \"Choose Relation\" step will be retained in the future \"Current Graph State\".** So You must filter and retain the information useful for answering the question or for further exploration.   \n\n   - \"Finish\": Choose this action when you believe you have gathered sufficient information to answer the question. Your final answers should be included in the \"Objects\" field.\n\n4. **Select the Objects**: Depending on the action, provide the relevant entity or triple(s).  \n   ** Attention: All objects must come from the \"Entities in Question\" or the current \"Current Graph State\". Do not create new entities or relations. **\n   \n   - If the action is \"Explore Entity\":\n     \"Objects\": [\"EntityA\", \"EntityB\"]\n     \n   - If the action is \"Choose Relation\":\n     \"Objects\": [\"(Subject1, Relation1, Object1)\", \"(Subject2, Relation2, Object2)\"]\n\n   - If the action is \"Finish\":\n     \"Objects\": [\"Answer1\", \"Answer2\"]\n\n5. **Output your response in JSON format**, and include a **detailed thought process** explaining your reasoning at this step.\n\n---\n\n### Question:\nWhat country borders spain and has a currency called CFP franc?\n\n### Entities in Question:\n['Spain', 'CFP franc', 'Country']\n\n### Current Graph State:\n(Spain, location.country.currency_used, Euro)\n(Spain, location.country.first_level_divisions, Ceuta)\n(Spain, location.country.first_level_divisions, Canary Islands)\n(Spain, location.country.currency_formerly_used, Peseta)\n\n### Action History:\nstep 1, Explore Entity, Objects: ['Spain']\nstep 2, Choose Relation, Objects: ['(Spain, location.country.currency_used, Euro)', '(Spain, location.country.currency_formerly_used, Peseta)', '(Spain, location.country.first_level_divisions, Ceuta)', '(Spain, location.country.first_level_divisions, Canary Islands)']\n\n---\n\n### Please respond using the following format:\n\n**Thought Process**:  \n<Provide a step-by-step analysis>\n\n**Action Decision**:\n```json\n{\n  \"Action\": \"<The type of action you are taking: 'Explore Entity' | 'Choose Relation' | 'Finish'>\",\n  \"Objects\": [<The entities or triples>]\n}\n```\n"
            }
        ],
        "ability": "graph",
        "reward_model": {
            "style": "rule",
            "ground_truth": {
                "Action": "Explore Entity",
                "Object": [
                    "CFP franc"
                ]
            }
        },
        "extra_info": {
            "split": "none",
            "index": "none",
            "dataset": "none"
        }
    },
    {
        "data_source": "graphqa",
        "prompt": [
            {
                "role": "user",
                "content": "\nYou are an intelligent agent skilled in exploring Knowledge Graphs, with strong reasoning abilities. Your task is to perform question answering over a Knowledge Graph by gradually exploring it. You should start from the entities mentioned in the question and explore the graph step by step until you gather enough information to answer the question.\n\n### Your task follows these steps:\n\n1. **Understand the Question**\n\n2. **Analyze the Action History and Current Graph State**\n\n3. **Choose the Next Action** from the following options:\n   - \"Explore Entity\": Explore all triples directly connected to a given entity in the Knowledge Graph.     \n\n   - \"Choose Relation\": Select the triple(s) from the explored information that are most relevant to the question.  \n    Attention: **Only the triples included in the \"Objects\" field of the \"Choose Relation\" step will be retained in the future \"Current Graph State\".** So You must filter and retain the information useful for answering the question or for further exploration.   \n\n   - \"Finish\": Choose this action when you believe you have gathered sufficient information to answer the question. Your final answers should be included in the \"Objects\" field.\n\n4. **Select the Objects**: Depending on the action, provide the relevant entity or triple(s).  \n   ** Attention: All objects must come from the \"Entities in Question\" or the current \"Current Graph State\". Do not create new entities or relations. **\n   \n   - If the action is \"Explore Entity\":\n     \"Objects\": [\"EntityA\", \"EntityB\"]\n     \n   - If the action is \"Choose Relation\":\n     \"Objects\": [\"(Subject1, Relation1, Object1)\", \"(Subject2, Relation2, Object2)\"]\n\n   - If the action is \"Finish\":\n     \"Objects\": [\"Answer1\", \"Answer2\"]\n\n5. **Output your response in JSON format**, and include a **detailed thought process** explaining your reasoning at this step.\n\n---\n\n### Question:\nwho is listed as director for [The Art of Getting By]\n\n### Entities in Question:\nThe Art of Getting By\n\n### Current Graph State:\n(The Art of Getting By, directed_by, Gavin Wiesen)\n\n### Action History:\nstep 1, Explore Entity, Objects: ['The Art of Getting By']\nstep 2, Choose Relation, Objects: ['(The Art of Getting By, directed_by, Gavin Wiesen)']\n\n---\n\n### Please respond using the following format:\n\n**Thought Process**:  \n<Provide a step-by-step analysis>\n\n**Action Decision**:\n```json\n{\n  \"Action\": \"<The type of action you are taking: 'Explore Entity' | 'Choose Relation' | 'Finish'>\",\n  \"Objects\": [<The entities or triples>]\n}\n```\n"
            }
        ],
        "ability": "graph",
        "reward_model": {
            "style": "rule",
            "ground_truth": {
                "Action": "Finish",
                "Object": [
                    "Gavin Wiesen"
                ]
            }
        },
        "extra_info": {
            "split": "none",
            "index": "none",
            "dataset": "none"
        }
    }
]