Liu-rj commited on
Commit
bd90ef3
·
verified ·
1 Parent(s): 437d44f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +83 -18
README.md CHANGED
@@ -1,24 +1,89 @@
1
  ---
2
- license: mit
3
  task_categories:
4
- - question-answering
5
  language:
6
- - en
7
  tags:
8
- - academia
9
- - literature
10
- - e-commerce
11
  configs:
12
- - config_name: amazon
13
- data_files:
14
- - split: test
15
- path: amazon.jsonl
16
- - config_name: physics
17
- data_files:
18
- - split: test
19
- path: physics.jsonl
20
- - config_name: goodreads
21
- data_files:
22
- - split: test
23
- path: goodreads.jsonl
24
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: apache-2.0
3
  task_categories:
4
+ - question-answering
5
  language:
6
+ - en
7
  tags:
8
+ - academia
9
+ - literature
10
+ - e-commerce
11
  configs:
12
+ - config_name: amazon
13
+ data_files:
14
+ - split: test
15
+ path: amazon.jsonl
16
+ - config_name: physics
17
+ data_files:
18
+ - split: test
19
+ path: physics.jsonl
20
+ - config_name: goodreads
21
+ data_files:
22
+ - split: test
23
+ path: goodreads.jsonl
24
  ---
25
+ # PolyBench
26
+
27
+ PolyBench is a comprehensive GraphRAG benchmark to facilitate the evaluation of relevant methods on diverse question patterns.
28
+
29
+ ## Dataset Details
30
+
31
+ - **Curated by:** Renjie Liu (https://liu-rj.github.io/)
32
+ - **Language:** English
33
+ - **License:** apache-2.0
34
+
35
+ ### Dataset Description
36
+
37
+ PolyBench is created on three real-world knowledge graphs from [GRBench](https://huggingface.co/datasets/PeterJinGo/GRBench) across the academia, literature and e-commerce domain.
38
+ With a total of 1,200 questions instantiated from 73 well-crafted question templates, PolyBench consists of 400 questions for each graph spanning 5 question patterns.
39
+ This comprehensive set of question patterns is derived from a complete four-class taxonomy under the triplet format of the knowledge graph, including four basic patterns and nested types:
40
+
41
+ - `<s,*,*>` (subject centered): Questions about an entity (the subject) with no specific relation constraints (the predicate) and target entity (the object). The task is to answer a general question about the entity. Example: “Who is Isaac Newton?”
42
+ - `<s,p,*>` (object discovery): Questions about an entity (the subject) with specific relation constraints (the predicate) but misses the target entity (the object). The task is to answer one specific aspect of the entity. Example: “What theories and principles has Isaac Newton developed?”
43
+ - `<s,*,o>` (predicate discovery): Questions about any relations (the predicate) between two entities (the subject and object). The task is to provide the relations between two entities. Example: “How is Isaac Newton and Albert Einstein related?”
44
+ - `<s,p,o>` (fact check): Questions about specific relations (the predicate) between two entities (the subject and object). The task is to check the existence of a specific relationship between the two entities. Example: “Have Isaac Newton and Albert Einstein both contributed to the same same field of science?”
45
+ - nested types: Comples questions involving the nesting of multiple basic questions. For example, nested questions can be about general information of an unknown entity with specific relation constraints. Example: “Tell me about the scientist who developed univsersal gravitation.”
46
+
47
+ ### Dataset Sources
48
+
49
+ - **Repository:** https://github.com/Liu-rj/PolyG
50
+ - **Paper:** https://arxiv.org/pdf/2504.02112
51
+ - **Graph files:** https://drive.google.com/drive/folders/1DJIgRZ3G-TOf7h0-Xub5_sE4slBUEqy9 (from GRBench)
52
+
53
+ ## Usage
54
+
55
+ To preprocess the downloaded graph files, see https://github.com/Liu-rj/PolyG.
56
+
57
+ Use the question set from each domain:
58
+
59
+ ```
60
+ from datasets import load_dataset
61
+ domain = "amazon" # can be selected from [amazon, physics, literature]
62
+ dataset = load_dataset("Liu-rj/PolyBench", domain, split="test")
63
+ ```
64
+
65
+ ## Dataset Structure
66
+
67
+ Information about question generation can be found here: https://github.com/Liu-rj/PolyG/tree/main/benchmarks.
68
+
69
+ ## Citation
70
+
71
+ ```
72
+ @misc{liu2025polygadaptivegraphtraversal,
73
+ title={PolyG: Adaptive Graph Traversal for Diverse GraphRAG Questions},
74
+ author={Renjie Liu and Haitian Jiang and Xiao Yan and Bo Tang and Jinyang Li},
75
+ year={2025},
76
+ eprint={2504.02112},
77
+ archivePrefix={arXiv},
78
+ primaryClass={cs.LG},
79
+ url={https://arxiv.org/abs/2504.02112},
80
+ }
81
+ ```
82
+
83
+ ## Dataset Card Authors
84
+
85
+ Renjie Liu
86
+
87
+ ## Dataset Card Contact
88
+
89
+ liurj2023@mail.sustech.edu.cn