Dataset Viewer
data_source
stringclasses 1
value | prompt
stringlengths 1.03k
13.9k
| ability
stringclasses 1
value | reward_model
dict | extra_info
dict |
|---|---|---|---|---|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
55972, france
12151, louis_iii_prince_of_conde
23040, philip_i_of_taranto
7804, philip_ii_of_taranto
54780, pierre_choderlos_de_laclos
62804, taranto
src, edge_attr, dst
12151, nationality, 55972
23040, children, 7804
7804, parents, 23040
7804, place_of_death, 62804
54780, nationality, 55972
54780, place_of_death, 62804
Question: In what context are france, louis_iii_prince_of_conde, and philip_i_of_taranto connected?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"france",
"louis_iii_prince_of_conde",
"philip_i_of_taranto"
],
"valid_edges": [
[
"louis_iii_prince_of_conde",
"nationality",
"france"
],
[
"philip_i_of_taranto",
"children",
"philip_ii_of_taranto"
],
[
"philip_ii_of_taranto",
"parents",
"philip_i_of_taranto"
],
[
"philip_ii_of_taranto",
"place_of_death",
"taranto"
],
[
"pierre_choderlos_de_laclos",
"nationality",
"france"
],
[
"pierre_choderlos_de_laclos",
"place_of_death",
"taranto"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
70935, john_spencer_churchill_7th_duke_of_marlborough
454, roger_needham
18083, united_kingdom
src, edge_attr, dst
70935, nationality, 18083
454, location, 18083
454, nationality, 18083
Question: In what context are john_spencer_churchill_7th_duke_of_marlborough, roger_needham, and united_kingdom connected?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"john_spencer_churchill_7th_duke_of_marlborough",
"roger_needham",
"united_kingdom"
],
"valid_edges": [
[
"john_spencer_churchill_7th_duke_of_marlborough",
"nationality",
"united_kingdom"
],
[
"roger_needham",
"location",
"united_kingdom"
],
[
"roger_needham",
"nationality",
"united_kingdom"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
4595, judaism
43960, sarah
41619, simone_signoret
src, edge_attr, dst
43960, religion, 4595
41619, religion, 4595
Question: For what reason are judaism, sarah, and simone_signoret associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"judaism",
"sarah",
"simone_signoret"
],
"valid_edges": [
[
"sarah",
"religion",
"judaism"
],
[
"simone_signoret",
"religion",
"judaism"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
13495, archduke_anton_victor_of_austria
27874, augustus_ii_the_strong
6486, augustus_iii_of_poland
30673, carl_christian_joseph_of_saxony
22450, charles_iii_of_spain
63401, christian_i_elector_of_saxony
2104, dresden
34651, franz_xavier_of_saxony
71451, frederick_christian_elector_of_saxony
19480, maria_amalia_of_saxony
8394, maria_josepha_of_austria
43177, maria_louisa_of_spain
7444, marie_josephe_of_saxony
src, edge_attr, dst
13495, parents, 43177
27874, children, 6486
27874, place_of_birth, 2104
6486, children, 30673
6486, children, 34651
6486, children, 71451
6486, children, 19480
6486, children, 7444
6486, parents, 27874
6486, place_of_birth, 2104
6486, place_of_death, 2104
30673, parents, 6486
30673, place_of_birth, 2104
30673, place_of_death, 2104
22450, children, 43177
22450, spouse, 19480
63401, place_of_birth, 2104
63401, place_of_death, 2104
34651, parents, 6486
34651, place_of_birth, 2104
71451, parents, 6486
71451, place_of_birth, 2104
71451, place_of_death, 2104
19480, children, 43177
19480, parents, 6486
19480, parents, 8394
19480, place_of_birth, 2104
19480, spouse, 22450
8394, children, 19480
8394, children, 7444
8394, place_of_death, 2104
43177, children, 13495
43177, parents, 22450
43177, parents, 19480
7444, parents, 6486
7444, parents, 8394
7444, place_of_birth, 2104
Question: How are archduke_anton_victor_of_austria, christian_i_elector_of_saxony, and dresden related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"archduke_anton_victor_of_austria",
"christian_i_elector_of_saxony",
"dresden"
],
"valid_edges": [
[
"archduke_anton_victor_of_austria",
"parents",
"maria_louisa_of_spain"
],
[
"augustus_ii_the_strong",
"children",
"augustus_iii_of_poland"
],
[
"augustus_ii_the_strong",
"place_of_birth",
"dresden"
],
[
"augustus_iii_of_poland",
"children",
"carl_christian_joseph_of_saxony"
],
[
"augustus_iii_of_poland",
"children",
"franz_xavier_of_saxony"
],
[
"augustus_iii_of_poland",
"children",
"frederick_christian_elector_of_saxony"
],
[
"augustus_iii_of_poland",
"children",
"maria_amalia_of_saxony"
],
[
"augustus_iii_of_poland",
"children",
"marie_josephe_of_saxony"
],
[
"augustus_iii_of_poland",
"parents",
"augustus_ii_the_strong"
],
[
"augustus_iii_of_poland",
"place_of_birth",
"dresden"
],
[
"augustus_iii_of_poland",
"place_of_death",
"dresden"
],
[
"carl_christian_joseph_of_saxony",
"parents",
"augustus_iii_of_poland"
],
[
"carl_christian_joseph_of_saxony",
"place_of_birth",
"dresden"
],
[
"carl_christian_joseph_of_saxony",
"place_of_death",
"dresden"
],
[
"charles_iii_of_spain",
"children",
"maria_louisa_of_spain"
],
[
"charles_iii_of_spain",
"spouse",
"maria_amalia_of_saxony"
],
[
"christian_i_elector_of_saxony",
"place_of_birth",
"dresden"
],
[
"christian_i_elector_of_saxony",
"place_of_death",
"dresden"
],
[
"franz_xavier_of_saxony",
"parents",
"augustus_iii_of_poland"
],
[
"franz_xavier_of_saxony",
"place_of_birth",
"dresden"
],
[
"frederick_christian_elector_of_saxony",
"parents",
"augustus_iii_of_poland"
],
[
"frederick_christian_elector_of_saxony",
"place_of_birth",
"dresden"
],
[
"frederick_christian_elector_of_saxony",
"place_of_death",
"dresden"
],
[
"maria_amalia_of_saxony",
"children",
"maria_louisa_of_spain"
],
[
"maria_amalia_of_saxony",
"parents",
"augustus_iii_of_poland"
],
[
"maria_amalia_of_saxony",
"parents",
"maria_josepha_of_austria"
],
[
"maria_amalia_of_saxony",
"place_of_birth",
"dresden"
],
[
"maria_amalia_of_saxony",
"spouse",
"charles_iii_of_spain"
],
[
"maria_josepha_of_austria",
"children",
"maria_amalia_of_saxony"
],
[
"maria_josepha_of_austria",
"children",
"marie_josephe_of_saxony"
],
[
"maria_josepha_of_austria",
"place_of_death",
"dresden"
],
[
"maria_louisa_of_spain",
"children",
"archduke_anton_victor_of_austria"
],
[
"maria_louisa_of_spain",
"parents",
"charles_iii_of_spain"
],
[
"maria_louisa_of_spain",
"parents",
"maria_amalia_of_saxony"
],
[
"marie_josephe_of_saxony",
"parents",
"augustus_iii_of_poland"
],
[
"marie_josephe_of_saxony",
"parents",
"maria_josepha_of_austria"
],
[
"marie_josephe_of_saxony",
"place_of_birth",
"dresden"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
55944, alice_bailly
25987, ecole_des_beaux-arts
39196, george_herbert
29735, lausanne
25934, princess_beatrice_of_the_united_kingdom
61685, trinity_college_cambridge
62920, victoria_eugenia_of_battenberg
src, edge_attr, dst
55944, institution, 25987
55944, location, 29735
55944, place_of_death, 29735
39196, institution, 25987
39196, institution, 61685
25934, children, 62920
62920, parents, 25934
62920, place_of_death, 29735
Question: For what reason are lausanne, princess_beatrice_of_the_united_kingdom, and trinity_college_cambridge associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"lausanne",
"princess_beatrice_of_the_united_kingdom",
"trinity_college_cambridge"
],
"valid_edges": [
[
"alice_bailly",
"institution",
"ecole_des_beaux-arts"
],
[
"alice_bailly",
"location",
"lausanne"
],
[
"alice_bailly",
"place_of_death",
"lausanne"
],
[
"george_herbert",
"institution",
"ecole_des_beaux-arts"
],
[
"george_herbert",
"institution",
"trinity_college_cambridge"
],
[
"princess_beatrice_of_the_united_kingdom",
"children",
"victoria_eugenia_of_battenberg"
],
[
"victoria_eugenia_of_battenberg",
"parents",
"princess_beatrice_of_the_united_kingdom"
],
[
"victoria_eugenia_of_battenberg",
"place_of_death",
"lausanne"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
31157, archduke_franz_karl_of_austria
70084, ferdinand_i_of_austria
47914, hungary
2461, maria_teresa_of_the_two_sicilies
24461, miklos_horthy
src, edge_attr, dst
31157, parents, 2461
70084, nationality, 47914
70084, parents, 2461
2461, children, 31157
2461, children, 70084
24461, nationality, 47914
Question: For what reason are archduke_franz_karl_of_austria, hungary, and miklos_horthy associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"archduke_franz_karl_of_austria",
"hungary",
"miklos_horthy"
],
"valid_edges": [
[
"archduke_franz_karl_of_austria",
"parents",
"maria_teresa_of_the_two_sicilies"
],
[
"ferdinand_i_of_austria",
"nationality",
"hungary"
],
[
"ferdinand_i_of_austria",
"parents",
"maria_teresa_of_the_two_sicilies"
],
[
"maria_teresa_of_the_two_sicilies",
"children",
"archduke_franz_karl_of_austria"
],
[
"maria_teresa_of_the_two_sicilies",
"children",
"ferdinand_i_of_austria"
],
[
"miklos_horthy",
"nationality",
"hungary"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
2386, alexandra_fyodorovna_of_hesse
20159, amberg
61213, assassination
23780, charlotte_of_bourbon
1810, frederick_iv_elector_palatine
36751, frederick_v_elector_palatine
4359, grand_duchess_anastasia_nikolaevna_of_russia
48757, grand_duchess_maria_nikolaevna_of_russia
24529, grand_duchess_olga_nikolaevna_of_russia
17791, grand_duchess_tatiana_nikolaevna_of_russia
8815, grand_duke_sergei_alexandrovich_of_russia
73810, louise_juliana_of_nassau
60748, peterhof
394, tsarevich_alexei_nikolaevich_of_russia
56128, tsarskoe_selo
32216, tsarskoye_selo
73877, william_the_silent
59933, yekaterinburg
src, edge_attr, dst
2386, children, 4359
2386, children, 48757
2386, children, 17791
2386, children, 394
2386, location, 56128
2386, place_of_death, 59933
23780, children, 73810
23780, spouse, 73877
1810, children, 36751
1810, place_of_birth, 20159
1810, spouse, 73810
36751, parents, 1810
36751, parents, 73810
36751, place_of_birth, 20159
4359, cause_of_death, 61213
4359, location, 60748
4359, location, 56128
4359, location, 59933
4359, parents, 2386
4359, place_of_birth, 60748
4359, place_of_death, 59933
48757, cause_of_death, 61213
48757, parents, 2386
48757, place_of_birth, 60748
48757, place_of_death, 59933
24529, cause_of_death, 61213
24529, location, 32216
24529, parents, 2386
24529, place_of_birth, 32216
24529, place_of_death, 59933
17791, cause_of_death, 61213
17791, parents, 2386
17791, place_of_birth, 60748
17791, place_of_death, 59933
8815, cause_of_death, 61213
8815, place_of_birth, 32216
73810, children, 36751
73810, parents, 23780
73810, parents, 73877
73810, spouse, 1810
394, parents, 2386
394, place_of_birth, 60748
394, place_of_death, 59933
73877, cause_of_death, 61213
73877, children, 73810
73877, spouse, 23780
Question: How are alexandra_fyodorovna_of_hesse, assassination, and frederick_v_elector_palatine related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"alexandra_fyodorovna_of_hesse",
"assassination",
"frederick_v_elector_palatine"
],
"valid_edges": [
[
"alexandra_fyodorovna_of_hesse",
"children",
"grand_duchess_anastasia_nikolaevna_of_russia"
],
[
"alexandra_fyodorovna_of_hesse",
"children",
"grand_duchess_maria_nikolaevna_of_russia"
],
[
"alexandra_fyodorovna_of_hesse",
"children",
"grand_duchess_tatiana_nikolaevna_of_russia"
],
[
"alexandra_fyodorovna_of_hesse",
"children",
"tsarevich_alexei_nikolaevich_of_russia"
],
[
"alexandra_fyodorovna_of_hesse",
"location",
"tsarskoe_selo"
],
[
"alexandra_fyodorovna_of_hesse",
"place_of_death",
"yekaterinburg"
],
[
"charlotte_of_bourbon",
"children",
"louise_juliana_of_nassau"
],
[
"charlotte_of_bourbon",
"spouse",
"william_the_silent"
],
[
"frederick_iv_elector_palatine",
"children",
"frederick_v_elector_palatine"
],
[
"frederick_iv_elector_palatine",
"place_of_birth",
"amberg"
],
[
"frederick_iv_elector_palatine",
"spouse",
"louise_juliana_of_nassau"
],
[
"frederick_v_elector_palatine",
"parents",
"frederick_iv_elector_palatine"
],
[
"frederick_v_elector_palatine",
"parents",
"louise_juliana_of_nassau"
],
[
"frederick_v_elector_palatine",
"place_of_birth",
"amberg"
],
[
"grand_duchess_anastasia_nikolaevna_of_russia",
"cause_of_death",
"assassination"
],
[
"grand_duchess_anastasia_nikolaevna_of_russia",
"location",
"peterhof"
],
[
"grand_duchess_anastasia_nikolaevna_of_russia",
"location",
"tsarskoe_selo"
],
[
"grand_duchess_anastasia_nikolaevna_of_russia",
"location",
"yekaterinburg"
],
[
"grand_duchess_anastasia_nikolaevna_of_russia",
"parents",
"alexandra_fyodorovna_of_hesse"
],
[
"grand_duchess_anastasia_nikolaevna_of_russia",
"place_of_birth",
"peterhof"
],
[
"grand_duchess_anastasia_nikolaevna_of_russia",
"place_of_death",
"yekaterinburg"
],
[
"grand_duchess_maria_nikolaevna_of_russia",
"cause_of_death",
"assassination"
],
[
"grand_duchess_maria_nikolaevna_of_russia",
"parents",
"alexandra_fyodorovna_of_hesse"
],
[
"grand_duchess_maria_nikolaevna_of_russia",
"place_of_birth",
"peterhof"
],
[
"grand_duchess_maria_nikolaevna_of_russia",
"place_of_death",
"yekaterinburg"
],
[
"grand_duchess_olga_nikolaevna_of_russia",
"cause_of_death",
"assassination"
],
[
"grand_duchess_olga_nikolaevna_of_russia",
"location",
"tsarskoye_selo"
],
[
"grand_duchess_olga_nikolaevna_of_russia",
"parents",
"alexandra_fyodorovna_of_hesse"
],
[
"grand_duchess_olga_nikolaevna_of_russia",
"place_of_birth",
"tsarskoye_selo"
],
[
"grand_duchess_olga_nikolaevna_of_russia",
"place_of_death",
"yekaterinburg"
],
[
"grand_duchess_tatiana_nikolaevna_of_russia",
"cause_of_death",
"assassination"
],
[
"grand_duchess_tatiana_nikolaevna_of_russia",
"parents",
"alexandra_fyodorovna_of_hesse"
],
[
"grand_duchess_tatiana_nikolaevna_of_russia",
"place_of_birth",
"peterhof"
],
[
"grand_duchess_tatiana_nikolaevna_of_russia",
"place_of_death",
"yekaterinburg"
],
[
"grand_duke_sergei_alexandrovich_of_russia",
"cause_of_death",
"assassination"
],
[
"grand_duke_sergei_alexandrovich_of_russia",
"place_of_birth",
"tsarskoye_selo"
],
[
"louise_juliana_of_nassau",
"children",
"frederick_v_elector_palatine"
],
[
"louise_juliana_of_nassau",
"parents",
"charlotte_of_bourbon"
],
[
"louise_juliana_of_nassau",
"parents",
"william_the_silent"
],
[
"louise_juliana_of_nassau",
"spouse",
"frederick_iv_elector_palatine"
],
[
"tsarevich_alexei_nikolaevich_of_russia",
"parents",
"alexandra_fyodorovna_of_hesse"
],
[
"tsarevich_alexei_nikolaevich_of_russia",
"place_of_birth",
"peterhof"
],
[
"tsarevich_alexei_nikolaevich_of_russia",
"place_of_death",
"yekaterinburg"
],
[
"william_the_silent",
"cause_of_death",
"assassination"
],
[
"william_the_silent",
"children",
"louise_juliana_of_nassau"
],
[
"william_the_silent",
"spouse",
"charlotte_of_bourbon"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
30156, anna_maria_luisa_de_medici
41821, catholicism
9505, chateau_de_blois
35321, louis_xii_of_france
34786, marguerite_louise_dorleans
7936, philip_v_of_spain
src, edge_attr, dst
30156, parents, 34786
35321, place_of_birth, 9505
35321, religion, 41821
34786, children, 30156
34786, place_of_birth, 9505
7936, religion, 41821
Question: In what context are anna_maria_luisa_de_medici, catholicism, and philip_v_of_spain connected?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"anna_maria_luisa_de_medici",
"catholicism",
"philip_v_of_spain"
],
"valid_edges": [
[
"anna_maria_luisa_de_medici",
"parents",
"marguerite_louise_dorleans"
],
[
"louis_xii_of_france",
"place_of_birth",
"chateau_de_blois"
],
[
"louis_xii_of_france",
"religion",
"catholicism"
],
[
"marguerite_louise_dorleans",
"children",
"anna_maria_luisa_de_medici"
],
[
"marguerite_louise_dorleans",
"place_of_birth",
"chateau_de_blois"
],
[
"philip_v_of_spain",
"religion",
"catholicism"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
57767, alexander_mountbatten_1st_marquess_of_carisbrooke
66269, kensington_palace
72666, prince_maurice_of_battenberg
25934, princess_beatrice_of_the_united_kingdom
54183, princess_louise_duchess_of_argyll
src, edge_attr, dst
57767, parents, 25934
57767, place_of_death, 66269
72666, parents, 25934
25934, children, 57767
25934, children, 72666
54183, place_of_death, 66269
Question: How are prince_maurice_of_battenberg, princess_beatrice_of_the_united_kingdom, and princess_louise_duchess_of_argyll related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"prince_maurice_of_battenberg",
"princess_beatrice_of_the_united_kingdom",
"princess_louise_duchess_of_argyll"
],
"valid_edges": [
[
"alexander_mountbatten_1st_marquess_of_carisbrooke",
"parents",
"princess_beatrice_of_the_united_kingdom"
],
[
"alexander_mountbatten_1st_marquess_of_carisbrooke",
"place_of_death",
"kensington_palace"
],
[
"prince_maurice_of_battenberg",
"parents",
"princess_beatrice_of_the_united_kingdom"
],
[
"princess_beatrice_of_the_united_kingdom",
"children",
"alexander_mountbatten_1st_marquess_of_carisbrooke"
],
[
"princess_beatrice_of_the_united_kingdom",
"children",
"prince_maurice_of_battenberg"
],
[
"princess_louise_duchess_of_argyll",
"place_of_death",
"kensington_palace"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
39111, alexandra_fyodorovna
34952, grand_duchess_alexandra_nikolaevna_of_russia
13346, grand_duke_konstantin_nikolayevich_of_russia
50651, grand_duke_michael_nicolaievich_of_russia
15299, grand_duke_nicholas_nicolaievich_of_russia
75016, henry_viii_of_england
66793, louise_of_mecklenburg-strelitz
64332, monarch
19173, nicholas_i_of_russia
73313, olga_nicolaievna_of_russia
src, edge_attr, dst
39111, children, 34952
39111, children, 13346
39111, children, 50651
39111, children, 15299
39111, children, 73313
39111, parents, 66793
39111, spouse, 19173
34952, parents, 39111
34952, parents, 19173
13346, parents, 39111
13346, parents, 19173
50651, parents, 39111
50651, parents, 19173
15299, parents, 39111
15299, parents, 19173
75016, profession, 64332
66793, children, 39111
19173, children, 34952
19173, children, 13346
19173, children, 50651
19173, children, 15299
19173, children, 73313
19173, profession, 64332
19173, spouse, 39111
73313, parents, 39111
73313, parents, 19173
Question: For what reason are henry_viii_of_england, louise_of_mecklenburg-strelitz, and monarch associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"henry_viii_of_england",
"louise_of_mecklenburg-strelitz",
"monarch"
],
"valid_edges": [
[
"alexandra_fyodorovna",
"children",
"grand_duchess_alexandra_nikolaevna_of_russia"
],
[
"alexandra_fyodorovna",
"children",
"grand_duke_konstantin_nikolayevich_of_russia"
],
[
"alexandra_fyodorovna",
"children",
"grand_duke_michael_nicolaievich_of_russia"
],
[
"alexandra_fyodorovna",
"children",
"grand_duke_nicholas_nicolaievich_of_russia"
],
[
"alexandra_fyodorovna",
"children",
"olga_nicolaievna_of_russia"
],
[
"alexandra_fyodorovna",
"parents",
"louise_of_mecklenburg-strelitz"
],
[
"alexandra_fyodorovna",
"spouse",
"nicholas_i_of_russia"
],
[
"grand_duchess_alexandra_nikolaevna_of_russia",
"parents",
"alexandra_fyodorovna"
],
[
"grand_duchess_alexandra_nikolaevna_of_russia",
"parents",
"nicholas_i_of_russia"
],
[
"grand_duke_konstantin_nikolayevich_of_russia",
"parents",
"alexandra_fyodorovna"
],
[
"grand_duke_konstantin_nikolayevich_of_russia",
"parents",
"nicholas_i_of_russia"
],
[
"grand_duke_michael_nicolaievich_of_russia",
"parents",
"alexandra_fyodorovna"
],
[
"grand_duke_michael_nicolaievich_of_russia",
"parents",
"nicholas_i_of_russia"
],
[
"grand_duke_nicholas_nicolaievich_of_russia",
"parents",
"alexandra_fyodorovna"
],
[
"grand_duke_nicholas_nicolaievich_of_russia",
"parents",
"nicholas_i_of_russia"
],
[
"henry_viii_of_england",
"profession",
"monarch"
],
[
"louise_of_mecklenburg-strelitz",
"children",
"alexandra_fyodorovna"
],
[
"nicholas_i_of_russia",
"children",
"grand_duchess_alexandra_nikolaevna_of_russia"
],
[
"nicholas_i_of_russia",
"children",
"grand_duke_konstantin_nikolayevich_of_russia"
],
[
"nicholas_i_of_russia",
"children",
"grand_duke_michael_nicolaievich_of_russia"
],
[
"nicholas_i_of_russia",
"children",
"grand_duke_nicholas_nicolaievich_of_russia"
],
[
"nicholas_i_of_russia",
"children",
"olga_nicolaievna_of_russia"
],
[
"nicholas_i_of_russia",
"profession",
"monarch"
],
[
"nicholas_i_of_russia",
"spouse",
"alexandra_fyodorovna"
],
[
"olga_nicolaievna_of_russia",
"parents",
"alexandra_fyodorovna"
],
[
"olga_nicolaievna_of_russia",
"parents",
"nicholas_i_of_russia"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
55951, adelaide_of_lowenstein_wertheim_rosenberg
41821, catholicism
3856, charles_iv_of_spain
20114, charlotte_grand_duchess_of_luxembourg
11614, charlotte_of_spain
63846, ferdinand_ii_of_aragon
35534, guillaume_iv_grand_duke_of_luxembourg
39840, maria_antonia_of_portugal
24818, marie_anne_of_portugal
21065, miguel_ii_duke_of_braganza
13068, miguel_of_portugal
7232, prince_francis_joseph_of_braganza
27093, zita_of_bourbon-parma
src, edge_attr, dst
55951, children, 21065
55951, spouse, 13068
3856, children, 11614
3856, religion, 41821
20114, parents, 35534
20114, parents, 24818
20114, religion, 41821
11614, children, 13068
11614, parents, 3856
63846, religion, 41821
35534, children, 20114
35534, religion, 41821
35534, spouse, 24818
39840, children, 27093
39840, parents, 13068
24818, parents, 13068
24818, spouse, 35534
21065, children, 7232
21065, parents, 55951
21065, parents, 13068
13068, children, 39840
13068, children, 24818
13068, children, 21065
13068, parents, 11614
13068, religion, 41821
13068, spouse, 55951
7232, parents, 21065
27093, parents, 39840
27093, religion, 41821
Question: How are catholicism, ferdinand_ii_of_aragon, and prince_francis_joseph_of_braganza related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"catholicism",
"ferdinand_ii_of_aragon",
"prince_francis_joseph_of_braganza"
],
"valid_edges": [
[
"adelaide_of_lowenstein_wertheim_rosenberg",
"children",
"miguel_ii_duke_of_braganza"
],
[
"adelaide_of_lowenstein_wertheim_rosenberg",
"spouse",
"miguel_of_portugal"
],
[
"charles_iv_of_spain",
"children",
"charlotte_of_spain"
],
[
"charles_iv_of_spain",
"religion",
"catholicism"
],
[
"charlotte_grand_duchess_of_luxembourg",
"parents",
"guillaume_iv_grand_duke_of_luxembourg"
],
[
"charlotte_grand_duchess_of_luxembourg",
"parents",
"marie_anne_of_portugal"
],
[
"charlotte_grand_duchess_of_luxembourg",
"religion",
"catholicism"
],
[
"charlotte_of_spain",
"children",
"miguel_of_portugal"
],
[
"charlotte_of_spain",
"parents",
"charles_iv_of_spain"
],
[
"ferdinand_ii_of_aragon",
"religion",
"catholicism"
],
[
"guillaume_iv_grand_duke_of_luxembourg",
"children",
"charlotte_grand_duchess_of_luxembourg"
],
[
"guillaume_iv_grand_duke_of_luxembourg",
"religion",
"catholicism"
],
[
"guillaume_iv_grand_duke_of_luxembourg",
"spouse",
"marie_anne_of_portugal"
],
[
"maria_antonia_of_portugal",
"children",
"zita_of_bourbon-parma"
],
[
"maria_antonia_of_portugal",
"parents",
"miguel_of_portugal"
],
[
"marie_anne_of_portugal",
"parents",
"miguel_of_portugal"
],
[
"marie_anne_of_portugal",
"spouse",
"guillaume_iv_grand_duke_of_luxembourg"
],
[
"miguel_ii_duke_of_braganza",
"children",
"prince_francis_joseph_of_braganza"
],
[
"miguel_ii_duke_of_braganza",
"parents",
"adelaide_of_lowenstein_wertheim_rosenberg"
],
[
"miguel_ii_duke_of_braganza",
"parents",
"miguel_of_portugal"
],
[
"miguel_of_portugal",
"children",
"maria_antonia_of_portugal"
],
[
"miguel_of_portugal",
"children",
"marie_anne_of_portugal"
],
[
"miguel_of_portugal",
"children",
"miguel_ii_duke_of_braganza"
],
[
"miguel_of_portugal",
"parents",
"charlotte_of_spain"
],
[
"miguel_of_portugal",
"religion",
"catholicism"
],
[
"miguel_of_portugal",
"spouse",
"adelaide_of_lowenstein_wertheim_rosenberg"
],
[
"prince_francis_joseph_of_braganza",
"parents",
"miguel_ii_duke_of_braganza"
],
[
"zita_of_bourbon-parma",
"parents",
"maria_antonia_of_portugal"
],
[
"zita_of_bourbon-parma",
"religion",
"catholicism"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
23571, adolf_hitler
43295, albert_iii_duke_of_bavaria
1040, albert_of_saxe-altenburg
37606, albrecht_adam
8965, albrecht_duke_of_bavaria
60515, andreas_heckmair
39265, annemarie_wendl
44232, arnsberg
30532, barbara_antonie_barth
61400, countess_ina_von_ruppin
112, dachau
74235, eduard_of_saxe-altenburg
60341, ernest_duke_of_bavaria
5845, ernest_of_bavaria
49132, eva_braun
55913, ferdinand_of_bavaria
27822, frankenthal
8769, franz_nissl
20977, franz_schonhuber
23438, friedrich_thiersch
49881, garmisch-partenkirchen
19316, heinrich_adam
25756, heinrich_burkhardt
6852, helene_sedlmayr
19510, henriette_adelaide_of_savoy
15965, infanta_amelia_philippina_of_spain
72300, infanta_maria_de_la_paz_of_spain
33829, johann_schraudolph
60661, jorg_hube
35670, joseph_clemens_of_bavaria
74091, joseph_effner
6178, karl_theodor_duke_in_bavaria
62350, karl_thiersch
6016, karl_wilhelm_von_nageli
56129, katharina_mann
22749, kilchberg_zurich
70681, konrad_von_maurer
7641, kunigunde_of_austria
20668, ludwig_ii_of_bavaria
14518, maria_anna_sophia_of_saxony
38845, maria_josepha_of_portugal
63453, marie_of_baden_sponheim
73464, marie_of_prussia
52376, maximilian_iii_elector_of_bavaria
22233, maximilian_joseph_duke_in_bavaria
72987, munich
4983, neuruppin
45079, nordlingen
46499, oberstdorf
16211, oskar_perron
30959, otto_of_bavaria
14226, philipp_bouhler
42179, prince_adalbert_of_bavaria
44641, prince_alfons_of_bavaria
35617, prince_arnulf_of_bavaria
29495, prince_ferdinand_of_bavaria
10081, prince_heinrich_of_bavaria
43997, prince_joseph_clemens_of_bavaria
67849, prince_louis_ferdinand_of_bavaria
56449, prince_oskar_of_prussia
52793, princess_elisabeth_maria_of_bavaria
11445, princess_louise_victoire_dorleans_alencon
29438, princess_ludovika_of_bavaria
58557, richard_strauss
67736, rupprecht_crown_prince_of_bavaria
69179, schweinfurt
27059, theodor_fischer
34060, trostberg
46290, walther_wever_munich
37755, william_iv_duke_of_bavaria
src, edge_attr, dst
23571, spouse, 49132
43295, location, 72987
43295, parents, 60341
43295, place_of_birth, 72987
43295, place_of_death, 72987
1040, location, 72987
1040, parents, 74235
1040, place_of_birth, 72987
37606, place_of_birth, 45079
37606, place_of_death, 72987
8965, location, 72987
8965, parents, 67736
8965, place_of_birth, 72987
60515, location, 72987
60515, place_of_birth, 72987
60515, place_of_death, 46499
39265, place_of_birth, 34060
39265, place_of_death, 72987
30532, place_of_birth, 72987
30532, place_of_death, 49881
61400, place_of_death, 72987
61400, spouse, 56449
74235, children, 1040
74235, place_of_death, 72987
60341, children, 43295
60341, location, 72987
60341, place_of_death, 72987
5845, location, 72987
5845, place_of_birth, 72987
5845, place_of_death, 44232
49132, location, 72987
49132, place_of_birth, 72987
49132, spouse, 23571
55913, location, 72987
55913, place_of_birth, 72987
55913, place_of_death, 44232
8769, place_of_birth, 27822
8769, place_of_death, 72987
20977, place_of_birth, 34060
20977, place_of_death, 72987
23438, children, 62350
23438, place_of_death, 72987
19316, place_of_birth, 45079
19316, place_of_death, 72987
25756, place_of_birth, 69179
25756, place_of_death, 72987
6852, location, 72987
6852, place_of_birth, 34060
6852, place_of_death, 72987
19510, children, 35670
15965, children, 44641
15965, children, 67849
15965, place_of_death, 72987
72300, place_of_death, 72987
72300, spouse, 67849
33829, place_of_birth, 46499
33829, place_of_death, 72987
60661, location, 72987
60661, place_of_birth, 4983
60661, place_of_death, 72987
35670, parents, 19510
35670, place_of_birth, 72987
74091, place_of_birth, 112
74091, place_of_death, 72987
6178, parents, 22233
6178, parents, 29438
6178, spouse, 38845
62350, location, 72987
62350, parents, 23438
62350, place_of_birth, 72987
6016, place_of_birth, 22749
6016, place_of_death, 72987
56129, location, 72987
56129, place_of_death, 22749
70681, place_of_birth, 27822
70681, place_of_death, 72987
7641, children, 37755
7641, place_of_death, 72987
20668, location, 72987
20668, parents, 73464
14518, place_of_death, 72987
14518, spouse, 52376
38845, place_of_death, 72987
38845, spouse, 6178
63453, place_of_death, 72987
63453, spouse, 37755
73464, children, 20668
73464, children, 30959
52376, location, 72987
52376, place_of_birth, 72987
52376, place_of_death, 72987
52376, spouse, 14518
22233, children, 6178
22233, place_of_death, 72987
16211, place_of_birth, 27822
16211, place_of_death, 72987
30959, location, 72987
30959, parents, 73464
14226, location, 72987
14226, place_of_birth, 72987
14226, place_of_death, 112
42179, children, 44641
42179, children, 67849
42179, location, 72987
42179, place_of_birth, 72987
44641, children, 43997
44641, children, 52793
44641, location, 72987
44641, parents, 15965
44641, parents, 42179
44641, place_of_birth, 72987
44641, place_of_death, 72987
35617, children, 10081
35617, location, 72987
35617, place_of_birth, 72987
29495, parents, 72300
29495, parents, 67849
10081, location, 72987
10081, parents, 35617
10081, place_of_birth, 72987
43997, location, 72987
43997, parents, 44641
43997, parents, 11445
43997, place_of_birth, 72987
43997, place_of_death, 72987
67849, parents, 15965
67849, parents, 42179
67849, place_of_death, 72987
67849, spouse, 72300
56449, place_of_death, 72987
56449, spouse, 61400
52793, location, 72987
52793, parents, 44641
52793, parents, 11445
52793, place_of_birth, 72987
11445, children, 43997
11445, children, 52793
11445, place_of_death, 72987
29438, children, 6178
29438, location, 72987
29438, place_of_birth, 72987
29438, place_of_death, 72987
58557, location, 72987
58557, place_of_birth, 72987
58557, place_of_death, 49881
67736, children, 8965
67736, location, 72987
67736, place_of_birth, 72987
67736, place_of_death, 72987
27059, place_of_birth, 69179
27059, place_of_death, 72987
46290, location, 72987
46290, place_of_birth, 72987
46290, place_of_death, 4983
37755, location, 72987
37755, parents, 7641
37755, place_of_birth, 72987
37755, place_of_death, 72987
37755, spouse, 63453
Question: For what reason are adolf_hitler, henriette_adelaide_of_savoy, and munich associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"adolf_hitler",
"henriette_adelaide_of_savoy",
"munich"
],
"valid_edges": [
[
"adolf_hitler",
"spouse",
"eva_braun"
],
[
"albert_iii_duke_of_bavaria",
"location",
"munich"
],
[
"albert_iii_duke_of_bavaria",
"parents",
"ernest_duke_of_bavaria"
],
[
"albert_iii_duke_of_bavaria",
"place_of_birth",
"munich"
],
[
"albert_iii_duke_of_bavaria",
"place_of_death",
"munich"
],
[
"albert_of_saxe-altenburg",
"location",
"munich"
],
[
"albert_of_saxe-altenburg",
"parents",
"eduard_of_saxe-altenburg"
],
[
"albert_of_saxe-altenburg",
"place_of_birth",
"munich"
],
[
"albrecht_adam",
"place_of_birth",
"nordlingen"
],
[
"albrecht_adam",
"place_of_death",
"munich"
],
[
"albrecht_duke_of_bavaria",
"location",
"munich"
],
[
"albrecht_duke_of_bavaria",
"parents",
"rupprecht_crown_prince_of_bavaria"
],
[
"albrecht_duke_of_bavaria",
"place_of_birth",
"munich"
],
[
"andreas_heckmair",
"location",
"munich"
],
[
"andreas_heckmair",
"place_of_birth",
"munich"
],
[
"andreas_heckmair",
"place_of_death",
"oberstdorf"
],
[
"annemarie_wendl",
"place_of_birth",
"trostberg"
],
[
"annemarie_wendl",
"place_of_death",
"munich"
],
[
"barbara_antonie_barth",
"place_of_birth",
"munich"
],
[
"barbara_antonie_barth",
"place_of_death",
"garmisch-partenkirchen"
],
[
"countess_ina_von_ruppin",
"place_of_death",
"munich"
],
[
"countess_ina_von_ruppin",
"spouse",
"prince_oskar_of_prussia"
],
[
"eduard_of_saxe-altenburg",
"children",
"albert_of_saxe-altenburg"
],
[
"eduard_of_saxe-altenburg",
"place_of_death",
"munich"
],
[
"ernest_duke_of_bavaria",
"children",
"albert_iii_duke_of_bavaria"
],
[
"ernest_duke_of_bavaria",
"location",
"munich"
],
[
"ernest_duke_of_bavaria",
"place_of_death",
"munich"
],
[
"ernest_of_bavaria",
"location",
"munich"
],
[
"ernest_of_bavaria",
"place_of_birth",
"munich"
],
[
"ernest_of_bavaria",
"place_of_death",
"arnsberg"
],
[
"eva_braun",
"location",
"munich"
],
[
"eva_braun",
"place_of_birth",
"munich"
],
[
"eva_braun",
"spouse",
"adolf_hitler"
],
[
"ferdinand_of_bavaria",
"location",
"munich"
],
[
"ferdinand_of_bavaria",
"place_of_birth",
"munich"
],
[
"ferdinand_of_bavaria",
"place_of_death",
"arnsberg"
],
[
"franz_nissl",
"place_of_birth",
"frankenthal"
],
[
"franz_nissl",
"place_of_death",
"munich"
],
[
"franz_schonhuber",
"place_of_birth",
"trostberg"
],
[
"franz_schonhuber",
"place_of_death",
"munich"
],
[
"friedrich_thiersch",
"children",
"karl_thiersch"
],
[
"friedrich_thiersch",
"place_of_death",
"munich"
],
[
"heinrich_adam",
"place_of_birth",
"nordlingen"
],
[
"heinrich_adam",
"place_of_death",
"munich"
],
[
"heinrich_burkhardt",
"place_of_birth",
"schweinfurt"
],
[
"heinrich_burkhardt",
"place_of_death",
"munich"
],
[
"helene_sedlmayr",
"location",
"munich"
],
[
"helene_sedlmayr",
"place_of_birth",
"trostberg"
],
[
"helene_sedlmayr",
"place_of_death",
"munich"
],
[
"henriette_adelaide_of_savoy",
"children",
"joseph_clemens_of_bavaria"
],
[
"infanta_amelia_philippina_of_spain",
"children",
"prince_alfons_of_bavaria"
],
[
"infanta_amelia_philippina_of_spain",
"children",
"prince_louis_ferdinand_of_bavaria"
],
[
"infanta_amelia_philippina_of_spain",
"place_of_death",
"munich"
],
[
"infanta_maria_de_la_paz_of_spain",
"place_of_death",
"munich"
],
[
"infanta_maria_de_la_paz_of_spain",
"spouse",
"prince_louis_ferdinand_of_bavaria"
],
[
"johann_schraudolph",
"place_of_birth",
"oberstdorf"
],
[
"johann_schraudolph",
"place_of_death",
"munich"
],
[
"jorg_hube",
"location",
"munich"
],
[
"jorg_hube",
"place_of_birth",
"neuruppin"
],
[
"jorg_hube",
"place_of_death",
"munich"
],
[
"joseph_clemens_of_bavaria",
"parents",
"henriette_adelaide_of_savoy"
],
[
"joseph_clemens_of_bavaria",
"place_of_birth",
"munich"
],
[
"joseph_effner",
"place_of_birth",
"dachau"
],
[
"joseph_effner",
"place_of_death",
"munich"
],
[
"karl_theodor_duke_in_bavaria",
"parents",
"maximilian_joseph_duke_in_bavaria"
],
[
"karl_theodor_duke_in_bavaria",
"parents",
"princess_ludovika_of_bavaria"
],
[
"karl_theodor_duke_in_bavaria",
"spouse",
"maria_josepha_of_portugal"
],
[
"karl_thiersch",
"location",
"munich"
],
[
"karl_thiersch",
"parents",
"friedrich_thiersch"
],
[
"karl_thiersch",
"place_of_birth",
"munich"
],
[
"karl_wilhelm_von_nageli",
"place_of_birth",
"kilchberg_zurich"
],
[
"karl_wilhelm_von_nageli",
"place_of_death",
"munich"
],
[
"katharina_mann",
"location",
"munich"
],
[
"katharina_mann",
"place_of_death",
"kilchberg_zurich"
],
[
"konrad_von_maurer",
"place_of_birth",
"frankenthal"
],
[
"konrad_von_maurer",
"place_of_death",
"munich"
],
[
"kunigunde_of_austria",
"children",
"william_iv_duke_of_bavaria"
],
[
"kunigunde_of_austria",
"place_of_death",
"munich"
],
[
"ludwig_ii_of_bavaria",
"location",
"munich"
],
[
"ludwig_ii_of_bavaria",
"parents",
"marie_of_prussia"
],
[
"maria_anna_sophia_of_saxony",
"place_of_death",
"munich"
],
[
"maria_anna_sophia_of_saxony",
"spouse",
"maximilian_iii_elector_of_bavaria"
],
[
"maria_josepha_of_portugal",
"place_of_death",
"munich"
],
[
"maria_josepha_of_portugal",
"spouse",
"karl_theodor_duke_in_bavaria"
],
[
"marie_of_baden_sponheim",
"place_of_death",
"munich"
],
[
"marie_of_baden_sponheim",
"spouse",
"william_iv_duke_of_bavaria"
],
[
"marie_of_prussia",
"children",
"ludwig_ii_of_bavaria"
],
[
"marie_of_prussia",
"children",
"otto_of_bavaria"
],
[
"maximilian_iii_elector_of_bavaria",
"location",
"munich"
],
[
"maximilian_iii_elector_of_bavaria",
"place_of_birth",
"munich"
],
[
"maximilian_iii_elector_of_bavaria",
"place_of_death",
"munich"
],
[
"maximilian_iii_elector_of_bavaria",
"spouse",
"maria_anna_sophia_of_saxony"
],
[
"maximilian_joseph_duke_in_bavaria",
"children",
"karl_theodor_duke_in_bavaria"
],
[
"maximilian_joseph_duke_in_bavaria",
"place_of_death",
"munich"
],
[
"oskar_perron",
"place_of_birth",
"frankenthal"
],
[
"oskar_perron",
"place_of_death",
"munich"
],
[
"otto_of_bavaria",
"location",
"munich"
],
[
"otto_of_bavaria",
"parents",
"marie_of_prussia"
],
[
"philipp_bouhler",
"location",
"munich"
],
[
"philipp_bouhler",
"place_of_birth",
"munich"
],
[
"philipp_bouhler",
"place_of_death",
"dachau"
],
[
"prince_adalbert_of_bavaria",
"children",
"prince_alfons_of_bavaria"
],
[
"prince_adalbert_of_bavaria",
"children",
"prince_louis_ferdinand_of_bavaria"
],
[
"prince_adalbert_of_bavaria",
"location",
"munich"
],
[
"prince_adalbert_of_bavaria",
"place_of_birth",
"munich"
],
[
"prince_alfons_of_bavaria",
"children",
"prince_joseph_clemens_of_bavaria"
],
[
"prince_alfons_of_bavaria",
"children",
"princess_elisabeth_maria_of_bavaria"
],
[
"prince_alfons_of_bavaria",
"location",
"munich"
],
[
"prince_alfons_of_bavaria",
"parents",
"infanta_amelia_philippina_of_spain"
],
[
"prince_alfons_of_bavaria",
"parents",
"prince_adalbert_of_bavaria"
],
[
"prince_alfons_of_bavaria",
"place_of_birth",
"munich"
],
[
"prince_alfons_of_bavaria",
"place_of_death",
"munich"
],
[
"prince_arnulf_of_bavaria",
"children",
"prince_heinrich_of_bavaria"
],
[
"prince_arnulf_of_bavaria",
"location",
"munich"
],
[
"prince_arnulf_of_bavaria",
"place_of_birth",
"munich"
],
[
"prince_ferdinand_of_bavaria",
"parents",
"infanta_maria_de_la_paz_of_spain"
],
[
"prince_ferdinand_of_bavaria",
"parents",
"prince_louis_ferdinand_of_bavaria"
],
[
"prince_heinrich_of_bavaria",
"location",
"munich"
],
[
"prince_heinrich_of_bavaria",
"parents",
"prince_arnulf_of_bavaria"
],
[
"prince_heinrich_of_bavaria",
"place_of_birth",
"munich"
],
[
"prince_joseph_clemens_of_bavaria",
"location",
"munich"
],
[
"prince_joseph_clemens_of_bavaria",
"parents",
"prince_alfons_of_bavaria"
],
[
"prince_joseph_clemens_of_bavaria",
"parents",
"princess_louise_victoire_dorleans_alencon"
],
[
"prince_joseph_clemens_of_bavaria",
"place_of_birth",
"munich"
],
[
"prince_joseph_clemens_of_bavaria",
"place_of_death",
"munich"
],
[
"prince_louis_ferdinand_of_bavaria",
"parents",
"infanta_amelia_philippina_of_spain"
],
[
"prince_louis_ferdinand_of_bavaria",
"parents",
"prince_adalbert_of_bavaria"
],
[
"prince_louis_ferdinand_of_bavaria",
"place_of_death",
"munich"
],
[
"prince_louis_ferdinand_of_bavaria",
"spouse",
"infanta_maria_de_la_paz_of_spain"
],
[
"prince_oskar_of_prussia",
"place_of_death",
"munich"
],
[
"prince_oskar_of_prussia",
"spouse",
"countess_ina_von_ruppin"
],
[
"princess_elisabeth_maria_of_bavaria",
"location",
"munich"
],
[
"princess_elisabeth_maria_of_bavaria",
"parents",
"prince_alfons_of_bavaria"
],
[
"princess_elisabeth_maria_of_bavaria",
"parents",
"princess_louise_victoire_dorleans_alencon"
],
[
"princess_elisabeth_maria_of_bavaria",
"place_of_birth",
"munich"
],
[
"princess_louise_victoire_dorleans_alencon",
"children",
"prince_joseph_clemens_of_bavaria"
],
[
"princess_louise_victoire_dorleans_alencon",
"children",
"princess_elisabeth_maria_of_bavaria"
],
[
"princess_louise_victoire_dorleans_alencon",
"place_of_death",
"munich"
],
[
"princess_ludovika_of_bavaria",
"children",
"karl_theodor_duke_in_bavaria"
],
[
"princess_ludovika_of_bavaria",
"location",
"munich"
],
[
"princess_ludovika_of_bavaria",
"place_of_birth",
"munich"
],
[
"princess_ludovika_of_bavaria",
"place_of_death",
"munich"
],
[
"richard_strauss",
"location",
"munich"
],
[
"richard_strauss",
"place_of_birth",
"munich"
],
[
"richard_strauss",
"place_of_death",
"garmisch-partenkirchen"
],
[
"rupprecht_crown_prince_of_bavaria",
"children",
"albrecht_duke_of_bavaria"
],
[
"rupprecht_crown_prince_of_bavaria",
"location",
"munich"
],
[
"rupprecht_crown_prince_of_bavaria",
"place_of_birth",
"munich"
],
[
"rupprecht_crown_prince_of_bavaria",
"place_of_death",
"munich"
],
[
"theodor_fischer",
"place_of_birth",
"schweinfurt"
],
[
"theodor_fischer",
"place_of_death",
"munich"
],
[
"walther_wever_munich",
"location",
"munich"
],
[
"walther_wever_munich",
"place_of_birth",
"munich"
],
[
"walther_wever_munich",
"place_of_death",
"neuruppin"
],
[
"william_iv_duke_of_bavaria",
"location",
"munich"
],
[
"william_iv_duke_of_bavaria",
"parents",
"kunigunde_of_austria"
],
[
"william_iv_duke_of_bavaria",
"place_of_birth",
"munich"
],
[
"william_iv_duke_of_bavaria",
"place_of_death",
"munich"
],
[
"william_iv_duke_of_bavaria",
"spouse",
"marie_of_baden_sponheim"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
34389, albert_vii_archduke_of_austria
53448, alexandra_pavlovna_of_russia
39112, anna_of_tyrol
70588, archduke_ernest_of_austria
64080, archduke_leopold_wilhelm_of_austria
51398, catherine_pavlovna_of_russia
1115, elisabeth_of_austria_1554
1000, elisabeth_of_wurttemberg
9383, friederike_dorothea_of_brandenburg_schwedt
2105, friedrich_ii_eugen_duke_of_wurttemberg
17964, isabella_of_portugal
64397, maria_fyodorovna_of_russia
9904, maria_of_spain
28718, matthias_holy_roman_emperor
49469, maximilian_ii_holy_roman_emperor
22493, maximilian_iii_archduke_of_austria
37359, melchior_klesl
70093, nicolo_pacassi
28229, rudolf_ii_holy_roman_emperor
2647, vienna
22743, wiener_neustadt
src, edge_attr, dst
34389, parents, 9904
34389, parents, 49469
53448, parents, 64397
53448, place_of_death, 2647
39112, place_of_death, 2647
39112, spouse, 28718
70588, location, 2647
70588, parents, 9904
70588, parents, 49469
70588, place_of_birth, 2647
64080, place_of_birth, 22743
64080, place_of_death, 2647
51398, parents, 64397
1115, location, 2647
1115, parents, 9904
1115, parents, 49469
1115, place_of_birth, 2647
1000, parents, 9383
1000, parents, 2105
1000, place_of_death, 2647
9383, children, 1000
9383, children, 64397
2105, children, 1000
2105, children, 64397
17964, children, 9904
64397, children, 53448
64397, children, 51398
64397, parents, 9383
64397, parents, 2105
9904, children, 34389
9904, children, 70588
9904, children, 1115
9904, children, 28718
9904, children, 22493
9904, children, 28229
9904, parents, 17964
9904, spouse, 49469
28718, location, 2647
28718, parents, 9904
28718, place_of_birth, 2647
28718, place_of_death, 2647
28718, spouse, 39112
49469, children, 34389
49469, children, 70588
49469, children, 1115
49469, children, 22493
49469, children, 28229
49469, location, 2647
49469, place_of_birth, 2647
49469, spouse, 9904
22493, parents, 9904
22493, parents, 49469
22493, place_of_birth, 22743
22493, place_of_death, 2647
37359, location, 2647
37359, place_of_birth, 2647
37359, place_of_death, 22743
70093, place_of_birth, 22743
70093, place_of_death, 2647
28229, location, 2647
28229, parents, 9904
28229, parents, 49469
28229, place_of_birth, 2647
Question: How are catherine_pavlovna_of_russia, isabella_of_portugal, and vienna related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"catherine_pavlovna_of_russia",
"isabella_of_portugal",
"vienna"
],
"valid_edges": [
[
"albert_vii_archduke_of_austria",
"parents",
"maria_of_spain"
],
[
"albert_vii_archduke_of_austria",
"parents",
"maximilian_ii_holy_roman_emperor"
],
[
"alexandra_pavlovna_of_russia",
"parents",
"maria_fyodorovna_of_russia"
],
[
"alexandra_pavlovna_of_russia",
"place_of_death",
"vienna"
],
[
"anna_of_tyrol",
"place_of_death",
"vienna"
],
[
"anna_of_tyrol",
"spouse",
"matthias_holy_roman_emperor"
],
[
"archduke_ernest_of_austria",
"location",
"vienna"
],
[
"archduke_ernest_of_austria",
"parents",
"maria_of_spain"
],
[
"archduke_ernest_of_austria",
"parents",
"maximilian_ii_holy_roman_emperor"
],
[
"archduke_ernest_of_austria",
"place_of_birth",
"vienna"
],
[
"archduke_leopold_wilhelm_of_austria",
"place_of_birth",
"wiener_neustadt"
],
[
"archduke_leopold_wilhelm_of_austria",
"place_of_death",
"vienna"
],
[
"catherine_pavlovna_of_russia",
"parents",
"maria_fyodorovna_of_russia"
],
[
"elisabeth_of_austria_1554",
"location",
"vienna"
],
[
"elisabeth_of_austria_1554",
"parents",
"maria_of_spain"
],
[
"elisabeth_of_austria_1554",
"parents",
"maximilian_ii_holy_roman_emperor"
],
[
"elisabeth_of_austria_1554",
"place_of_birth",
"vienna"
],
[
"elisabeth_of_wurttemberg",
"parents",
"friederike_dorothea_of_brandenburg_schwedt"
],
[
"elisabeth_of_wurttemberg",
"parents",
"friedrich_ii_eugen_duke_of_wurttemberg"
],
[
"elisabeth_of_wurttemberg",
"place_of_death",
"vienna"
],
[
"friederike_dorothea_of_brandenburg_schwedt",
"children",
"elisabeth_of_wurttemberg"
],
[
"friederike_dorothea_of_brandenburg_schwedt",
"children",
"maria_fyodorovna_of_russia"
],
[
"friedrich_ii_eugen_duke_of_wurttemberg",
"children",
"elisabeth_of_wurttemberg"
],
[
"friedrich_ii_eugen_duke_of_wurttemberg",
"children",
"maria_fyodorovna_of_russia"
],
[
"isabella_of_portugal",
"children",
"maria_of_spain"
],
[
"maria_fyodorovna_of_russia",
"children",
"alexandra_pavlovna_of_russia"
],
[
"maria_fyodorovna_of_russia",
"children",
"catherine_pavlovna_of_russia"
],
[
"maria_fyodorovna_of_russia",
"parents",
"friederike_dorothea_of_brandenburg_schwedt"
],
[
"maria_fyodorovna_of_russia",
"parents",
"friedrich_ii_eugen_duke_of_wurttemberg"
],
[
"maria_of_spain",
"children",
"albert_vii_archduke_of_austria"
],
[
"maria_of_spain",
"children",
"archduke_ernest_of_austria"
],
[
"maria_of_spain",
"children",
"elisabeth_of_austria_1554"
],
[
"maria_of_spain",
"children",
"matthias_holy_roman_emperor"
],
[
"maria_of_spain",
"children",
"maximilian_iii_archduke_of_austria"
],
[
"maria_of_spain",
"children",
"rudolf_ii_holy_roman_emperor"
],
[
"maria_of_spain",
"parents",
"isabella_of_portugal"
],
[
"maria_of_spain",
"spouse",
"maximilian_ii_holy_roman_emperor"
],
[
"matthias_holy_roman_emperor",
"location",
"vienna"
],
[
"matthias_holy_roman_emperor",
"parents",
"maria_of_spain"
],
[
"matthias_holy_roman_emperor",
"place_of_birth",
"vienna"
],
[
"matthias_holy_roman_emperor",
"place_of_death",
"vienna"
],
[
"matthias_holy_roman_emperor",
"spouse",
"anna_of_tyrol"
],
[
"maximilian_ii_holy_roman_emperor",
"children",
"albert_vii_archduke_of_austria"
],
[
"maximilian_ii_holy_roman_emperor",
"children",
"archduke_ernest_of_austria"
],
[
"maximilian_ii_holy_roman_emperor",
"children",
"elisabeth_of_austria_1554"
],
[
"maximilian_ii_holy_roman_emperor",
"children",
"maximilian_iii_archduke_of_austria"
],
[
"maximilian_ii_holy_roman_emperor",
"children",
"rudolf_ii_holy_roman_emperor"
],
[
"maximilian_ii_holy_roman_emperor",
"location",
"vienna"
],
[
"maximilian_ii_holy_roman_emperor",
"place_of_birth",
"vienna"
],
[
"maximilian_ii_holy_roman_emperor",
"spouse",
"maria_of_spain"
],
[
"maximilian_iii_archduke_of_austria",
"parents",
"maria_of_spain"
],
[
"maximilian_iii_archduke_of_austria",
"parents",
"maximilian_ii_holy_roman_emperor"
],
[
"maximilian_iii_archduke_of_austria",
"place_of_birth",
"wiener_neustadt"
],
[
"maximilian_iii_archduke_of_austria",
"place_of_death",
"vienna"
],
[
"melchior_klesl",
"location",
"vienna"
],
[
"melchior_klesl",
"place_of_birth",
"vienna"
],
[
"melchior_klesl",
"place_of_death",
"wiener_neustadt"
],
[
"nicolo_pacassi",
"place_of_birth",
"wiener_neustadt"
],
[
"nicolo_pacassi",
"place_of_death",
"vienna"
],
[
"rudolf_ii_holy_roman_emperor",
"location",
"vienna"
],
[
"rudolf_ii_holy_roman_emperor",
"parents",
"maria_of_spain"
],
[
"rudolf_ii_holy_roman_emperor",
"parents",
"maximilian_ii_holy_roman_emperor"
],
[
"rudolf_ii_holy_roman_emperor",
"place_of_birth",
"vienna"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
12149, john_d_spreckels
7647, united_states
3539, william_backhouse_astor_jr
src, edge_attr, dst
12149, nationality, 7647
3539, nationality, 7647
Question: How are john_d_spreckels, united_states, and william_backhouse_astor_jr related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"john_d_spreckels",
"united_states",
"william_backhouse_astor_jr"
],
"valid_edges": [
[
"john_d_spreckels",
"nationality",
"united_states"
],
[
"william_backhouse_astor_jr",
"nationality",
"united_states"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
14742, anne_marie_of_orleans
40910, charles_i_of_england
641, chateau_de_saint_cloud
71761, duc_dorleans
54583, elisabeth_charlotte_of_orleans
67997, elizabeth_charlotte_princess_palatine
32215, henrietta_anne_stuart
71398, henrietta_maria_of_france
1828, louis_xiii_of_france
58213, maria_luisa_of_orleans
8785, marie_de_medici
63854, mary_princess_royal_and_princess_of_orange
9840, philippe_i_duke_of_orleans
1888, princess_elizabeth_of_england
7815, st_jamess_palace
src, edge_attr, dst
14742, parents, 71761
14742, parents, 32215
14742, parents, 9840
14742, place_of_birth, 641
40910, children, 32215
40910, children, 63854
40910, children, 1888
40910, spouse, 71398
54583, parents, 71761
54583, parents, 67997
54583, parents, 9840
54583, place_of_birth, 641
67997, children, 71761
67997, children, 54583
67997, place_of_death, 641
67997, spouse, 71761
67997, spouse, 9840
32215, children, 14742
32215, children, 58213
32215, parents, 40910
32215, parents, 71398
32215, place_of_death, 641
32215, spouse, 9840
71398, children, 32215
71398, children, 1888
71398, parents, 8785
71398, spouse, 40910
1828, children, 9840
1828, parents, 8785
58213, parents, 32215
58213, parents, 9840
8785, children, 71398
8785, children, 1828
63854, parents, 40910
63854, parents, 71398
63854, place_of_birth, 7815
9840, children, 14742
9840, children, 71761
9840, children, 54583
9840, children, 58213
9840, parents, 1828
9840, place_of_death, 641
9840, spouse, 67997
9840, spouse, 32215
1888, parents, 40910
1888, parents, 71398
1888, place_of_birth, 7815
Question: How are maria_luisa_of_orleans, philippe_i_duke_of_orleans, and princess_elizabeth_of_england related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"maria_luisa_of_orleans",
"philippe_i_duke_of_orleans",
"princess_elizabeth_of_england"
],
"valid_edges": [
[
"anne_marie_of_orleans",
"parents",
"duc_dorleans"
],
[
"anne_marie_of_orleans",
"parents",
"henrietta_anne_stuart"
],
[
"anne_marie_of_orleans",
"parents",
"philippe_i_duke_of_orleans"
],
[
"anne_marie_of_orleans",
"place_of_birth",
"chateau_de_saint_cloud"
],
[
"charles_i_of_england",
"children",
"henrietta_anne_stuart"
],
[
"charles_i_of_england",
"children",
"mary_princess_royal_and_princess_of_orange"
],
[
"charles_i_of_england",
"children",
"princess_elizabeth_of_england"
],
[
"charles_i_of_england",
"spouse",
"henrietta_maria_of_france"
],
[
"elisabeth_charlotte_of_orleans",
"parents",
"duc_dorleans"
],
[
"elisabeth_charlotte_of_orleans",
"parents",
"elizabeth_charlotte_princess_palatine"
],
[
"elisabeth_charlotte_of_orleans",
"parents",
"philippe_i_duke_of_orleans"
],
[
"elisabeth_charlotte_of_orleans",
"place_of_birth",
"chateau_de_saint_cloud"
],
[
"elizabeth_charlotte_princess_palatine",
"children",
"duc_dorleans"
],
[
"elizabeth_charlotte_princess_palatine",
"children",
"elisabeth_charlotte_of_orleans"
],
[
"elizabeth_charlotte_princess_palatine",
"place_of_death",
"chateau_de_saint_cloud"
],
[
"elizabeth_charlotte_princess_palatine",
"spouse",
"duc_dorleans"
],
[
"elizabeth_charlotte_princess_palatine",
"spouse",
"philippe_i_duke_of_orleans"
],
[
"henrietta_anne_stuart",
"children",
"anne_marie_of_orleans"
],
[
"henrietta_anne_stuart",
"children",
"maria_luisa_of_orleans"
],
[
"henrietta_anne_stuart",
"parents",
"charles_i_of_england"
],
[
"henrietta_anne_stuart",
"parents",
"henrietta_maria_of_france"
],
[
"henrietta_anne_stuart",
"place_of_death",
"chateau_de_saint_cloud"
],
[
"henrietta_anne_stuart",
"spouse",
"philippe_i_duke_of_orleans"
],
[
"henrietta_maria_of_france",
"children",
"henrietta_anne_stuart"
],
[
"henrietta_maria_of_france",
"children",
"princess_elizabeth_of_england"
],
[
"henrietta_maria_of_france",
"parents",
"marie_de_medici"
],
[
"henrietta_maria_of_france",
"spouse",
"charles_i_of_england"
],
[
"louis_xiii_of_france",
"children",
"philippe_i_duke_of_orleans"
],
[
"louis_xiii_of_france",
"parents",
"marie_de_medici"
],
[
"maria_luisa_of_orleans",
"parents",
"henrietta_anne_stuart"
],
[
"maria_luisa_of_orleans",
"parents",
"philippe_i_duke_of_orleans"
],
[
"marie_de_medici",
"children",
"henrietta_maria_of_france"
],
[
"marie_de_medici",
"children",
"louis_xiii_of_france"
],
[
"mary_princess_royal_and_princess_of_orange",
"parents",
"charles_i_of_england"
],
[
"mary_princess_royal_and_princess_of_orange",
"parents",
"henrietta_maria_of_france"
],
[
"mary_princess_royal_and_princess_of_orange",
"place_of_birth",
"st_jamess_palace"
],
[
"philippe_i_duke_of_orleans",
"children",
"anne_marie_of_orleans"
],
[
"philippe_i_duke_of_orleans",
"children",
"duc_dorleans"
],
[
"philippe_i_duke_of_orleans",
"children",
"elisabeth_charlotte_of_orleans"
],
[
"philippe_i_duke_of_orleans",
"children",
"maria_luisa_of_orleans"
],
[
"philippe_i_duke_of_orleans",
"parents",
"louis_xiii_of_france"
],
[
"philippe_i_duke_of_orleans",
"place_of_death",
"chateau_de_saint_cloud"
],
[
"philippe_i_duke_of_orleans",
"spouse",
"elizabeth_charlotte_princess_palatine"
],
[
"philippe_i_duke_of_orleans",
"spouse",
"henrietta_anne_stuart"
],
[
"princess_elizabeth_of_england",
"parents",
"charles_i_of_england"
],
[
"princess_elizabeth_of_england",
"parents",
"henrietta_maria_of_france"
],
[
"princess_elizabeth_of_england",
"place_of_birth",
"st_jamess_palace"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
6148, edwin_samuel_montagu
33194, mary_of_teck
20269, prince_george_duke_of_kent
16185, princess_marina_duchess_of_kent
18083, united_kingdom
src, edge_attr, dst
6148, nationality, 18083
33194, children, 20269
20269, parents, 33194
20269, spouse, 16185
16185, nationality, 18083
16185, spouse, 20269
Question: In what context are edwin_samuel_montagu, mary_of_teck, and united_kingdom connected?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"edwin_samuel_montagu",
"mary_of_teck",
"united_kingdom"
],
"valid_edges": [
[
"edwin_samuel_montagu",
"nationality",
"united_kingdom"
],
[
"mary_of_teck",
"children",
"prince_george_duke_of_kent"
],
[
"prince_george_duke_of_kent",
"parents",
"mary_of_teck"
],
[
"prince_george_duke_of_kent",
"spouse",
"princess_marina_duchess_of_kent"
],
[
"princess_marina_duchess_of_kent",
"nationality",
"united_kingdom"
],
[
"princess_marina_duchess_of_kent",
"spouse",
"prince_george_duke_of_kent"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
11112, blanche_devreux
41821, catholicism
3856, charles_iv_of_spain
20936, margaret_of_artois
66466, philip_iii_of_navarre
38560, philip_vi_of_france
src, edge_attr, dst
11112, parents, 66466
11112, spouse, 38560
3856, religion, 41821
20936, children, 66466
66466, children, 11112
66466, parents, 20936
38560, religion, 41821
38560, spouse, 11112
Question: How are catholicism, charles_iv_of_spain, and margaret_of_artois related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"catholicism",
"charles_iv_of_spain",
"margaret_of_artois"
],
"valid_edges": [
[
"blanche_devreux",
"parents",
"philip_iii_of_navarre"
],
[
"blanche_devreux",
"spouse",
"philip_vi_of_france"
],
[
"charles_iv_of_spain",
"religion",
"catholicism"
],
[
"margaret_of_artois",
"children",
"philip_iii_of_navarre"
],
[
"philip_iii_of_navarre",
"children",
"blanche_devreux"
],
[
"philip_iii_of_navarre",
"parents",
"margaret_of_artois"
],
[
"philip_vi_of_france",
"religion",
"catholicism"
],
[
"philip_vi_of_france",
"spouse",
"blanche_devreux"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
70870, benedita_dowager_princess_of_brazil
57275, carlos_i_of_portugal
39291, cascais
41821, catholicism
42216, francisco_da_costa_gomes
11985, john_v_of_portugal
3104, joseph_i_of_portugal
23760, luis_i_of_portugal
63286, mariana_victoria_of_spain
43351, mary_anne_of_austria
22763, ribeira_palace
src, edge_attr, dst
70870, parents, 63286
57275, parents, 23760
42216, place_of_death, 39291
42216, religion, 41821
11985, place_of_birth, 22763
11985, religion, 41821
11985, spouse, 43351
3104, parents, 43351
3104, place_of_birth, 22763
3104, religion, 41821
3104, spouse, 63286
23760, children, 57275
23760, place_of_death, 39291
63286, children, 70870
63286, spouse, 3104
43351, children, 3104
43351, spouse, 11985
Question: How are benedita_dowager_princess_of_brazil, carlos_i_of_portugal, and catholicism related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"benedita_dowager_princess_of_brazil",
"carlos_i_of_portugal",
"catholicism"
],
"valid_edges": [
[
"benedita_dowager_princess_of_brazil",
"parents",
"mariana_victoria_of_spain"
],
[
"carlos_i_of_portugal",
"parents",
"luis_i_of_portugal"
],
[
"francisco_da_costa_gomes",
"place_of_death",
"cascais"
],
[
"francisco_da_costa_gomes",
"religion",
"catholicism"
],
[
"john_v_of_portugal",
"place_of_birth",
"ribeira_palace"
],
[
"john_v_of_portugal",
"religion",
"catholicism"
],
[
"john_v_of_portugal",
"spouse",
"mary_anne_of_austria"
],
[
"joseph_i_of_portugal",
"parents",
"mary_anne_of_austria"
],
[
"joseph_i_of_portugal",
"place_of_birth",
"ribeira_palace"
],
[
"joseph_i_of_portugal",
"religion",
"catholicism"
],
[
"joseph_i_of_portugal",
"spouse",
"mariana_victoria_of_spain"
],
[
"luis_i_of_portugal",
"children",
"carlos_i_of_portugal"
],
[
"luis_i_of_portugal",
"place_of_death",
"cascais"
],
[
"mariana_victoria_of_spain",
"children",
"benedita_dowager_princess_of_brazil"
],
[
"mariana_victoria_of_spain",
"spouse",
"joseph_i_of_portugal"
],
[
"mary_anne_of_austria",
"children",
"joseph_i_of_portugal"
],
[
"mary_anne_of_austria",
"spouse",
"john_v_of_portugal"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
61213, assassination
59881, john_lennon
53846, liverpool
src, edge_attr, dst
59881, cause_of_death, 61213
59881, location, 53846
59881, place_of_birth, 53846
Question: How are assassination, john_lennon, and liverpool related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"assassination",
"john_lennon",
"liverpool"
],
"valid_edges": [
[
"john_lennon",
"cause_of_death",
"assassination"
],
[
"john_lennon",
"location",
"liverpool"
],
[
"john_lennon",
"place_of_birth",
"liverpool"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
24636, anna_e_roosevelt
63817, new_york
7647, united_states
src, edge_attr, dst
24636, nationality, 7647
24636, place_of_birth, 63817
24636, place_of_death, 63817
Question: How are anna_e_roosevelt, new_york, and united_states related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"anna_e_roosevelt",
"new_york",
"united_states"
],
"valid_edges": [
[
"anna_e_roosevelt",
"nationality",
"united_states"
],
[
"anna_e_roosevelt",
"place_of_birth",
"new_york"
],
[
"anna_e_roosevelt",
"place_of_death",
"new_york"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
30077, august_anheuser_busch_sr
14659, germany
31711, sophia_charlotte_of_hanover
src, edge_attr, dst
30077, nationality, 14659
31711, nationality, 14659
Question: How are august_anheuser_busch_sr, germany, and sophia_charlotte_of_hanover related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"august_anheuser_busch_sr",
"germany",
"sophia_charlotte_of_hanover"
],
"valid_edges": [
[
"august_anheuser_busch_sr",
"nationality",
"germany"
],
[
"sophia_charlotte_of_hanover",
"nationality",
"germany"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
55951, adelaide_of_lowenstein_wertheim_rosenberg
41821, catholicism
20114, charlotte_grand_duchess_of_luxembourg
24933, felix_of_bourbon-parma
61318, john_f_fitzgerald
39840, maria_antonia_of_portugal
src, edge_attr, dst
55951, children, 39840
20114, religion, 41821
20114, spouse, 24933
61318, religion, 41821
39840, children, 24933
39840, parents, 55951
Question: In what context are adelaide_of_lowenstein_wertheim_rosenberg, catholicism, and john_f_fitzgerald connected?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"adelaide_of_lowenstein_wertheim_rosenberg",
"catholicism",
"john_f_fitzgerald"
],
"valid_edges": [
[
"adelaide_of_lowenstein_wertheim_rosenberg",
"children",
"maria_antonia_of_portugal"
],
[
"charlotte_grand_duchess_of_luxembourg",
"religion",
"catholicism"
],
[
"charlotte_grand_duchess_of_luxembourg",
"spouse",
"felix_of_bourbon-parma"
],
[
"john_f_fitzgerald",
"religion",
"catholicism"
],
[
"maria_antonia_of_portugal",
"children",
"felix_of_bourbon-parma"
],
[
"maria_antonia_of_portugal",
"parents",
"adelaide_of_lowenstein_wertheim_rosenberg"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
30703, albert_of_saxe-coburg_and_gotha
31669, freddie_lennon
18083, united_kingdom
src, edge_attr, dst
30703, nationality, 18083
31669, nationality, 18083
Question: How are albert_of_saxe-coburg_and_gotha, freddie_lennon, and united_kingdom related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"albert_of_saxe-coburg_and_gotha",
"freddie_lennon",
"united_kingdom"
],
"valid_edges": [
[
"albert_of_saxe-coburg_and_gotha",
"nationality",
"united_kingdom"
],
[
"freddie_lennon",
"nationality",
"united_kingdom"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
51932, beatrice_of_england
62575, edmund_crouchback_1st_earl_of_lancaster
34413, edward_i_of_england
61584, eleanor_of_provence
26335, elizabeth_of_rhuddlan
10215, england
21116, henry_iii_of_england
23704, joan_of_acre
1318, margaret_de_bohun_2nd_countess_of_devon
49513, margaret_plantagenet
73715, mary_de_bohun
src, edge_attr, dst
51932, nationality, 10215
51932, parents, 61584
51932, parents, 21116
62575, nationality, 10215
62575, parents, 61584
62575, parents, 21116
34413, children, 26335
34413, children, 23704
34413, children, 49513
61584, children, 51932
61584, children, 62575
26335, children, 1318
26335, parents, 34413
21116, children, 51932
21116, children, 62575
23704, nationality, 10215
23704, parents, 34413
1318, parents, 26335
49513, nationality, 10215
49513, parents, 34413
73715, nationality, 10215
Question: In what context are england, margaret_de_bohun_2nd_countess_of_devon, and mary_de_bohun connected?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"england",
"margaret_de_bohun_2nd_countess_of_devon",
"mary_de_bohun"
],
"valid_edges": [
[
"beatrice_of_england",
"nationality",
"england"
],
[
"beatrice_of_england",
"parents",
"eleanor_of_provence"
],
[
"beatrice_of_england",
"parents",
"henry_iii_of_england"
],
[
"edmund_crouchback_1st_earl_of_lancaster",
"nationality",
"england"
],
[
"edmund_crouchback_1st_earl_of_lancaster",
"parents",
"eleanor_of_provence"
],
[
"edmund_crouchback_1st_earl_of_lancaster",
"parents",
"henry_iii_of_england"
],
[
"edward_i_of_england",
"children",
"elizabeth_of_rhuddlan"
],
[
"edward_i_of_england",
"children",
"joan_of_acre"
],
[
"edward_i_of_england",
"children",
"margaret_plantagenet"
],
[
"eleanor_of_provence",
"children",
"beatrice_of_england"
],
[
"eleanor_of_provence",
"children",
"edmund_crouchback_1st_earl_of_lancaster"
],
[
"elizabeth_of_rhuddlan",
"children",
"margaret_de_bohun_2nd_countess_of_devon"
],
[
"elizabeth_of_rhuddlan",
"parents",
"edward_i_of_england"
],
[
"henry_iii_of_england",
"children",
"beatrice_of_england"
],
[
"henry_iii_of_england",
"children",
"edmund_crouchback_1st_earl_of_lancaster"
],
[
"joan_of_acre",
"nationality",
"england"
],
[
"joan_of_acre",
"parents",
"edward_i_of_england"
],
[
"margaret_de_bohun_2nd_countess_of_devon",
"parents",
"elizabeth_of_rhuddlan"
],
[
"margaret_plantagenet",
"nationality",
"england"
],
[
"margaret_plantagenet",
"parents",
"edward_i_of_england"
],
[
"mary_de_bohun",
"nationality",
"england"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
39111, alexandra_fyodorovna
52603, alexandra_iosifovna_of_altenburg
74924, anastasia_of_montenegro
2462, andrei_vladimirovich_of_russia
589, frederick_william_iii_of_prussia
37141, frederick_william_iv_of_prussia
30881, grand_duchess_alexandra_petrovna
24529, grand_duchess_olga_nikolaevna_of_russia
9354, grand_duchess_vera_konstantinovna_of_russia
24122, grand_duke_boris_vladimirovich_of_russia
54333, grand_duke_constantine_pavlovich_of_russia
42208, grand_duke_dmitri_konstantinovich_of_russia
32860, grand_duke_george_alexandrovich_of_russia
37187, grand_duke_nicholas_mikhailovich_of_russia
5092, grand_duke_nicholas_nicolaevich_the_younger
15299, grand_duke_nicholas_nicolaievich_of_russia
74485, grand_duke_nikolai_konstantinovich_of_russia
23710, grand_duke_paul_alexandrovich_of_russia
59846, grand_duke_peter_nicolaievich_of_russia
8815, grand_duke_sergei_alexandrovich_of_russia
1796, grand_duke_vyacheslav_konstantinovich_of_russia
66459, konstantin_petrovich_von_kaufman
66793, louise_of_mecklenburg-strelitz
23369, nikolai_korzhenevskiy
25765, prince_albert_of_prussia
804, prince_charles_of_prussia
50543, princess_alexandrine_of_prussia
5132, russia
29613, tashkent
32216, tsarskoye_selo
15271, william_i_german_emperor
src, edge_attr, dst
39111, children, 15299
39111, nationality, 5132
39111, parents, 589
39111, parents, 66793
52603, children, 9354
52603, children, 42208
52603, children, 74485
52603, children, 1796
74924, spouse, 5092
74924, spouse, 59846
2462, nationality, 5132
2462, place_of_birth, 32216
589, children, 39111
589, children, 37141
589, children, 25765
589, children, 804
589, children, 50543
589, children, 15271
589, spouse, 66793
37141, parents, 589
37141, parents, 66793
30881, children, 5092
30881, children, 59846
30881, spouse, 15299
24529, location, 32216
24529, nationality, 5132
24529, place_of_birth, 32216
9354, parents, 52603
24122, nationality, 5132
24122, place_of_birth, 32216
54333, nationality, 5132
54333, place_of_birth, 32216
42208, nationality, 5132
42208, parents, 52603
32860, nationality, 5132
32860, place_of_birth, 32216
37187, nationality, 5132
37187, place_of_birth, 32216
5092, nationality, 5132
5092, parents, 30881
5092, parents, 15299
5092, spouse, 74924
15299, children, 5092
15299, children, 59846
15299, nationality, 5132
15299, parents, 39111
15299, place_of_birth, 32216
15299, spouse, 30881
74485, nationality, 5132
74485, parents, 52603
74485, place_of_death, 29613
23710, nationality, 5132
23710, place_of_birth, 32216
59846, nationality, 5132
59846, parents, 30881
59846, parents, 15299
59846, spouse, 74924
8815, nationality, 5132
8815, place_of_birth, 32216
1796, nationality, 5132
1796, parents, 52603
66459, nationality, 5132
66459, place_of_death, 29613
66793, children, 39111
66793, children, 37141
66793, children, 25765
66793, children, 804
66793, children, 50543
66793, spouse, 589
23369, nationality, 5132
23369, place_of_death, 29613
25765, parents, 589
25765, parents, 66793
804, parents, 589
804, parents, 66793
50543, parents, 589
50543, parents, 66793
15271, parents, 589
15271, parents, 66793
Question: For what reason are frederick_william_iii_of_prussia, grand_duchess_vera_konstantinovna_of_russia, and russia associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"frederick_william_iii_of_prussia",
"grand_duchess_vera_konstantinovna_of_russia",
"russia"
],
"valid_edges": [
[
"alexandra_fyodorovna",
"children",
"grand_duke_nicholas_nicolaievich_of_russia"
],
[
"alexandra_fyodorovna",
"nationality",
"russia"
],
[
"alexandra_fyodorovna",
"parents",
"frederick_william_iii_of_prussia"
],
[
"alexandra_fyodorovna",
"parents",
"louise_of_mecklenburg-strelitz"
],
[
"alexandra_iosifovna_of_altenburg",
"children",
"grand_duchess_vera_konstantinovna_of_russia"
],
[
"alexandra_iosifovna_of_altenburg",
"children",
"grand_duke_dmitri_konstantinovich_of_russia"
],
[
"alexandra_iosifovna_of_altenburg",
"children",
"grand_duke_nikolai_konstantinovich_of_russia"
],
[
"alexandra_iosifovna_of_altenburg",
"children",
"grand_duke_vyacheslav_konstantinovich_of_russia"
],
[
"anastasia_of_montenegro",
"spouse",
"grand_duke_nicholas_nicolaevich_the_younger"
],
[
"anastasia_of_montenegro",
"spouse",
"grand_duke_peter_nicolaievich_of_russia"
],
[
"andrei_vladimirovich_of_russia",
"nationality",
"russia"
],
[
"andrei_vladimirovich_of_russia",
"place_of_birth",
"tsarskoye_selo"
],
[
"frederick_william_iii_of_prussia",
"children",
"alexandra_fyodorovna"
],
[
"frederick_william_iii_of_prussia",
"children",
"frederick_william_iv_of_prussia"
],
[
"frederick_william_iii_of_prussia",
"children",
"prince_albert_of_prussia"
],
[
"frederick_william_iii_of_prussia",
"children",
"prince_charles_of_prussia"
],
[
"frederick_william_iii_of_prussia",
"children",
"princess_alexandrine_of_prussia"
],
[
"frederick_william_iii_of_prussia",
"children",
"william_i_german_emperor"
],
[
"frederick_william_iii_of_prussia",
"spouse",
"louise_of_mecklenburg-strelitz"
],
[
"frederick_william_iv_of_prussia",
"parents",
"frederick_william_iii_of_prussia"
],
[
"frederick_william_iv_of_prussia",
"parents",
"louise_of_mecklenburg-strelitz"
],
[
"grand_duchess_alexandra_petrovna",
"children",
"grand_duke_nicholas_nicolaevich_the_younger"
],
[
"grand_duchess_alexandra_petrovna",
"children",
"grand_duke_peter_nicolaievich_of_russia"
],
[
"grand_duchess_alexandra_petrovna",
"spouse",
"grand_duke_nicholas_nicolaievich_of_russia"
],
[
"grand_duchess_olga_nikolaevna_of_russia",
"location",
"tsarskoye_selo"
],
[
"grand_duchess_olga_nikolaevna_of_russia",
"nationality",
"russia"
],
[
"grand_duchess_olga_nikolaevna_of_russia",
"place_of_birth",
"tsarskoye_selo"
],
[
"grand_duchess_vera_konstantinovna_of_russia",
"parents",
"alexandra_iosifovna_of_altenburg"
],
[
"grand_duke_boris_vladimirovich_of_russia",
"nationality",
"russia"
],
[
"grand_duke_boris_vladimirovich_of_russia",
"place_of_birth",
"tsarskoye_selo"
],
[
"grand_duke_constantine_pavlovich_of_russia",
"nationality",
"russia"
],
[
"grand_duke_constantine_pavlovich_of_russia",
"place_of_birth",
"tsarskoye_selo"
],
[
"grand_duke_dmitri_konstantinovich_of_russia",
"nationality",
"russia"
],
[
"grand_duke_dmitri_konstantinovich_of_russia",
"parents",
"alexandra_iosifovna_of_altenburg"
],
[
"grand_duke_george_alexandrovich_of_russia",
"nationality",
"russia"
],
[
"grand_duke_george_alexandrovich_of_russia",
"place_of_birth",
"tsarskoye_selo"
],
[
"grand_duke_nicholas_mikhailovich_of_russia",
"nationality",
"russia"
],
[
"grand_duke_nicholas_mikhailovich_of_russia",
"place_of_birth",
"tsarskoye_selo"
],
[
"grand_duke_nicholas_nicolaevich_the_younger",
"nationality",
"russia"
],
[
"grand_duke_nicholas_nicolaevich_the_younger",
"parents",
"grand_duchess_alexandra_petrovna"
],
[
"grand_duke_nicholas_nicolaevich_the_younger",
"parents",
"grand_duke_nicholas_nicolaievich_of_russia"
],
[
"grand_duke_nicholas_nicolaevich_the_younger",
"spouse",
"anastasia_of_montenegro"
],
[
"grand_duke_nicholas_nicolaievich_of_russia",
"children",
"grand_duke_nicholas_nicolaevich_the_younger"
],
[
"grand_duke_nicholas_nicolaievich_of_russia",
"children",
"grand_duke_peter_nicolaievich_of_russia"
],
[
"grand_duke_nicholas_nicolaievich_of_russia",
"nationality",
"russia"
],
[
"grand_duke_nicholas_nicolaievich_of_russia",
"parents",
"alexandra_fyodorovna"
],
[
"grand_duke_nicholas_nicolaievich_of_russia",
"place_of_birth",
"tsarskoye_selo"
],
[
"grand_duke_nicholas_nicolaievich_of_russia",
"spouse",
"grand_duchess_alexandra_petrovna"
],
[
"grand_duke_nikolai_konstantinovich_of_russia",
"nationality",
"russia"
],
[
"grand_duke_nikolai_konstantinovich_of_russia",
"parents",
"alexandra_iosifovna_of_altenburg"
],
[
"grand_duke_nikolai_konstantinovich_of_russia",
"place_of_death",
"tashkent"
],
[
"grand_duke_paul_alexandrovich_of_russia",
"nationality",
"russia"
],
[
"grand_duke_paul_alexandrovich_of_russia",
"place_of_birth",
"tsarskoye_selo"
],
[
"grand_duke_peter_nicolaievich_of_russia",
"nationality",
"russia"
],
[
"grand_duke_peter_nicolaievich_of_russia",
"parents",
"grand_duchess_alexandra_petrovna"
],
[
"grand_duke_peter_nicolaievich_of_russia",
"parents",
"grand_duke_nicholas_nicolaievich_of_russia"
],
[
"grand_duke_peter_nicolaievich_of_russia",
"spouse",
"anastasia_of_montenegro"
],
[
"grand_duke_sergei_alexandrovich_of_russia",
"nationality",
"russia"
],
[
"grand_duke_sergei_alexandrovich_of_russia",
"place_of_birth",
"tsarskoye_selo"
],
[
"grand_duke_vyacheslav_konstantinovich_of_russia",
"nationality",
"russia"
],
[
"grand_duke_vyacheslav_konstantinovich_of_russia",
"parents",
"alexandra_iosifovna_of_altenburg"
],
[
"konstantin_petrovich_von_kaufman",
"nationality",
"russia"
],
[
"konstantin_petrovich_von_kaufman",
"place_of_death",
"tashkent"
],
[
"louise_of_mecklenburg-strelitz",
"children",
"alexandra_fyodorovna"
],
[
"louise_of_mecklenburg-strelitz",
"children",
"frederick_william_iv_of_prussia"
],
[
"louise_of_mecklenburg-strelitz",
"children",
"prince_albert_of_prussia"
],
[
"louise_of_mecklenburg-strelitz",
"children",
"prince_charles_of_prussia"
],
[
"louise_of_mecklenburg-strelitz",
"children",
"princess_alexandrine_of_prussia"
],
[
"louise_of_mecklenburg-strelitz",
"spouse",
"frederick_william_iii_of_prussia"
],
[
"nikolai_korzhenevskiy",
"nationality",
"russia"
],
[
"nikolai_korzhenevskiy",
"place_of_death",
"tashkent"
],
[
"prince_albert_of_prussia",
"parents",
"frederick_william_iii_of_prussia"
],
[
"prince_albert_of_prussia",
"parents",
"louise_of_mecklenburg-strelitz"
],
[
"prince_charles_of_prussia",
"parents",
"frederick_william_iii_of_prussia"
],
[
"prince_charles_of_prussia",
"parents",
"louise_of_mecklenburg-strelitz"
],
[
"princess_alexandrine_of_prussia",
"parents",
"frederick_william_iii_of_prussia"
],
[
"princess_alexandrine_of_prussia",
"parents",
"louise_of_mecklenburg-strelitz"
],
[
"william_i_german_emperor",
"parents",
"frederick_william_iii_of_prussia"
],
[
"william_i_german_emperor",
"parents",
"louise_of_mecklenburg-strelitz"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
35012, italy
32656, philibert_i_duke_of_savoy
2903, yves_montand
src, edge_attr, dst
32656, nationality, 35012
2903, nationality, 35012
Question: For what reason are italy, philibert_i_duke_of_savoy, and yves_montand associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"italy",
"philibert_i_duke_of_savoy",
"yves_montand"
],
"valid_edges": [
[
"philibert_i_duke_of_savoy",
"nationality",
"italy"
],
[
"yves_montand",
"nationality",
"italy"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
61318, john_f_fitzgerald
71090, politician
5327, thomas_thynne_1st_marquess_of_bath
src, edge_attr, dst
61318, profession, 71090
5327, profession, 71090
Question: How are john_f_fitzgerald, politician, and thomas_thynne_1st_marquess_of_bath related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"john_f_fitzgerald",
"politician",
"thomas_thynne_1st_marquess_of_bath"
],
"valid_edges": [
[
"john_f_fitzgerald",
"profession",
"politician"
],
[
"thomas_thynne_1st_marquess_of_bath",
"profession",
"politician"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
52355, christian_ii_of_denmark
48259, christian_louis_duke_of_brunswick_luneburg
67145, dorothea_of_denmark_electress_palatine
20995, eppelein_von_gailingen
44946, ernest_augustus_elector_of_brunswick_luneburg
71614, george_william_duke_of_brunswick_luneburg
14659, germany
5338, herzberg_am_harz
31525, john_frederick_duke_of_brunswick_luneburg
19633, karl_von_einem
7649, neumarkt_in_der_oberpfalz
50030, sophia_of_hanover
src, edge_attr, dst
52355, children, 67145
48259, nationality, 14659
48259, place_of_birth, 5338
67145, parents, 52355
67145, place_of_death, 7649
20995, nationality, 14659
20995, place_of_death, 7649
44946, place_of_birth, 5338
44946, spouse, 50030
71614, nationality, 14659
71614, place_of_birth, 5338
31525, nationality, 14659
31525, place_of_birth, 5338
19633, nationality, 14659
19633, place_of_birth, 5338
50030, spouse, 44946
Question: In what context are christian_ii_of_denmark, germany, and sophia_of_hanover connected?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"christian_ii_of_denmark",
"germany",
"sophia_of_hanover"
],
"valid_edges": [
[
"christian_ii_of_denmark",
"children",
"dorothea_of_denmark_electress_palatine"
],
[
"christian_louis_duke_of_brunswick_luneburg",
"nationality",
"germany"
],
[
"christian_louis_duke_of_brunswick_luneburg",
"place_of_birth",
"herzberg_am_harz"
],
[
"dorothea_of_denmark_electress_palatine",
"parents",
"christian_ii_of_denmark"
],
[
"dorothea_of_denmark_electress_palatine",
"place_of_death",
"neumarkt_in_der_oberpfalz"
],
[
"eppelein_von_gailingen",
"nationality",
"germany"
],
[
"eppelein_von_gailingen",
"place_of_death",
"neumarkt_in_der_oberpfalz"
],
[
"ernest_augustus_elector_of_brunswick_luneburg",
"place_of_birth",
"herzberg_am_harz"
],
[
"ernest_augustus_elector_of_brunswick_luneburg",
"spouse",
"sophia_of_hanover"
],
[
"george_william_duke_of_brunswick_luneburg",
"nationality",
"germany"
],
[
"george_william_duke_of_brunswick_luneburg",
"place_of_birth",
"herzberg_am_harz"
],
[
"john_frederick_duke_of_brunswick_luneburg",
"nationality",
"germany"
],
[
"john_frederick_duke_of_brunswick_luneburg",
"place_of_birth",
"herzberg_am_harz"
],
[
"karl_von_einem",
"nationality",
"germany"
],
[
"karl_von_einem",
"place_of_birth",
"herzberg_am_harz"
],
[
"sophia_of_hanover",
"spouse",
"ernest_augustus_elector_of_brunswick_luneburg"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
41821, catholicism
54294, charles_viii_of_france
9505, chateau_de_blois
59662, ferdinando_iii_de_medici
35321, louis_xii_of_france
34786, marguerite_louise_dorleans
src, edge_attr, dst
54294, religion, 41821
59662, parents, 34786
35321, place_of_birth, 9505
35321, religion, 41821
34786, children, 59662
34786, place_of_birth, 9505
Question: In what context are catholicism, charles_viii_of_france, and ferdinando_iii_de_medici connected?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"catholicism",
"charles_viii_of_france",
"ferdinando_iii_de_medici"
],
"valid_edges": [
[
"charles_viii_of_france",
"religion",
"catholicism"
],
[
"ferdinando_iii_de_medici",
"parents",
"marguerite_louise_dorleans"
],
[
"louis_xii_of_france",
"place_of_birth",
"chateau_de_blois"
],
[
"louis_xii_of_france",
"religion",
"catholicism"
],
[
"marguerite_louise_dorleans",
"children",
"ferdinando_iii_de_medici"
],
[
"marguerite_louise_dorleans",
"place_of_birth",
"chateau_de_blois"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
68378, adolphus_cambridge_1st_marquess_of_cambridge
25711, alexander_cambridge_1st_earl_of_athlone
50361, claudine_rhedey_von_kis_rhede
20624, francis_duke_of_teck
47914, hungary
33194, mary_of_teck
60406, prince_francis_of_teck
39003, princess_mary_adelaide_of_cambridge
src, edge_attr, dst
68378, parents, 20624
68378, parents, 39003
25711, parents, 20624
25711, parents, 39003
50361, children, 20624
50361, nationality, 47914
20624, children, 68378
20624, children, 25711
20624, children, 33194
20624, children, 60406
20624, parents, 50361
20624, spouse, 39003
33194, parents, 20624
33194, parents, 39003
60406, parents, 20624
60406, parents, 39003
39003, children, 68378
39003, children, 25711
39003, children, 33194
39003, children, 60406
39003, spouse, 20624
Question: In what context are hungary, mary_of_teck, and princess_mary_adelaide_of_cambridge connected?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"hungary",
"mary_of_teck",
"princess_mary_adelaide_of_cambridge"
],
"valid_edges": [
[
"adolphus_cambridge_1st_marquess_of_cambridge",
"parents",
"francis_duke_of_teck"
],
[
"adolphus_cambridge_1st_marquess_of_cambridge",
"parents",
"princess_mary_adelaide_of_cambridge"
],
[
"alexander_cambridge_1st_earl_of_athlone",
"parents",
"francis_duke_of_teck"
],
[
"alexander_cambridge_1st_earl_of_athlone",
"parents",
"princess_mary_adelaide_of_cambridge"
],
[
"claudine_rhedey_von_kis_rhede",
"children",
"francis_duke_of_teck"
],
[
"claudine_rhedey_von_kis_rhede",
"nationality",
"hungary"
],
[
"francis_duke_of_teck",
"children",
"adolphus_cambridge_1st_marquess_of_cambridge"
],
[
"francis_duke_of_teck",
"children",
"alexander_cambridge_1st_earl_of_athlone"
],
[
"francis_duke_of_teck",
"children",
"mary_of_teck"
],
[
"francis_duke_of_teck",
"children",
"prince_francis_of_teck"
],
[
"francis_duke_of_teck",
"parents",
"claudine_rhedey_von_kis_rhede"
],
[
"francis_duke_of_teck",
"spouse",
"princess_mary_adelaide_of_cambridge"
],
[
"mary_of_teck",
"parents",
"francis_duke_of_teck"
],
[
"mary_of_teck",
"parents",
"princess_mary_adelaide_of_cambridge"
],
[
"prince_francis_of_teck",
"parents",
"francis_duke_of_teck"
],
[
"prince_francis_of_teck",
"parents",
"princess_mary_adelaide_of_cambridge"
],
[
"princess_mary_adelaide_of_cambridge",
"children",
"adolphus_cambridge_1st_marquess_of_cambridge"
],
[
"princess_mary_adelaide_of_cambridge",
"children",
"alexander_cambridge_1st_earl_of_athlone"
],
[
"princess_mary_adelaide_of_cambridge",
"children",
"mary_of_teck"
],
[
"princess_mary_adelaide_of_cambridge",
"children",
"prince_francis_of_teck"
],
[
"princess_mary_adelaide_of_cambridge",
"spouse",
"francis_duke_of_teck"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
23004, caroline_blackwood
49850, ingrid_bergman
7895, london
61606, robert_lowell
src, edge_attr, dst
23004, location, 7895
23004, place_of_birth, 7895
23004, spouse, 61606
49850, place_of_death, 7895
61606, spouse, 23004
Question: How are ingrid_bergman, london, and robert_lowell related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"ingrid_bergman",
"london",
"robert_lowell"
],
"valid_edges": [
[
"caroline_blackwood",
"location",
"london"
],
[
"caroline_blackwood",
"place_of_birth",
"london"
],
[
"caroline_blackwood",
"spouse",
"robert_lowell"
],
[
"ingrid_bergman",
"place_of_death",
"london"
],
[
"robert_lowell",
"spouse",
"caroline_blackwood"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
41195, atia
13836, augustus
51176, early_life_of_augustus
src, edge_attr, dst
41195, children, 13836
41195, children, 51176
13836, parents, 41195
Question: For what reason are atia, augustus, and early_life_of_augustus associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"atia",
"augustus",
"early_life_of_augustus"
],
"valid_edges": [
[
"atia",
"children",
"augustus"
],
[
"atia",
"children",
"early_life_of_augustus"
],
[
"augustus",
"parents",
"atia"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
71913, frederick_augustus_iii_of_saxony
3301, friedrich_christian_margrave_of_meissen
13631, george_of_saxony
14659, germany
33194, mary_of_teck
43334, prince_ernst_heinrich_of_saxony
63865, princess_maria_josepha_of_saxony
70819, princess_mathilde_of_saxony
src, edge_attr, dst
71913, children, 3301
71913, children, 43334
71913, nationality, 14659
71913, parents, 13631
3301, nationality, 14659
3301, parents, 71913
13631, children, 71913
13631, children, 63865
13631, children, 70819
33194, nationality, 14659
43334, nationality, 14659
43334, parents, 71913
63865, nationality, 14659
63865, parents, 13631
70819, parents, 13631
Question: For what reason are germany, mary_of_teck, and princess_mathilde_of_saxony associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"germany",
"mary_of_teck",
"princess_mathilde_of_saxony"
],
"valid_edges": [
[
"frederick_augustus_iii_of_saxony",
"children",
"friedrich_christian_margrave_of_meissen"
],
[
"frederick_augustus_iii_of_saxony",
"children",
"prince_ernst_heinrich_of_saxony"
],
[
"frederick_augustus_iii_of_saxony",
"nationality",
"germany"
],
[
"frederick_augustus_iii_of_saxony",
"parents",
"george_of_saxony"
],
[
"friedrich_christian_margrave_of_meissen",
"nationality",
"germany"
],
[
"friedrich_christian_margrave_of_meissen",
"parents",
"frederick_augustus_iii_of_saxony"
],
[
"george_of_saxony",
"children",
"frederick_augustus_iii_of_saxony"
],
[
"george_of_saxony",
"children",
"princess_maria_josepha_of_saxony"
],
[
"george_of_saxony",
"children",
"princess_mathilde_of_saxony"
],
[
"mary_of_teck",
"nationality",
"germany"
],
[
"prince_ernst_heinrich_of_saxony",
"nationality",
"germany"
],
[
"prince_ernst_heinrich_of_saxony",
"parents",
"frederick_augustus_iii_of_saxony"
],
[
"princess_maria_josepha_of_saxony",
"nationality",
"germany"
],
[
"princess_maria_josepha_of_saxony",
"parents",
"george_of_saxony"
],
[
"princess_mathilde_of_saxony",
"parents",
"george_of_saxony"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
51291, charles_i_duke_of_burgundy
66978, infanta_isabel_duchess_of_burgundy
56395, infante_joao_of_portugal
14352, john_i_of_portugal
49227, mary_of_burgundy
67739, philip_iii_duke_of_burgundy
src, edge_attr, dst
51291, children, 49227
51291, parents, 66978
51291, parents, 67739
66978, children, 51291
66978, parents, 14352
66978, spouse, 67739
56395, parents, 14352
14352, children, 66978
14352, children, 56395
49227, parents, 51291
67739, children, 51291
67739, spouse, 66978
Question: How are infanta_isabel_duchess_of_burgundy, infante_joao_of_portugal, and mary_of_burgundy related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"infanta_isabel_duchess_of_burgundy",
"infante_joao_of_portugal",
"mary_of_burgundy"
],
"valid_edges": [
[
"charles_i_duke_of_burgundy",
"children",
"mary_of_burgundy"
],
[
"charles_i_duke_of_burgundy",
"parents",
"infanta_isabel_duchess_of_burgundy"
],
[
"charles_i_duke_of_burgundy",
"parents",
"philip_iii_duke_of_burgundy"
],
[
"infanta_isabel_duchess_of_burgundy",
"children",
"charles_i_duke_of_burgundy"
],
[
"infanta_isabel_duchess_of_burgundy",
"parents",
"john_i_of_portugal"
],
[
"infanta_isabel_duchess_of_burgundy",
"spouse",
"philip_iii_duke_of_burgundy"
],
[
"infante_joao_of_portugal",
"parents",
"john_i_of_portugal"
],
[
"john_i_of_portugal",
"children",
"infanta_isabel_duchess_of_burgundy"
],
[
"john_i_of_portugal",
"children",
"infante_joao_of_portugal"
],
[
"mary_of_burgundy",
"parents",
"charles_i_duke_of_burgundy"
],
[
"philip_iii_duke_of_burgundy",
"children",
"charles_i_duke_of_burgundy"
],
[
"philip_iii_duke_of_burgundy",
"spouse",
"infanta_isabel_duchess_of_burgundy"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
13495, archduke_anton_victor_of_austria
27874, augustus_ii_the_strong
6486, augustus_iii_of_poland
65888, benedict_joseph_fenwick
36307, blanche_of_castile
41821, catholicism
22450, charles_iii_of_spain
3856, charles_iv_of_spain
8049, charles_of_valois
35212, edmund_of_woodstock_1st_earl_of_kent
34413, edward_i_of_england
5576, edward_ii_of_england
12218, eleanor_of_castile
40225, elisabeth_of_parma
26335, elizabeth_of_rhuddlan
44276, ferdinand_i_of_the_two_sicilies
67612, ferdinand_ii_of_the_two_sicilies
36826, ferdinand_iii_grand_duke_of_tuscany
15250, ferdinand_vi_of_spain
65403, ferdinand_vii_of_spain
37766, francis_i_of_the_two_sicilies
59103, francis_ii_holy_roman_emperor
23704, joan_of_acre
43381, leopold_sedar_senghor
67259, louis_devreux
35735, louis_ix_of_france
70619, louis_viii_of_france
49513, margaret_plantagenet
58836, marguerite_of_france
17318, marguerite_of_provence
19480, maria_amalia_of_saxony
629, maria_isabella_of_spain
43177, maria_louisa_of_spain
28513, maria_luisa_of_parma
5128, maria_of_brabant
40035, philip_iii_of_france
7936, philip_v_of_spain
38560, philip_vi_of_france
50110, poissy
65887, pope_adrian_i
3121, portici
17953, reformed_baptist
22853, rudolf_cardinal_von_habsburg_lothringen
57940, ursula_julia_ledochowska
src, edge_attr, dst
13495, parents, 43177
27874, children, 6486
27874, religion, 41821
6486, children, 19480
6486, parents, 27874
6486, religion, 41821
65888, religion, 41821
65888, religion, 17953
36307, children, 35735
36307, spouse, 70619
22450, children, 3856
22450, children, 44276
22450, children, 43177
22450, parents, 40225
22450, parents, 7936
22450, religion, 41821
22450, religion, 17953
22450, spouse, 19480
3856, children, 65403
3856, children, 629
3856, parents, 22450
3856, parents, 19480
3856, place_of_birth, 3121
3856, religion, 41821
3856, spouse, 28513
8049, parents, 40035
34413, children, 35212
34413, children, 5576
34413, children, 26335
34413, children, 23704
34413, children, 49513
34413, spouse, 12218
34413, spouse, 58836
5576, parents, 34413
5576, parents, 12218
5576, religion, 41821
12218, children, 5576
12218, children, 26335
12218, children, 23704
12218, children, 49513
12218, parents, 58836
12218, spouse, 34413
40225, children, 22450
40225, spouse, 7936
26335, parents, 34413
26335, parents, 12218
44276, children, 37766
44276, parents, 22450
44276, parents, 19480
44276, religion, 41821
67612, parents, 37766
67612, parents, 629
67612, religion, 41821
36826, parents, 43177
36826, religion, 41821
15250, parents, 7936
15250, religion, 41821
65403, parents, 3856
65403, parents, 28513
65403, religion, 41821
37766, children, 67612
37766, parents, 44276
37766, religion, 41821
59103, parents, 43177
59103, religion, 41821
23704, parents, 34413
23704, parents, 12218
43381, religion, 41821
43381, religion, 17953
67259, parents, 5128
67259, parents, 40035
35735, children, 40035
35735, parents, 36307
35735, parents, 70619
35735, place_of_birth, 50110
35735, religion, 41821
35735, spouse, 17318
70619, children, 35735
70619, religion, 41821
70619, spouse, 36307
49513, parents, 34413
49513, parents, 12218
58836, children, 35212
58836, children, 12218
58836, parents, 5128
58836, parents, 40035
58836, spouse, 34413
17318, children, 40035
17318, spouse, 35735
19480, children, 3856
19480, children, 44276
19480, children, 43177
19480, parents, 6486
19480, spouse, 22450
629, children, 67612
629, parents, 3856
43177, children, 13495
43177, children, 36826
43177, children, 59103
43177, children, 22853
43177, parents, 22450
43177, parents, 19480
43177, place_of_birth, 3121
28513, children, 65403
28513, spouse, 3856
5128, children, 67259
5128, children, 58836
5128, spouse, 40035
40035, children, 8049
40035, children, 67259
40035, children, 58836
40035, parents, 35735
40035, parents, 17318
40035, place_of_birth, 50110
40035, religion, 41821
40035, spouse, 5128
7936, children, 22450
7936, religion, 41821
7936, spouse, 40225
38560, parents, 8049
38560, religion, 41821
65887, religion, 41821
65887, religion, 17953
22853, parents, 43177
22853, religion, 41821
57940, religion, 41821
57940, religion, 17953
Question: How are archduke_anton_victor_of_austria, catholicism, and marguerite_of_france related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"archduke_anton_victor_of_austria",
"catholicism",
"marguerite_of_france"
],
"valid_edges": [
[
"archduke_anton_victor_of_austria",
"parents",
"maria_louisa_of_spain"
],
[
"augustus_ii_the_strong",
"children",
"augustus_iii_of_poland"
],
[
"augustus_ii_the_strong",
"religion",
"catholicism"
],
[
"augustus_iii_of_poland",
"children",
"maria_amalia_of_saxony"
],
[
"augustus_iii_of_poland",
"parents",
"augustus_ii_the_strong"
],
[
"augustus_iii_of_poland",
"religion",
"catholicism"
],
[
"benedict_joseph_fenwick",
"religion",
"catholicism"
],
[
"benedict_joseph_fenwick",
"religion",
"reformed_baptist"
],
[
"blanche_of_castile",
"children",
"louis_ix_of_france"
],
[
"blanche_of_castile",
"spouse",
"louis_viii_of_france"
],
[
"charles_iii_of_spain",
"children",
"charles_iv_of_spain"
],
[
"charles_iii_of_spain",
"children",
"ferdinand_i_of_the_two_sicilies"
],
[
"charles_iii_of_spain",
"children",
"maria_louisa_of_spain"
],
[
"charles_iii_of_spain",
"parents",
"elisabeth_of_parma"
],
[
"charles_iii_of_spain",
"parents",
"philip_v_of_spain"
],
[
"charles_iii_of_spain",
"religion",
"catholicism"
],
[
"charles_iii_of_spain",
"religion",
"reformed_baptist"
],
[
"charles_iii_of_spain",
"spouse",
"maria_amalia_of_saxony"
],
[
"charles_iv_of_spain",
"children",
"ferdinand_vii_of_spain"
],
[
"charles_iv_of_spain",
"children",
"maria_isabella_of_spain"
],
[
"charles_iv_of_spain",
"parents",
"charles_iii_of_spain"
],
[
"charles_iv_of_spain",
"parents",
"maria_amalia_of_saxony"
],
[
"charles_iv_of_spain",
"place_of_birth",
"portici"
],
[
"charles_iv_of_spain",
"religion",
"catholicism"
],
[
"charles_iv_of_spain",
"spouse",
"maria_luisa_of_parma"
],
[
"charles_of_valois",
"parents",
"philip_iii_of_france"
],
[
"edward_i_of_england",
"children",
"edmund_of_woodstock_1st_earl_of_kent"
],
[
"edward_i_of_england",
"children",
"edward_ii_of_england"
],
[
"edward_i_of_england",
"children",
"elizabeth_of_rhuddlan"
],
[
"edward_i_of_england",
"children",
"joan_of_acre"
],
[
"edward_i_of_england",
"children",
"margaret_plantagenet"
],
[
"edward_i_of_england",
"spouse",
"eleanor_of_castile"
],
[
"edward_i_of_england",
"spouse",
"marguerite_of_france"
],
[
"edward_ii_of_england",
"parents",
"edward_i_of_england"
],
[
"edward_ii_of_england",
"parents",
"eleanor_of_castile"
],
[
"edward_ii_of_england",
"religion",
"catholicism"
],
[
"eleanor_of_castile",
"children",
"edward_ii_of_england"
],
[
"eleanor_of_castile",
"children",
"elizabeth_of_rhuddlan"
],
[
"eleanor_of_castile",
"children",
"joan_of_acre"
],
[
"eleanor_of_castile",
"children",
"margaret_plantagenet"
],
[
"eleanor_of_castile",
"parents",
"marguerite_of_france"
],
[
"eleanor_of_castile",
"spouse",
"edward_i_of_england"
],
[
"elisabeth_of_parma",
"children",
"charles_iii_of_spain"
],
[
"elisabeth_of_parma",
"spouse",
"philip_v_of_spain"
],
[
"elizabeth_of_rhuddlan",
"parents",
"edward_i_of_england"
],
[
"elizabeth_of_rhuddlan",
"parents",
"eleanor_of_castile"
],
[
"ferdinand_i_of_the_two_sicilies",
"children",
"francis_i_of_the_two_sicilies"
],
[
"ferdinand_i_of_the_two_sicilies",
"parents",
"charles_iii_of_spain"
],
[
"ferdinand_i_of_the_two_sicilies",
"parents",
"maria_amalia_of_saxony"
],
[
"ferdinand_i_of_the_two_sicilies",
"religion",
"catholicism"
],
[
"ferdinand_ii_of_the_two_sicilies",
"parents",
"francis_i_of_the_two_sicilies"
],
[
"ferdinand_ii_of_the_two_sicilies",
"parents",
"maria_isabella_of_spain"
],
[
"ferdinand_ii_of_the_two_sicilies",
"religion",
"catholicism"
],
[
"ferdinand_iii_grand_duke_of_tuscany",
"parents",
"maria_louisa_of_spain"
],
[
"ferdinand_iii_grand_duke_of_tuscany",
"religion",
"catholicism"
],
[
"ferdinand_vi_of_spain",
"parents",
"philip_v_of_spain"
],
[
"ferdinand_vi_of_spain",
"religion",
"catholicism"
],
[
"ferdinand_vii_of_spain",
"parents",
"charles_iv_of_spain"
],
[
"ferdinand_vii_of_spain",
"parents",
"maria_luisa_of_parma"
],
[
"ferdinand_vii_of_spain",
"religion",
"catholicism"
],
[
"francis_i_of_the_two_sicilies",
"children",
"ferdinand_ii_of_the_two_sicilies"
],
[
"francis_i_of_the_two_sicilies",
"parents",
"ferdinand_i_of_the_two_sicilies"
],
[
"francis_i_of_the_two_sicilies",
"religion",
"catholicism"
],
[
"francis_ii_holy_roman_emperor",
"parents",
"maria_louisa_of_spain"
],
[
"francis_ii_holy_roman_emperor",
"religion",
"catholicism"
],
[
"joan_of_acre",
"parents",
"edward_i_of_england"
],
[
"joan_of_acre",
"parents",
"eleanor_of_castile"
],
[
"leopold_sedar_senghor",
"religion",
"catholicism"
],
[
"leopold_sedar_senghor",
"religion",
"reformed_baptist"
],
[
"louis_devreux",
"parents",
"maria_of_brabant"
],
[
"louis_devreux",
"parents",
"philip_iii_of_france"
],
[
"louis_ix_of_france",
"children",
"philip_iii_of_france"
],
[
"louis_ix_of_france",
"parents",
"blanche_of_castile"
],
[
"louis_ix_of_france",
"parents",
"louis_viii_of_france"
],
[
"louis_ix_of_france",
"place_of_birth",
"poissy"
],
[
"louis_ix_of_france",
"religion",
"catholicism"
],
[
"louis_ix_of_france",
"spouse",
"marguerite_of_provence"
],
[
"louis_viii_of_france",
"children",
"louis_ix_of_france"
],
[
"louis_viii_of_france",
"religion",
"catholicism"
],
[
"louis_viii_of_france",
"spouse",
"blanche_of_castile"
],
[
"margaret_plantagenet",
"parents",
"edward_i_of_england"
],
[
"margaret_plantagenet",
"parents",
"eleanor_of_castile"
],
[
"marguerite_of_france",
"children",
"edmund_of_woodstock_1st_earl_of_kent"
],
[
"marguerite_of_france",
"children",
"eleanor_of_castile"
],
[
"marguerite_of_france",
"parents",
"maria_of_brabant"
],
[
"marguerite_of_france",
"parents",
"philip_iii_of_france"
],
[
"marguerite_of_france",
"spouse",
"edward_i_of_england"
],
[
"marguerite_of_provence",
"children",
"philip_iii_of_france"
],
[
"marguerite_of_provence",
"spouse",
"louis_ix_of_france"
],
[
"maria_amalia_of_saxony",
"children",
"charles_iv_of_spain"
],
[
"maria_amalia_of_saxony",
"children",
"ferdinand_i_of_the_two_sicilies"
],
[
"maria_amalia_of_saxony",
"children",
"maria_louisa_of_spain"
],
[
"maria_amalia_of_saxony",
"parents",
"augustus_iii_of_poland"
],
[
"maria_amalia_of_saxony",
"spouse",
"charles_iii_of_spain"
],
[
"maria_isabella_of_spain",
"children",
"ferdinand_ii_of_the_two_sicilies"
],
[
"maria_isabella_of_spain",
"parents",
"charles_iv_of_spain"
],
[
"maria_louisa_of_spain",
"children",
"archduke_anton_victor_of_austria"
],
[
"maria_louisa_of_spain",
"children",
"ferdinand_iii_grand_duke_of_tuscany"
],
[
"maria_louisa_of_spain",
"children",
"francis_ii_holy_roman_emperor"
],
[
"maria_louisa_of_spain",
"children",
"rudolf_cardinal_von_habsburg_lothringen"
],
[
"maria_louisa_of_spain",
"parents",
"charles_iii_of_spain"
],
[
"maria_louisa_of_spain",
"parents",
"maria_amalia_of_saxony"
],
[
"maria_louisa_of_spain",
"place_of_birth",
"portici"
],
[
"maria_luisa_of_parma",
"children",
"ferdinand_vii_of_spain"
],
[
"maria_luisa_of_parma",
"spouse",
"charles_iv_of_spain"
],
[
"maria_of_brabant",
"children",
"louis_devreux"
],
[
"maria_of_brabant",
"children",
"marguerite_of_france"
],
[
"maria_of_brabant",
"spouse",
"philip_iii_of_france"
],
[
"philip_iii_of_france",
"children",
"charles_of_valois"
],
[
"philip_iii_of_france",
"children",
"louis_devreux"
],
[
"philip_iii_of_france",
"children",
"marguerite_of_france"
],
[
"philip_iii_of_france",
"parents",
"louis_ix_of_france"
],
[
"philip_iii_of_france",
"parents",
"marguerite_of_provence"
],
[
"philip_iii_of_france",
"place_of_birth",
"poissy"
],
[
"philip_iii_of_france",
"religion",
"catholicism"
],
[
"philip_iii_of_france",
"spouse",
"maria_of_brabant"
],
[
"philip_v_of_spain",
"children",
"charles_iii_of_spain"
],
[
"philip_v_of_spain",
"religion",
"catholicism"
],
[
"philip_v_of_spain",
"spouse",
"elisabeth_of_parma"
],
[
"philip_vi_of_france",
"parents",
"charles_of_valois"
],
[
"philip_vi_of_france",
"religion",
"catholicism"
],
[
"pope_adrian_i",
"religion",
"catholicism"
],
[
"pope_adrian_i",
"religion",
"reformed_baptist"
],
[
"rudolf_cardinal_von_habsburg_lothringen",
"parents",
"maria_louisa_of_spain"
],
[
"rudolf_cardinal_von_habsburg_lothringen",
"religion",
"catholicism"
],
[
"ursula_julia_ledochowska",
"religion",
"catholicism"
],
[
"ursula_julia_ledochowska",
"religion",
"reformed_baptist"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
38167, grand_palace_bangkok
62167, paripatra
12486, piam
12130, saovabha
53018, sukumalmarsri
src, edge_attr, dst
62167, parents, 53018
12486, children, 12130
12130, parents, 12486
12130, place_of_birth, 38167
12130, place_of_death, 38167
53018, children, 62167
53018, place_of_birth, 38167
Question: In what context are paripatra, piam, and saovabha connected?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"paripatra",
"piam",
"saovabha"
],
"valid_edges": [
[
"paripatra",
"parents",
"sukumalmarsri"
],
[
"piam",
"children",
"saovabha"
],
[
"saovabha",
"parents",
"piam"
],
[
"saovabha",
"place_of_birth",
"grand_palace_bangkok"
],
[
"saovabha",
"place_of_death",
"grand_palace_bangkok"
],
[
"sukumalmarsri",
"children",
"paripatra"
],
[
"sukumalmarsri",
"place_of_birth",
"grand_palace_bangkok"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
11020, prince_henry_duke_of_gloucester
6846, sybil_thomas_viscountess_rhondda
18083, united_kingdom
src, edge_attr, dst
11020, nationality, 18083
6846, nationality, 18083
Question: How are prince_henry_duke_of_gloucester, sybil_thomas_viscountess_rhondda, and united_kingdom related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"prince_henry_duke_of_gloucester",
"sybil_thomas_viscountess_rhondda",
"united_kingdom"
],
"valid_edges": [
[
"prince_henry_duke_of_gloucester",
"nationality",
"united_kingdom"
],
[
"sybil_thomas_viscountess_rhondda",
"nationality",
"united_kingdom"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
53448, alexandra_pavlovna_of_russia
51398, catherine_pavlovna_of_russia
64397, maria_fyodorovna_of_russia
49957, marie_amalie_of_austria
2647, vienna
src, edge_attr, dst
53448, parents, 64397
53448, place_of_death, 2647
51398, parents, 64397
64397, children, 53448
64397, children, 51398
49957, place_of_birth, 2647
Question: How are catherine_pavlovna_of_russia, marie_amalie_of_austria, and vienna related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"catherine_pavlovna_of_russia",
"marie_amalie_of_austria",
"vienna"
],
"valid_edges": [
[
"alexandra_pavlovna_of_russia",
"parents",
"maria_fyodorovna_of_russia"
],
[
"alexandra_pavlovna_of_russia",
"place_of_death",
"vienna"
],
[
"catherine_pavlovna_of_russia",
"parents",
"maria_fyodorovna_of_russia"
],
[
"maria_fyodorovna_of_russia",
"children",
"alexandra_pavlovna_of_russia"
],
[
"maria_fyodorovna_of_russia",
"children",
"catherine_pavlovna_of_russia"
],
[
"marie_amalie_of_austria",
"place_of_birth",
"vienna"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
41821, catholicism
58647, napoleon_ii_of_france
32398, robert_archduke_of_austria_este
13402, rose_fitzgerald_kennedy
74, schonbrunn_palace
27093, zita_of_bourbon-parma
src, edge_attr, dst
58647, place_of_death, 74
32398, parents, 27093
32398, place_of_birth, 74
13402, religion, 41821
27093, children, 32398
27093, religion, 41821
Question: In what context are catholicism, napoleon_ii_of_france, and rose_fitzgerald_kennedy connected?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"catholicism",
"napoleon_ii_of_france",
"rose_fitzgerald_kennedy"
],
"valid_edges": [
[
"napoleon_ii_of_france",
"place_of_death",
"schonbrunn_palace"
],
[
"robert_archduke_of_austria_este",
"parents",
"zita_of_bourbon-parma"
],
[
"robert_archduke_of_austria_este",
"place_of_birth",
"schonbrunn_palace"
],
[
"rose_fitzgerald_kennedy",
"religion",
"catholicism"
],
[
"zita_of_bourbon-parma",
"children",
"robert_archduke_of_austria_este"
],
[
"zita_of_bourbon-parma",
"religion",
"catholicism"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
70123, alexander_iii_of_russia
70462, alexandra_of_denmark
5876, charlemagne
55278, christian_ix_of_denmark
32728, emperor
14300, ermengarde_of_hesbaye
64115, ermengarde_of_tours
19390, frederick_viii_of_denmark
58021, grand_duchess_olga_alexandrovna_of_russia
51774, grand_duchess_xenia_alexandrovna_of_russia
50980, grand_duke_alexander_alexandrovich_of_russia
32860, grand_duke_george_alexandrovich_of_russia
29455, grand_duke_michael_alexandrovich_of_russia
3757, hildegard_of_savoy
68374, lothair_i
44217, louis_ii_holy_roman_emperor
18371, louis_the_german
26300, louis_the_pious
22712, louise_of_hesse-kassel
67408, maria_fyodorovna
12167, pippin_of_italy
60546, prince_valdemar_of_denmark
60599, princess_thyra_of_denmark
src, edge_attr, dst
70123, children, 58021
70123, children, 51774
70123, children, 50980
70123, children, 32860
70123, children, 29455
70123, profession, 32728
70123, spouse, 67408
70462, parents, 55278
70462, parents, 22712
5876, children, 26300
5876, children, 12167
5876, profession, 32728
5876, spouse, 3757
55278, children, 70462
55278, children, 19390
55278, children, 67408
55278, children, 60546
55278, children, 60599
55278, spouse, 22712
19390, parents, 55278
19390, parents, 22712
58021, parents, 70123
58021, parents, 67408
51774, parents, 70123
51774, parents, 67408
50980, parents, 70123
50980, parents, 67408
32860, parents, 70123
32860, parents, 67408
29455, parents, 70123
29455, parents, 67408
3757, children, 26300
3757, children, 12167
3757, spouse, 5876
68374, children, 44217
68374, parents, 14300
68374, parents, 26300
68374, profession, 32728
68374, spouse, 64115
44217, parents, 64115
44217, parents, 68374
44217, profession, 32728
18371, parents, 14300
18371, parents, 26300
26300, children, 68374
26300, children, 18371
26300, parents, 5876
26300, parents, 3757
26300, spouse, 14300
22712, children, 70462
22712, children, 19390
22712, children, 67408
22712, children, 60546
22712, children, 60599
22712, spouse, 55278
67408, children, 58021
67408, children, 51774
67408, children, 50980
67408, children, 32860
67408, children, 29455
67408, parents, 55278
67408, parents, 22712
67408, spouse, 70123
60546, parents, 55278
60546, parents, 22712
60599, parents, 55278
60599, parents, 22712
Question: For what reason are emperor, louis_the_pious, and louise_of_hesse-kassel associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"emperor",
"louis_the_pious",
"louise_of_hesse-kassel"
],
"valid_edges": [
[
"alexander_iii_of_russia",
"children",
"grand_duchess_olga_alexandrovna_of_russia"
],
[
"alexander_iii_of_russia",
"children",
"grand_duchess_xenia_alexandrovna_of_russia"
],
[
"alexander_iii_of_russia",
"children",
"grand_duke_alexander_alexandrovich_of_russia"
],
[
"alexander_iii_of_russia",
"children",
"grand_duke_george_alexandrovich_of_russia"
],
[
"alexander_iii_of_russia",
"children",
"grand_duke_michael_alexandrovich_of_russia"
],
[
"alexander_iii_of_russia",
"profession",
"emperor"
],
[
"alexander_iii_of_russia",
"spouse",
"maria_fyodorovna"
],
[
"alexandra_of_denmark",
"parents",
"christian_ix_of_denmark"
],
[
"alexandra_of_denmark",
"parents",
"louise_of_hesse-kassel"
],
[
"charlemagne",
"children",
"louis_the_pious"
],
[
"charlemagne",
"children",
"pippin_of_italy"
],
[
"charlemagne",
"profession",
"emperor"
],
[
"charlemagne",
"spouse",
"hildegard_of_savoy"
],
[
"christian_ix_of_denmark",
"children",
"alexandra_of_denmark"
],
[
"christian_ix_of_denmark",
"children",
"frederick_viii_of_denmark"
],
[
"christian_ix_of_denmark",
"children",
"maria_fyodorovna"
],
[
"christian_ix_of_denmark",
"children",
"prince_valdemar_of_denmark"
],
[
"christian_ix_of_denmark",
"children",
"princess_thyra_of_denmark"
],
[
"christian_ix_of_denmark",
"spouse",
"louise_of_hesse-kassel"
],
[
"frederick_viii_of_denmark",
"parents",
"christian_ix_of_denmark"
],
[
"frederick_viii_of_denmark",
"parents",
"louise_of_hesse-kassel"
],
[
"grand_duchess_olga_alexandrovna_of_russia",
"parents",
"alexander_iii_of_russia"
],
[
"grand_duchess_olga_alexandrovna_of_russia",
"parents",
"maria_fyodorovna"
],
[
"grand_duchess_xenia_alexandrovna_of_russia",
"parents",
"alexander_iii_of_russia"
],
[
"grand_duchess_xenia_alexandrovna_of_russia",
"parents",
"maria_fyodorovna"
],
[
"grand_duke_alexander_alexandrovich_of_russia",
"parents",
"alexander_iii_of_russia"
],
[
"grand_duke_alexander_alexandrovich_of_russia",
"parents",
"maria_fyodorovna"
],
[
"grand_duke_george_alexandrovich_of_russia",
"parents",
"alexander_iii_of_russia"
],
[
"grand_duke_george_alexandrovich_of_russia",
"parents",
"maria_fyodorovna"
],
[
"grand_duke_michael_alexandrovich_of_russia",
"parents",
"alexander_iii_of_russia"
],
[
"grand_duke_michael_alexandrovich_of_russia",
"parents",
"maria_fyodorovna"
],
[
"hildegard_of_savoy",
"children",
"louis_the_pious"
],
[
"hildegard_of_savoy",
"children",
"pippin_of_italy"
],
[
"hildegard_of_savoy",
"spouse",
"charlemagne"
],
[
"lothair_i",
"children",
"louis_ii_holy_roman_emperor"
],
[
"lothair_i",
"parents",
"ermengarde_of_hesbaye"
],
[
"lothair_i",
"parents",
"louis_the_pious"
],
[
"lothair_i",
"profession",
"emperor"
],
[
"lothair_i",
"spouse",
"ermengarde_of_tours"
],
[
"louis_ii_holy_roman_emperor",
"parents",
"ermengarde_of_tours"
],
[
"louis_ii_holy_roman_emperor",
"parents",
"lothair_i"
],
[
"louis_ii_holy_roman_emperor",
"profession",
"emperor"
],
[
"louis_the_german",
"parents",
"ermengarde_of_hesbaye"
],
[
"louis_the_german",
"parents",
"louis_the_pious"
],
[
"louis_the_pious",
"children",
"lothair_i"
],
[
"louis_the_pious",
"children",
"louis_the_german"
],
[
"louis_the_pious",
"parents",
"charlemagne"
],
[
"louis_the_pious",
"parents",
"hildegard_of_savoy"
],
[
"louis_the_pious",
"spouse",
"ermengarde_of_hesbaye"
],
[
"louise_of_hesse-kassel",
"children",
"alexandra_of_denmark"
],
[
"louise_of_hesse-kassel",
"children",
"frederick_viii_of_denmark"
],
[
"louise_of_hesse-kassel",
"children",
"maria_fyodorovna"
],
[
"louise_of_hesse-kassel",
"children",
"prince_valdemar_of_denmark"
],
[
"louise_of_hesse-kassel",
"children",
"princess_thyra_of_denmark"
],
[
"louise_of_hesse-kassel",
"spouse",
"christian_ix_of_denmark"
],
[
"maria_fyodorovna",
"children",
"grand_duchess_olga_alexandrovna_of_russia"
],
[
"maria_fyodorovna",
"children",
"grand_duchess_xenia_alexandrovna_of_russia"
],
[
"maria_fyodorovna",
"children",
"grand_duke_alexander_alexandrovich_of_russia"
],
[
"maria_fyodorovna",
"children",
"grand_duke_george_alexandrovich_of_russia"
],
[
"maria_fyodorovna",
"children",
"grand_duke_michael_alexandrovich_of_russia"
],
[
"maria_fyodorovna",
"parents",
"christian_ix_of_denmark"
],
[
"maria_fyodorovna",
"parents",
"louise_of_hesse-kassel"
],
[
"maria_fyodorovna",
"spouse",
"alexander_iii_of_russia"
],
[
"prince_valdemar_of_denmark",
"parents",
"christian_ix_of_denmark"
],
[
"prince_valdemar_of_denmark",
"parents",
"louise_of_hesse-kassel"
],
[
"princess_thyra_of_denmark",
"parents",
"christian_ix_of_denmark"
],
[
"princess_thyra_of_denmark",
"parents",
"louise_of_hesse-kassel"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
61525, katherine_corri_harris
30144, ronald_reagan
7647, united_states
src, edge_attr, dst
61525, nationality, 7647
30144, nationality, 7647
Question: How are katherine_corri_harris, ronald_reagan, and united_states related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"katherine_corri_harris",
"ronald_reagan",
"united_states"
],
"valid_edges": [
[
"katherine_corri_harris",
"nationality",
"united_states"
],
[
"ronald_reagan",
"nationality",
"united_states"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
12470, bernard_williams
8443, oral_cancer
62375, prince_sigismund_of_prussia
64443, sophia_of_prussia
18083, united_kingdom
2624, victoria_princess_royal
src, edge_attr, dst
12470, cause_of_death, 8443
12470, nationality, 18083
62375, cause_of_death, 8443
62375, parents, 2624
64443, parents, 2624
2624, children, 62375
2624, children, 64443
Question: For what reason are sophia_of_prussia, united_kingdom, and victoria_princess_royal associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"sophia_of_prussia",
"united_kingdom",
"victoria_princess_royal"
],
"valid_edges": [
[
"bernard_williams",
"cause_of_death",
"oral_cancer"
],
[
"bernard_williams",
"nationality",
"united_kingdom"
],
[
"prince_sigismund_of_prussia",
"cause_of_death",
"oral_cancer"
],
[
"prince_sigismund_of_prussia",
"parents",
"victoria_princess_royal"
],
[
"sophia_of_prussia",
"parents",
"victoria_princess_royal"
],
[
"victoria_princess_royal",
"children",
"prince_sigismund_of_prussia"
],
[
"victoria_princess_royal",
"children",
"sophia_of_prussia"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
20624, francis_duke_of_teck
26374, maria_jane_dyer
18083, united_kingdom
src, edge_attr, dst
20624, nationality, 18083
26374, nationality, 18083
Question: For what reason are francis_duke_of_teck, maria_jane_dyer, and united_kingdom associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"francis_duke_of_teck",
"maria_jane_dyer",
"united_kingdom"
],
"valid_edges": [
[
"francis_duke_of_teck",
"nationality",
"united_kingdom"
],
[
"maria_jane_dyer",
"nationality",
"united_kingdom"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
13495, archduke_anton_victor_of_austria
31157, archduke_franz_karl_of_austria
6486, augustus_iii_of_poland
65888, benedict_joseph_fenwick
34676, caroline_augusta_of_bavaria
41821, catholicism
22450, charles_iii_of_spain
3856, charles_iv_of_spain
54294, charles_viii_of_france
40225, elisabeth_of_parma
70084, ferdinand_i_of_austria
44276, ferdinand_i_of_the_two_sicilies
36826, ferdinand_iii_grand_duke_of_tuscany
15250, ferdinand_vi_of_spain
65403, ferdinand_vii_of_spain
37766, francis_i_of_the_two_sicilies
59103, francis_ii_holy_roman_emperor
57486, franz_joseph_i_of_austria
43381, leopold_sedar_senghor
19480, maria_amalia_of_saxony
56537, maria_ii_of_portugal
11934, maria_leopoldina_of_austria
43177, maria_louisa_of_spain
2461, maria_teresa_of_the_two_sicilies
61087, marie_caroline_of_austria
71579, marie_louise_duchess_of_parma
59091, maximilian_i_of_bavaria
46788, napoleon_i_of_france
57657, peter_i_of_brazil
7936, philip_v_of_spain
65887, pope_adrian_i
3121, portici
17953, reformed_baptist
22853, rudolf_cardinal_von_habsburg_lothringen
57940, ursula_julia_ledochowska
src, edge_attr, dst
13495, parents, 43177
31157, children, 57486
31157, parents, 59103
6486, children, 19480
6486, religion, 41821
65888, religion, 41821
65888, religion, 17953
34676, parents, 59091
34676, spouse, 59103
22450, children, 3856
22450, children, 44276
22450, children, 43177
22450, parents, 40225
22450, parents, 7936
22450, religion, 41821
22450, religion, 17953
22450, spouse, 19480
3856, children, 65403
3856, parents, 22450
3856, parents, 19480
3856, place_of_birth, 3121
3856, religion, 41821
54294, religion, 41821
40225, children, 22450
40225, spouse, 7936
70084, parents, 59103
70084, parents, 2461
70084, religion, 41821
44276, children, 37766
44276, children, 2461
44276, parents, 22450
44276, parents, 19480
44276, religion, 41821
44276, spouse, 61087
36826, parents, 43177
36826, religion, 41821
15250, parents, 7936
15250, religion, 41821
65403, parents, 3856
65403, religion, 41821
37766, parents, 44276
37766, parents, 61087
37766, religion, 41821
59103, children, 31157
59103, children, 70084
59103, children, 11934
59103, children, 71579
59103, parents, 43177
59103, religion, 41821
59103, spouse, 34676
59103, spouse, 2461
57486, parents, 31157
57486, religion, 41821
43381, religion, 41821
43381, religion, 17953
19480, children, 3856
19480, children, 44276
19480, children, 43177
19480, parents, 6486
19480, spouse, 22450
56537, parents, 11934
56537, parents, 57657
56537, religion, 41821
11934, children, 56537
11934, parents, 59103
11934, spouse, 57657
43177, children, 13495
43177, children, 36826
43177, children, 59103
43177, children, 22853
43177, parents, 22450
43177, parents, 19480
43177, place_of_birth, 3121
2461, children, 70084
2461, children, 71579
2461, parents, 44276
2461, spouse, 59103
61087, children, 37766
61087, spouse, 44276
71579, parents, 59103
71579, parents, 2461
71579, religion, 41821
71579, spouse, 46788
59091, children, 34676
59091, religion, 41821
46788, religion, 41821
46788, spouse, 71579
57657, children, 56537
57657, religion, 41821
57657, spouse, 11934
7936, children, 22450
7936, religion, 41821
7936, spouse, 40225
65887, religion, 41821
65887, religion, 17953
22853, parents, 43177
22853, religion, 41821
57940, religion, 41821
57940, religion, 17953
Question: For what reason are archduke_anton_victor_of_austria, catholicism, and charles_viii_of_france associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"archduke_anton_victor_of_austria",
"catholicism",
"charles_viii_of_france"
],
"valid_edges": [
[
"archduke_anton_victor_of_austria",
"parents",
"maria_louisa_of_spain"
],
[
"archduke_franz_karl_of_austria",
"children",
"franz_joseph_i_of_austria"
],
[
"archduke_franz_karl_of_austria",
"parents",
"francis_ii_holy_roman_emperor"
],
[
"augustus_iii_of_poland",
"children",
"maria_amalia_of_saxony"
],
[
"augustus_iii_of_poland",
"religion",
"catholicism"
],
[
"benedict_joseph_fenwick",
"religion",
"catholicism"
],
[
"benedict_joseph_fenwick",
"religion",
"reformed_baptist"
],
[
"caroline_augusta_of_bavaria",
"parents",
"maximilian_i_of_bavaria"
],
[
"caroline_augusta_of_bavaria",
"spouse",
"francis_ii_holy_roman_emperor"
],
[
"charles_iii_of_spain",
"children",
"charles_iv_of_spain"
],
[
"charles_iii_of_spain",
"children",
"ferdinand_i_of_the_two_sicilies"
],
[
"charles_iii_of_spain",
"children",
"maria_louisa_of_spain"
],
[
"charles_iii_of_spain",
"parents",
"elisabeth_of_parma"
],
[
"charles_iii_of_spain",
"parents",
"philip_v_of_spain"
],
[
"charles_iii_of_spain",
"religion",
"catholicism"
],
[
"charles_iii_of_spain",
"religion",
"reformed_baptist"
],
[
"charles_iii_of_spain",
"spouse",
"maria_amalia_of_saxony"
],
[
"charles_iv_of_spain",
"children",
"ferdinand_vii_of_spain"
],
[
"charles_iv_of_spain",
"parents",
"charles_iii_of_spain"
],
[
"charles_iv_of_spain",
"parents",
"maria_amalia_of_saxony"
],
[
"charles_iv_of_spain",
"place_of_birth",
"portici"
],
[
"charles_iv_of_spain",
"religion",
"catholicism"
],
[
"charles_viii_of_france",
"religion",
"catholicism"
],
[
"elisabeth_of_parma",
"children",
"charles_iii_of_spain"
],
[
"elisabeth_of_parma",
"spouse",
"philip_v_of_spain"
],
[
"ferdinand_i_of_austria",
"parents",
"francis_ii_holy_roman_emperor"
],
[
"ferdinand_i_of_austria",
"parents",
"maria_teresa_of_the_two_sicilies"
],
[
"ferdinand_i_of_austria",
"religion",
"catholicism"
],
[
"ferdinand_i_of_the_two_sicilies",
"children",
"francis_i_of_the_two_sicilies"
],
[
"ferdinand_i_of_the_two_sicilies",
"children",
"maria_teresa_of_the_two_sicilies"
],
[
"ferdinand_i_of_the_two_sicilies",
"parents",
"charles_iii_of_spain"
],
[
"ferdinand_i_of_the_two_sicilies",
"parents",
"maria_amalia_of_saxony"
],
[
"ferdinand_i_of_the_two_sicilies",
"religion",
"catholicism"
],
[
"ferdinand_i_of_the_two_sicilies",
"spouse",
"marie_caroline_of_austria"
],
[
"ferdinand_iii_grand_duke_of_tuscany",
"parents",
"maria_louisa_of_spain"
],
[
"ferdinand_iii_grand_duke_of_tuscany",
"religion",
"catholicism"
],
[
"ferdinand_vi_of_spain",
"parents",
"philip_v_of_spain"
],
[
"ferdinand_vi_of_spain",
"religion",
"catholicism"
],
[
"ferdinand_vii_of_spain",
"parents",
"charles_iv_of_spain"
],
[
"ferdinand_vii_of_spain",
"religion",
"catholicism"
],
[
"francis_i_of_the_two_sicilies",
"parents",
"ferdinand_i_of_the_two_sicilies"
],
[
"francis_i_of_the_two_sicilies",
"parents",
"marie_caroline_of_austria"
],
[
"francis_i_of_the_two_sicilies",
"religion",
"catholicism"
],
[
"francis_ii_holy_roman_emperor",
"children",
"archduke_franz_karl_of_austria"
],
[
"francis_ii_holy_roman_emperor",
"children",
"ferdinand_i_of_austria"
],
[
"francis_ii_holy_roman_emperor",
"children",
"maria_leopoldina_of_austria"
],
[
"francis_ii_holy_roman_emperor",
"children",
"marie_louise_duchess_of_parma"
],
[
"francis_ii_holy_roman_emperor",
"parents",
"maria_louisa_of_spain"
],
[
"francis_ii_holy_roman_emperor",
"religion",
"catholicism"
],
[
"francis_ii_holy_roman_emperor",
"spouse",
"caroline_augusta_of_bavaria"
],
[
"francis_ii_holy_roman_emperor",
"spouse",
"maria_teresa_of_the_two_sicilies"
],
[
"franz_joseph_i_of_austria",
"parents",
"archduke_franz_karl_of_austria"
],
[
"franz_joseph_i_of_austria",
"religion",
"catholicism"
],
[
"leopold_sedar_senghor",
"religion",
"catholicism"
],
[
"leopold_sedar_senghor",
"religion",
"reformed_baptist"
],
[
"maria_amalia_of_saxony",
"children",
"charles_iv_of_spain"
],
[
"maria_amalia_of_saxony",
"children",
"ferdinand_i_of_the_two_sicilies"
],
[
"maria_amalia_of_saxony",
"children",
"maria_louisa_of_spain"
],
[
"maria_amalia_of_saxony",
"parents",
"augustus_iii_of_poland"
],
[
"maria_amalia_of_saxony",
"spouse",
"charles_iii_of_spain"
],
[
"maria_ii_of_portugal",
"parents",
"maria_leopoldina_of_austria"
],
[
"maria_ii_of_portugal",
"parents",
"peter_i_of_brazil"
],
[
"maria_ii_of_portugal",
"religion",
"catholicism"
],
[
"maria_leopoldina_of_austria",
"children",
"maria_ii_of_portugal"
],
[
"maria_leopoldina_of_austria",
"parents",
"francis_ii_holy_roman_emperor"
],
[
"maria_leopoldina_of_austria",
"spouse",
"peter_i_of_brazil"
],
[
"maria_louisa_of_spain",
"children",
"archduke_anton_victor_of_austria"
],
[
"maria_louisa_of_spain",
"children",
"ferdinand_iii_grand_duke_of_tuscany"
],
[
"maria_louisa_of_spain",
"children",
"francis_ii_holy_roman_emperor"
],
[
"maria_louisa_of_spain",
"children",
"rudolf_cardinal_von_habsburg_lothringen"
],
[
"maria_louisa_of_spain",
"parents",
"charles_iii_of_spain"
],
[
"maria_louisa_of_spain",
"parents",
"maria_amalia_of_saxony"
],
[
"maria_louisa_of_spain",
"place_of_birth",
"portici"
],
[
"maria_teresa_of_the_two_sicilies",
"children",
"ferdinand_i_of_austria"
],
[
"maria_teresa_of_the_two_sicilies",
"children",
"marie_louise_duchess_of_parma"
],
[
"maria_teresa_of_the_two_sicilies",
"parents",
"ferdinand_i_of_the_two_sicilies"
],
[
"maria_teresa_of_the_two_sicilies",
"spouse",
"francis_ii_holy_roman_emperor"
],
[
"marie_caroline_of_austria",
"children",
"francis_i_of_the_two_sicilies"
],
[
"marie_caroline_of_austria",
"spouse",
"ferdinand_i_of_the_two_sicilies"
],
[
"marie_louise_duchess_of_parma",
"parents",
"francis_ii_holy_roman_emperor"
],
[
"marie_louise_duchess_of_parma",
"parents",
"maria_teresa_of_the_two_sicilies"
],
[
"marie_louise_duchess_of_parma",
"religion",
"catholicism"
],
[
"marie_louise_duchess_of_parma",
"spouse",
"napoleon_i_of_france"
],
[
"maximilian_i_of_bavaria",
"children",
"caroline_augusta_of_bavaria"
],
[
"maximilian_i_of_bavaria",
"religion",
"catholicism"
],
[
"napoleon_i_of_france",
"religion",
"catholicism"
],
[
"napoleon_i_of_france",
"spouse",
"marie_louise_duchess_of_parma"
],
[
"peter_i_of_brazil",
"children",
"maria_ii_of_portugal"
],
[
"peter_i_of_brazil",
"religion",
"catholicism"
],
[
"peter_i_of_brazil",
"spouse",
"maria_leopoldina_of_austria"
],
[
"philip_v_of_spain",
"children",
"charles_iii_of_spain"
],
[
"philip_v_of_spain",
"religion",
"catholicism"
],
[
"philip_v_of_spain",
"spouse",
"elisabeth_of_parma"
],
[
"pope_adrian_i",
"religion",
"catholicism"
],
[
"pope_adrian_i",
"religion",
"reformed_baptist"
],
[
"rudolf_cardinal_von_habsburg_lothringen",
"parents",
"maria_louisa_of_spain"
],
[
"rudolf_cardinal_von_habsburg_lothringen",
"religion",
"catholicism"
],
[
"ursula_julia_ledochowska",
"religion",
"catholicism"
],
[
"ursula_julia_ledochowska",
"religion",
"reformed_baptist"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
35919, albert_mosse
51106, berlin
72223, chris_gueffroy
48259, christian_louis_duke_of_brunswick_luneburg
44946, ernest_augustus_elector_of_brunswick_luneburg
66376, georg_von_kameke
71614, george_william_duke_of_brunswick_luneburg
14659, germany
27073, grodzisk_wielkopolski
5338, herzberg_am_harz
31525, john_frederick_duke_of_brunswick_luneburg
19633, karl_von_einem
4242, pasewalk
38338, rudolf_mosse
50030, sophia_of_hanover
41437, wilhelm_von_homburg
src, edge_attr, dst
35919, nationality, 14659
35919, place_of_birth, 27073
35919, place_of_death, 51106
72223, nationality, 14659
72223, place_of_birth, 4242
72223, place_of_death, 51106
48259, nationality, 14659
48259, place_of_birth, 5338
44946, place_of_birth, 5338
44946, spouse, 50030
66376, nationality, 14659
66376, place_of_birth, 4242
66376, place_of_death, 51106
71614, nationality, 14659
71614, place_of_birth, 5338
31525, nationality, 14659
31525, place_of_birth, 5338
19633, nationality, 14659
19633, place_of_birth, 5338
38338, nationality, 14659
38338, place_of_birth, 27073
50030, spouse, 44946
41437, location, 51106
41437, nationality, 14659
41437, place_of_birth, 51106
Question: How are berlin, germany, and sophia_of_hanover related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"berlin",
"germany",
"sophia_of_hanover"
],
"valid_edges": [
[
"albert_mosse",
"nationality",
"germany"
],
[
"albert_mosse",
"place_of_birth",
"grodzisk_wielkopolski"
],
[
"albert_mosse",
"place_of_death",
"berlin"
],
[
"chris_gueffroy",
"nationality",
"germany"
],
[
"chris_gueffroy",
"place_of_birth",
"pasewalk"
],
[
"chris_gueffroy",
"place_of_death",
"berlin"
],
[
"christian_louis_duke_of_brunswick_luneburg",
"nationality",
"germany"
],
[
"christian_louis_duke_of_brunswick_luneburg",
"place_of_birth",
"herzberg_am_harz"
],
[
"ernest_augustus_elector_of_brunswick_luneburg",
"place_of_birth",
"herzberg_am_harz"
],
[
"ernest_augustus_elector_of_brunswick_luneburg",
"spouse",
"sophia_of_hanover"
],
[
"georg_von_kameke",
"nationality",
"germany"
],
[
"georg_von_kameke",
"place_of_birth",
"pasewalk"
],
[
"georg_von_kameke",
"place_of_death",
"berlin"
],
[
"george_william_duke_of_brunswick_luneburg",
"nationality",
"germany"
],
[
"george_william_duke_of_brunswick_luneburg",
"place_of_birth",
"herzberg_am_harz"
],
[
"john_frederick_duke_of_brunswick_luneburg",
"nationality",
"germany"
],
[
"john_frederick_duke_of_brunswick_luneburg",
"place_of_birth",
"herzberg_am_harz"
],
[
"karl_von_einem",
"nationality",
"germany"
],
[
"karl_von_einem",
"place_of_birth",
"herzberg_am_harz"
],
[
"rudolf_mosse",
"nationality",
"germany"
],
[
"rudolf_mosse",
"place_of_birth",
"grodzisk_wielkopolski"
],
[
"sophia_of_hanover",
"spouse",
"ernest_augustus_elector_of_brunswick_luneburg"
],
[
"wilhelm_von_homburg",
"location",
"berlin"
],
[
"wilhelm_von_homburg",
"nationality",
"germany"
],
[
"wilhelm_von_homburg",
"place_of_birth",
"berlin"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
53963, athens
5494, elena_of_greece_and_denmark
64443, sophia_of_prussia
src, edge_attr, dst
5494, parents, 64443
5494, place_of_birth, 53963
64443, children, 5494
Question: How are athens, elena_of_greece_and_denmark, and sophia_of_prussia related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"athens",
"elena_of_greece_and_denmark",
"sophia_of_prussia"
],
"valid_edges": [
[
"elena_of_greece_and_denmark",
"parents",
"sophia_of_prussia"
],
[
"elena_of_greece_and_denmark",
"place_of_birth",
"athens"
],
[
"sophia_of_prussia",
"children",
"elena_of_greece_and_denmark"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
31740, anthony_clement_of_saxony
27874, augustus_ii_the_strong
6486, augustus_iii_of_poland
40769, christiane_eberhardine_of_brandenburg_bayreuth
71451, frederick_christian_elector_of_saxony
7444, marie_josephe_of_saxony
18088, versailles
src, edge_attr, dst
31740, parents, 71451
27874, children, 6486
27874, spouse, 40769
6486, children, 71451
6486, children, 7444
6486, parents, 27874
6486, parents, 40769
40769, children, 6486
40769, spouse, 27874
71451, children, 31740
71451, parents, 6486
7444, parents, 6486
7444, place_of_death, 18088
Question: For what reason are anthony_clement_of_saxony, christiane_eberhardine_of_brandenburg_bayreuth, and versailles associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"anthony_clement_of_saxony",
"christiane_eberhardine_of_brandenburg_bayreuth",
"versailles"
],
"valid_edges": [
[
"anthony_clement_of_saxony",
"parents",
"frederick_christian_elector_of_saxony"
],
[
"augustus_ii_the_strong",
"children",
"augustus_iii_of_poland"
],
[
"augustus_ii_the_strong",
"spouse",
"christiane_eberhardine_of_brandenburg_bayreuth"
],
[
"augustus_iii_of_poland",
"children",
"frederick_christian_elector_of_saxony"
],
[
"augustus_iii_of_poland",
"children",
"marie_josephe_of_saxony"
],
[
"augustus_iii_of_poland",
"parents",
"augustus_ii_the_strong"
],
[
"augustus_iii_of_poland",
"parents",
"christiane_eberhardine_of_brandenburg_bayreuth"
],
[
"christiane_eberhardine_of_brandenburg_bayreuth",
"children",
"augustus_iii_of_poland"
],
[
"christiane_eberhardine_of_brandenburg_bayreuth",
"spouse",
"augustus_ii_the_strong"
],
[
"frederick_christian_elector_of_saxony",
"children",
"anthony_clement_of_saxony"
],
[
"frederick_christian_elector_of_saxony",
"parents",
"augustus_iii_of_poland"
],
[
"marie_josephe_of_saxony",
"parents",
"augustus_iii_of_poland"
],
[
"marie_josephe_of_saxony",
"place_of_death",
"versailles"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
57887, afonso_v_of_portugal
56395, infante_joao_of_portugal
67321, portugal
src, edge_attr, dst
57887, nationality, 67321
56395, nationality, 67321
Question: How are afonso_v_of_portugal, infante_joao_of_portugal, and portugal related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"afonso_v_of_portugal",
"infante_joao_of_portugal",
"portugal"
],
"valid_edges": [
[
"afonso_v_of_portugal",
"nationality",
"portugal"
],
[
"infante_joao_of_portugal",
"nationality",
"portugal"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
14742, anne_marie_of_orleans
41821, catholicism
69396, charles_emmanuel_iii_of_sardinia
9505, chateau_de_blois
71761, duc_dorleans
44276, ferdinand_i_of_the_two_sicilies
35321, louis_xii_of_france
72808, marguerite_duchess_of_orleans
34786, marguerite_louise_dorleans
src, edge_attr, dst
14742, children, 69396
14742, parents, 71761
69396, parents, 14742
69396, religion, 41821
44276, religion, 41821
35321, place_of_birth, 9505
35321, religion, 41821
72808, children, 34786
72808, spouse, 71761
34786, parents, 72808
34786, place_of_birth, 9505
Question: In what context are catholicism, ferdinand_i_of_the_two_sicilies, and marguerite_duchess_of_orleans connected?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"catholicism",
"ferdinand_i_of_the_two_sicilies",
"marguerite_duchess_of_orleans"
],
"valid_edges": [
[
"anne_marie_of_orleans",
"children",
"charles_emmanuel_iii_of_sardinia"
],
[
"anne_marie_of_orleans",
"parents",
"duc_dorleans"
],
[
"charles_emmanuel_iii_of_sardinia",
"parents",
"anne_marie_of_orleans"
],
[
"charles_emmanuel_iii_of_sardinia",
"religion",
"catholicism"
],
[
"ferdinand_i_of_the_two_sicilies",
"religion",
"catholicism"
],
[
"louis_xii_of_france",
"place_of_birth",
"chateau_de_blois"
],
[
"louis_xii_of_france",
"religion",
"catholicism"
],
[
"marguerite_duchess_of_orleans",
"children",
"marguerite_louise_dorleans"
],
[
"marguerite_duchess_of_orleans",
"spouse",
"duc_dorleans"
],
[
"marguerite_louise_dorleans",
"parents",
"marguerite_duchess_of_orleans"
],
[
"marguerite_louise_dorleans",
"place_of_birth",
"chateau_de_blois"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
47926, helen_vinson
30144, ronald_reagan
7647, united_states
src, edge_attr, dst
47926, nationality, 7647
30144, nationality, 7647
Question: How are helen_vinson, ronald_reagan, and united_states related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"helen_vinson",
"ronald_reagan",
"united_states"
],
"valid_edges": [
[
"helen_vinson",
"nationality",
"united_states"
],
[
"ronald_reagan",
"nationality",
"united_states"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
8109, boston_massachusetts
74926, chicago
41907, george_peter_alexander_healy
61318, john_f_fitzgerald
src, edge_attr, dst
41907, location, 8109
41907, place_of_death, 74926
61318, location, 8109
61318, place_of_birth, 8109
61318, place_of_death, 8109
Question: For what reason are boston_massachusetts, chicago, and john_f_fitzgerald associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"boston_massachusetts",
"chicago",
"john_f_fitzgerald"
],
"valid_edges": [
[
"george_peter_alexander_healy",
"location",
"boston_massachusetts"
],
[
"george_peter_alexander_healy",
"place_of_death",
"chicago"
],
[
"john_f_fitzgerald",
"location",
"boston_massachusetts"
],
[
"john_f_fitzgerald",
"place_of_birth",
"boston_massachusetts"
],
[
"john_f_fitzgerald",
"place_of_death",
"boston_massachusetts"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
67705, barbara_of_portugal
70870, benedita_dowager_princess_of_brazil
34676, caroline_augusta_of_bavaria
41821, catholicism
73418, charles_felix_of_sardinia
22450, charles_iii_of_spain
3856, charles_iv_of_spain
40225, elisabeth_of_parma
1000, elisabeth_of_wurttemberg
70084, ferdinand_i_of_austria
44276, ferdinand_i_of_the_two_sicilies
6295, ferdinand_maria_elector_of_bavaria
15250, ferdinand_vi_of_spain
59103, francis_ii_holy_roman_emperor
67481, francisco_goya
9383, friederike_dorothea_of_brandenburg_schwedt
2105, friedrich_ii_eugen_duke_of_wurttemberg
53504, haredi_judaism
2602, james_connolly
52503, john_cardinal_farley
11985, john_v_of_portugal
41700, john_vi_of_portugal
3104, joseph_i_of_portugal
67976, louis_grand_dauphin
37867, louis_xv_of_france
36780, maria_anna_of_bavaria
9311, maria_antonietta_of_spain
64397, maria_fyodorovna_of_russia
11934, maria_leopoldina_of_austria
15400, maria_luisa_of_savoy
2461, maria_teresa_of_the_two_sicilies
63286, mariana_victoria_of_spain
71579, marie_louise_duchess_of_parma
43351, mary_anne_of_austria
64180, mary_i_of_portugal
59091, maximilian_i_of_bavaria
13068, miguel_of_portugal
16012, mormonism
14619, paolo_giovio
57657, peter_i_of_brazil
21684, peter_iii_of_portugal
7936, philip_v_of_spain
22763, ribeira_palace
6336, thomas_aquinas
46581, victor_amadeus_iii_of_sardinia
src, edge_attr, dst
67705, parents, 11985
67705, spouse, 15250
70870, parents, 63286
34676, parents, 59091
34676, spouse, 59103
73418, parents, 9311
73418, parents, 46581
73418, religion, 41821
22450, children, 3856
22450, children, 44276
22450, parents, 40225
22450, parents, 7936
22450, religion, 41821
3856, parents, 22450
3856, religion, 41821
40225, children, 22450
40225, children, 63286
40225, spouse, 7936
1000, parents, 9383
1000, parents, 2105
1000, spouse, 59103
70084, parents, 59103
70084, parents, 2461
70084, religion, 41821
44276, children, 2461
44276, parents, 22450
44276, religion, 41821
6295, children, 36780
6295, religion, 41821
15250, parents, 15400
15250, parents, 7936
15250, religion, 41821
15250, spouse, 67705
59103, children, 70084
59103, children, 11934
59103, children, 71579
59103, religion, 41821
59103, spouse, 34676
59103, spouse, 1000
59103, spouse, 2461
67481, religion, 41821
67481, religion, 16012
9383, children, 1000
9383, children, 64397
2105, children, 1000
2105, children, 64397
2602, religion, 41821
2602, religion, 53504
52503, religion, 41821
52503, religion, 53504
11985, children, 67705
11985, children, 21684
11985, place_of_birth, 22763
11985, religion, 41821
11985, spouse, 43351
41700, children, 13068
41700, children, 57657
41700, parents, 64180
41700, parents, 21684
41700, religion, 41821
3104, children, 64180
3104, parents, 43351
3104, place_of_birth, 22763
3104, religion, 41821
3104, religion, 16012
3104, spouse, 63286
67976, children, 37867
67976, children, 7936
37867, parents, 67976
37867, religion, 41821
36780, children, 7936
36780, parents, 6295
9311, children, 73418
9311, parents, 7936
9311, spouse, 46581
64397, parents, 9383
64397, parents, 2105
11934, parents, 59103
11934, spouse, 57657
15400, children, 15250
15400, spouse, 7936
2461, children, 70084
2461, children, 71579
2461, parents, 44276
2461, spouse, 59103
63286, children, 70870
63286, children, 64180
63286, parents, 40225
63286, parents, 7936
63286, spouse, 3104
71579, parents, 59103
71579, parents, 2461
71579, religion, 41821
43351, children, 3104
43351, spouse, 11985
64180, children, 41700
64180, parents, 3104
64180, parents, 63286
64180, religion, 41821
64180, religion, 53504
64180, spouse, 21684
59091, children, 34676
59091, religion, 41821
13068, parents, 41700
13068, religion, 41821
14619, religion, 41821
14619, religion, 16012
57657, parents, 41700
57657, religion, 41821
57657, spouse, 11934
21684, children, 41700
21684, parents, 11985
21684, spouse, 64180
7936, children, 22450
7936, children, 9311
7936, children, 63286
7936, parents, 67976
7936, parents, 36780
7936, religion, 41821
7936, spouse, 40225
7936, spouse, 15400
6336, religion, 41821
6336, religion, 53504
46581, children, 73418
46581, religion, 41821
46581, spouse, 9311
Question: How are benedita_dowager_princess_of_brazil, catholicism, and elisabeth_of_wurttemberg related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"benedita_dowager_princess_of_brazil",
"catholicism",
"elisabeth_of_wurttemberg"
],
"valid_edges": [
[
"barbara_of_portugal",
"parents",
"john_v_of_portugal"
],
[
"barbara_of_portugal",
"spouse",
"ferdinand_vi_of_spain"
],
[
"benedita_dowager_princess_of_brazil",
"parents",
"mariana_victoria_of_spain"
],
[
"caroline_augusta_of_bavaria",
"parents",
"maximilian_i_of_bavaria"
],
[
"caroline_augusta_of_bavaria",
"spouse",
"francis_ii_holy_roman_emperor"
],
[
"charles_felix_of_sardinia",
"parents",
"maria_antonietta_of_spain"
],
[
"charles_felix_of_sardinia",
"parents",
"victor_amadeus_iii_of_sardinia"
],
[
"charles_felix_of_sardinia",
"religion",
"catholicism"
],
[
"charles_iii_of_spain",
"children",
"charles_iv_of_spain"
],
[
"charles_iii_of_spain",
"children",
"ferdinand_i_of_the_two_sicilies"
],
[
"charles_iii_of_spain",
"parents",
"elisabeth_of_parma"
],
[
"charles_iii_of_spain",
"parents",
"philip_v_of_spain"
],
[
"charles_iii_of_spain",
"religion",
"catholicism"
],
[
"charles_iv_of_spain",
"parents",
"charles_iii_of_spain"
],
[
"charles_iv_of_spain",
"religion",
"catholicism"
],
[
"elisabeth_of_parma",
"children",
"charles_iii_of_spain"
],
[
"elisabeth_of_parma",
"children",
"mariana_victoria_of_spain"
],
[
"elisabeth_of_parma",
"spouse",
"philip_v_of_spain"
],
[
"elisabeth_of_wurttemberg",
"parents",
"friederike_dorothea_of_brandenburg_schwedt"
],
[
"elisabeth_of_wurttemberg",
"parents",
"friedrich_ii_eugen_duke_of_wurttemberg"
],
[
"elisabeth_of_wurttemberg",
"spouse",
"francis_ii_holy_roman_emperor"
],
[
"ferdinand_i_of_austria",
"parents",
"francis_ii_holy_roman_emperor"
],
[
"ferdinand_i_of_austria",
"parents",
"maria_teresa_of_the_two_sicilies"
],
[
"ferdinand_i_of_austria",
"religion",
"catholicism"
],
[
"ferdinand_i_of_the_two_sicilies",
"children",
"maria_teresa_of_the_two_sicilies"
],
[
"ferdinand_i_of_the_two_sicilies",
"parents",
"charles_iii_of_spain"
],
[
"ferdinand_i_of_the_two_sicilies",
"religion",
"catholicism"
],
[
"ferdinand_maria_elector_of_bavaria",
"children",
"maria_anna_of_bavaria"
],
[
"ferdinand_maria_elector_of_bavaria",
"religion",
"catholicism"
],
[
"ferdinand_vi_of_spain",
"parents",
"maria_luisa_of_savoy"
],
[
"ferdinand_vi_of_spain",
"parents",
"philip_v_of_spain"
],
[
"ferdinand_vi_of_spain",
"religion",
"catholicism"
],
[
"ferdinand_vi_of_spain",
"spouse",
"barbara_of_portugal"
],
[
"francis_ii_holy_roman_emperor",
"children",
"ferdinand_i_of_austria"
],
[
"francis_ii_holy_roman_emperor",
"children",
"maria_leopoldina_of_austria"
],
[
"francis_ii_holy_roman_emperor",
"children",
"marie_louise_duchess_of_parma"
],
[
"francis_ii_holy_roman_emperor",
"religion",
"catholicism"
],
[
"francis_ii_holy_roman_emperor",
"spouse",
"caroline_augusta_of_bavaria"
],
[
"francis_ii_holy_roman_emperor",
"spouse",
"elisabeth_of_wurttemberg"
],
[
"francis_ii_holy_roman_emperor",
"spouse",
"maria_teresa_of_the_two_sicilies"
],
[
"francisco_goya",
"religion",
"catholicism"
],
[
"francisco_goya",
"religion",
"mormonism"
],
[
"friederike_dorothea_of_brandenburg_schwedt",
"children",
"elisabeth_of_wurttemberg"
],
[
"friederike_dorothea_of_brandenburg_schwedt",
"children",
"maria_fyodorovna_of_russia"
],
[
"friedrich_ii_eugen_duke_of_wurttemberg",
"children",
"elisabeth_of_wurttemberg"
],
[
"friedrich_ii_eugen_duke_of_wurttemberg",
"children",
"maria_fyodorovna_of_russia"
],
[
"james_connolly",
"religion",
"catholicism"
],
[
"james_connolly",
"religion",
"haredi_judaism"
],
[
"john_cardinal_farley",
"religion",
"catholicism"
],
[
"john_cardinal_farley",
"religion",
"haredi_judaism"
],
[
"john_v_of_portugal",
"children",
"barbara_of_portugal"
],
[
"john_v_of_portugal",
"children",
"peter_iii_of_portugal"
],
[
"john_v_of_portugal",
"place_of_birth",
"ribeira_palace"
],
[
"john_v_of_portugal",
"religion",
"catholicism"
],
[
"john_v_of_portugal",
"spouse",
"mary_anne_of_austria"
],
[
"john_vi_of_portugal",
"children",
"miguel_of_portugal"
],
[
"john_vi_of_portugal",
"children",
"peter_i_of_brazil"
],
[
"john_vi_of_portugal",
"parents",
"mary_i_of_portugal"
],
[
"john_vi_of_portugal",
"parents",
"peter_iii_of_portugal"
],
[
"john_vi_of_portugal",
"religion",
"catholicism"
],
[
"joseph_i_of_portugal",
"children",
"mary_i_of_portugal"
],
[
"joseph_i_of_portugal",
"parents",
"mary_anne_of_austria"
],
[
"joseph_i_of_portugal",
"place_of_birth",
"ribeira_palace"
],
[
"joseph_i_of_portugal",
"religion",
"catholicism"
],
[
"joseph_i_of_portugal",
"religion",
"mormonism"
],
[
"joseph_i_of_portugal",
"spouse",
"mariana_victoria_of_spain"
],
[
"louis_grand_dauphin",
"children",
"louis_xv_of_france"
],
[
"louis_grand_dauphin",
"children",
"philip_v_of_spain"
],
[
"louis_xv_of_france",
"parents",
"louis_grand_dauphin"
],
[
"louis_xv_of_france",
"religion",
"catholicism"
],
[
"maria_anna_of_bavaria",
"children",
"philip_v_of_spain"
],
[
"maria_anna_of_bavaria",
"parents",
"ferdinand_maria_elector_of_bavaria"
],
[
"maria_antonietta_of_spain",
"children",
"charles_felix_of_sardinia"
],
[
"maria_antonietta_of_spain",
"parents",
"philip_v_of_spain"
],
[
"maria_antonietta_of_spain",
"spouse",
"victor_amadeus_iii_of_sardinia"
],
[
"maria_fyodorovna_of_russia",
"parents",
"friederike_dorothea_of_brandenburg_schwedt"
],
[
"maria_fyodorovna_of_russia",
"parents",
"friedrich_ii_eugen_duke_of_wurttemberg"
],
[
"maria_leopoldina_of_austria",
"parents",
"francis_ii_holy_roman_emperor"
],
[
"maria_leopoldina_of_austria",
"spouse",
"peter_i_of_brazil"
],
[
"maria_luisa_of_savoy",
"children",
"ferdinand_vi_of_spain"
],
[
"maria_luisa_of_savoy",
"spouse",
"philip_v_of_spain"
],
[
"maria_teresa_of_the_two_sicilies",
"children",
"ferdinand_i_of_austria"
],
[
"maria_teresa_of_the_two_sicilies",
"children",
"marie_louise_duchess_of_parma"
],
[
"maria_teresa_of_the_two_sicilies",
"parents",
"ferdinand_i_of_the_two_sicilies"
],
[
"maria_teresa_of_the_two_sicilies",
"spouse",
"francis_ii_holy_roman_emperor"
],
[
"mariana_victoria_of_spain",
"children",
"benedita_dowager_princess_of_brazil"
],
[
"mariana_victoria_of_spain",
"children",
"mary_i_of_portugal"
],
[
"mariana_victoria_of_spain",
"parents",
"elisabeth_of_parma"
],
[
"mariana_victoria_of_spain",
"parents",
"philip_v_of_spain"
],
[
"mariana_victoria_of_spain",
"spouse",
"joseph_i_of_portugal"
],
[
"marie_louise_duchess_of_parma",
"parents",
"francis_ii_holy_roman_emperor"
],
[
"marie_louise_duchess_of_parma",
"parents",
"maria_teresa_of_the_two_sicilies"
],
[
"marie_louise_duchess_of_parma",
"religion",
"catholicism"
],
[
"mary_anne_of_austria",
"children",
"joseph_i_of_portugal"
],
[
"mary_anne_of_austria",
"spouse",
"john_v_of_portugal"
],
[
"mary_i_of_portugal",
"children",
"john_vi_of_portugal"
],
[
"mary_i_of_portugal",
"parents",
"joseph_i_of_portugal"
],
[
"mary_i_of_portugal",
"parents",
"mariana_victoria_of_spain"
],
[
"mary_i_of_portugal",
"religion",
"catholicism"
],
[
"mary_i_of_portugal",
"religion",
"haredi_judaism"
],
[
"mary_i_of_portugal",
"spouse",
"peter_iii_of_portugal"
],
[
"maximilian_i_of_bavaria",
"children",
"caroline_augusta_of_bavaria"
],
[
"maximilian_i_of_bavaria",
"religion",
"catholicism"
],
[
"miguel_of_portugal",
"parents",
"john_vi_of_portugal"
],
[
"miguel_of_portugal",
"religion",
"catholicism"
],
[
"paolo_giovio",
"religion",
"catholicism"
],
[
"paolo_giovio",
"religion",
"mormonism"
],
[
"peter_i_of_brazil",
"parents",
"john_vi_of_portugal"
],
[
"peter_i_of_brazil",
"religion",
"catholicism"
],
[
"peter_i_of_brazil",
"spouse",
"maria_leopoldina_of_austria"
],
[
"peter_iii_of_portugal",
"children",
"john_vi_of_portugal"
],
[
"peter_iii_of_portugal",
"parents",
"john_v_of_portugal"
],
[
"peter_iii_of_portugal",
"spouse",
"mary_i_of_portugal"
],
[
"philip_v_of_spain",
"children",
"charles_iii_of_spain"
],
[
"philip_v_of_spain",
"children",
"maria_antonietta_of_spain"
],
[
"philip_v_of_spain",
"children",
"mariana_victoria_of_spain"
],
[
"philip_v_of_spain",
"parents",
"louis_grand_dauphin"
],
[
"philip_v_of_spain",
"parents",
"maria_anna_of_bavaria"
],
[
"philip_v_of_spain",
"religion",
"catholicism"
],
[
"philip_v_of_spain",
"spouse",
"elisabeth_of_parma"
],
[
"philip_v_of_spain",
"spouse",
"maria_luisa_of_savoy"
],
[
"thomas_aquinas",
"religion",
"catholicism"
],
[
"thomas_aquinas",
"religion",
"haredi_judaism"
],
[
"victor_amadeus_iii_of_sardinia",
"children",
"charles_felix_of_sardinia"
],
[
"victor_amadeus_iii_of_sardinia",
"religion",
"catholicism"
],
[
"victor_amadeus_iii_of_sardinia",
"spouse",
"maria_antonietta_of_spain"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
32954, choate_rosemary_hall
31959, jacqueline_kennedy_onassis
24641, john_f_kennedy
10246, john_f_kennedy_jr
10030, joseph_p_kennedy_jr
46876, london_school_of_economics
src, edge_attr, dst
31959, children, 10246
31959, spouse, 24641
24641, children, 10246
24641, institution, 32954
24641, institution, 46876
24641, spouse, 31959
10246, parents, 31959
10246, parents, 24641
10030, institution, 32954
10030, institution, 46876
Question: For what reason are jacqueline_kennedy_onassis, john_f_kennedy_jr, and london_school_of_economics associated?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"jacqueline_kennedy_onassis",
"john_f_kennedy_jr",
"london_school_of_economics"
],
"valid_edges": [
[
"jacqueline_kennedy_onassis",
"children",
"john_f_kennedy_jr"
],
[
"jacqueline_kennedy_onassis",
"spouse",
"john_f_kennedy"
],
[
"john_f_kennedy",
"children",
"john_f_kennedy_jr"
],
[
"john_f_kennedy",
"institution",
"choate_rosemary_hall"
],
[
"john_f_kennedy",
"institution",
"london_school_of_economics"
],
[
"john_f_kennedy",
"spouse",
"jacqueline_kennedy_onassis"
],
[
"john_f_kennedy_jr",
"parents",
"jacqueline_kennedy_onassis"
],
[
"john_f_kennedy_jr",
"parents",
"john_f_kennedy"
],
[
"joseph_p_kennedy_jr",
"institution",
"choate_rosemary_hall"
],
[
"joseph_p_kennedy_jr",
"institution",
"london_school_of_economics"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
30703, albert_of_saxe-coburg_and_gotha
57767, alexander_mountbatten_1st_marquess_of_carisbrooke
2386, alexandra_fyodorovna_of_hesse
66269, kensington_palace
68178, louis_iv_grand_duke_of_hesse
25934, princess_beatrice_of_the_united_kingdom
54183, princess_louise_duchess_of_argyll
18047, princess_victoria_of_hesse_and_by_rhine
src, edge_attr, dst
30703, children, 25934
30703, children, 54183
57767, parents, 25934
57767, place_of_death, 66269
2386, parents, 68178
68178, children, 2386
68178, children, 18047
25934, children, 57767
25934, parents, 30703
54183, parents, 30703
54183, place_of_death, 66269
18047, parents, 68178
18047, place_of_death, 66269
Question: How are albert_of_saxe-coburg_and_gotha, alexandra_fyodorovna_of_hesse, and princess_louise_duchess_of_argyll related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"albert_of_saxe-coburg_and_gotha",
"alexandra_fyodorovna_of_hesse",
"princess_louise_duchess_of_argyll"
],
"valid_edges": [
[
"albert_of_saxe-coburg_and_gotha",
"children",
"princess_beatrice_of_the_united_kingdom"
],
[
"albert_of_saxe-coburg_and_gotha",
"children",
"princess_louise_duchess_of_argyll"
],
[
"alexander_mountbatten_1st_marquess_of_carisbrooke",
"parents",
"princess_beatrice_of_the_united_kingdom"
],
[
"alexander_mountbatten_1st_marquess_of_carisbrooke",
"place_of_death",
"kensington_palace"
],
[
"alexandra_fyodorovna_of_hesse",
"parents",
"louis_iv_grand_duke_of_hesse"
],
[
"louis_iv_grand_duke_of_hesse",
"children",
"alexandra_fyodorovna_of_hesse"
],
[
"louis_iv_grand_duke_of_hesse",
"children",
"princess_victoria_of_hesse_and_by_rhine"
],
[
"princess_beatrice_of_the_united_kingdom",
"children",
"alexander_mountbatten_1st_marquess_of_carisbrooke"
],
[
"princess_beatrice_of_the_united_kingdom",
"parents",
"albert_of_saxe-coburg_and_gotha"
],
[
"princess_louise_duchess_of_argyll",
"parents",
"albert_of_saxe-coburg_and_gotha"
],
[
"princess_louise_duchess_of_argyll",
"place_of_death",
"kensington_palace"
],
[
"princess_victoria_of_hesse_and_by_rhine",
"parents",
"louis_iv_grand_duke_of_hesse"
],
[
"princess_victoria_of_hesse_and_by_rhine",
"place_of_death",
"kensington_palace"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
53448, alexandra_pavlovna_of_russia
25598, archduke_maximilian_franz_of_austria
51398, catherine_pavlovna_of_russia
64397, maria_fyodorovna_of_russia
2647, vienna
src, edge_attr, dst
53448, parents, 64397
53448, place_of_death, 2647
25598, location, 2647
25598, place_of_birth, 2647
51398, parents, 64397
64397, children, 53448
64397, children, 51398
Question: How are archduke_maximilian_franz_of_austria, catherine_pavlovna_of_russia, and vienna related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"archduke_maximilian_franz_of_austria",
"catherine_pavlovna_of_russia",
"vienna"
],
"valid_edges": [
[
"alexandra_pavlovna_of_russia",
"parents",
"maria_fyodorovna_of_russia"
],
[
"alexandra_pavlovna_of_russia",
"place_of_death",
"vienna"
],
[
"archduke_maximilian_franz_of_austria",
"location",
"vienna"
],
[
"archduke_maximilian_franz_of_austria",
"place_of_birth",
"vienna"
],
[
"catherine_pavlovna_of_russia",
"parents",
"maria_fyodorovna_of_russia"
],
[
"maria_fyodorovna_of_russia",
"children",
"alexandra_pavlovna_of_russia"
],
[
"maria_fyodorovna_of_russia",
"children",
"catherine_pavlovna_of_russia"
]
]
}
|
FB13
|
You are given a directed graph as two CSV-like sections in this order:
1) Node table (header included):
node_id, node_attr
2) Edge table (header included):
src, edge_attr, dst
Task
- Use ONLY edges from the Edge table to answer the question by outputting a path.
- When printing each edge, replace IDs with the exact node_attr from the Node table.
- Output MUST be text triples, not numeric IDs.
Output format (STRICT β no extra text):
PATH:
("subject"|predicate|"object")
...
END
Rules
- Use only listed edges; do NOT invent edges.
- Map IDs β node_attr; preserve node_attr exactly.
- Output NOTHING outside the PATH block.
- If no path exists, output exactly:
PATH:
END
Graph:
node_id, node_attr
50122, gilbert_gallegos
69016, sam_marx
7647, united_states
src, edge_attr, dst
50122, nationality, 7647
69016, nationality, 7647
Question: How are gilbert_gallegos, sam_marx, and united_states related?
Your output must be ONLY the PATH block.
|
graph_path
|
{
"style": "rule"
}
|
{
"entities": [
"gilbert_gallegos",
"sam_marx",
"united_states"
],
"valid_edges": [
[
"gilbert_gallegos",
"nationality",
"united_states"
],
[
"sam_marx",
"nationality",
"united_states"
]
]
}
|
End of preview. Expand
in Data Studio
YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/datasets-cards)
- Downloads last month
- 12