File size: 1,879 Bytes
4503fea
 
 
9480091
 
 
1821f81
 
 
9480091
 
66a2af6
a884713
 
66a2af6
9480091
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0e5c0cf
 
1821f81
 
 
 
 
 
 
0e5c0cf
 
 
 
 
 
 
 
 
 
 
1821f81
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
license: mit
---

# GQA: Graph Question Answering

### Dataset Summary


This dataset is asks models to make use of embedded graph for question answering.

Stats:
- train: 57,043
- test: 2,890

An exmaple of the dataset is as follows:

```json
{
  "id": "mcwq-176119",
  "question": "What was executive produced by Scott Spiegel , Boaz Yakin , and Quentin Tarantino , executive produced by My Best Friend's Birthday 's editor and star , and edited by George Folsey",
  "answers": [
    "Hostel: Part II"
  ],
  "subgraph": {
    "entities": [
      "Q1401104",
      "Q887636",
      "Q1048645",
      "Q3772",
      "Q965826"
    ],
    "relations": [
      "P1431",
      "P1040"
    ],
    "adjacency": [[2, 1, 0],
      [2, 0, 3],
      [2, 0, 1],
      [2, 0, 4]
    ],
    "entity_labels": [
      "george folsey, jr.",
      "boaz yakin",
      "hostel: part ii",
      "quentin jerome tarantino",
      "scott spiegel"
    ],
    "relation_labels": [
      "showrunner",
      "film editor"
    ]
  },
  "sparql": "SELECT DISTINCT ?x0 WHERE {\n?x0 wdt:P1040 wd:Q1401104 .\n?x0 wdt:P1431 ?x1 .\n?x0 wdt:P1431 wd:Q3772 .\n?x0 wdt:P1431 wd:Q887636 .\n?x0 wdt:P1431 wd:Q965826 .\nwd:Q1480733 wdt:P161 ?x1 .\nwd:Q1480733 wdt:P1040 ?x1\n}"
}
```


### Licensing Information

MIT License

### Citation Information

If you find our dataset is helpful in your work, please cite us by

```
@misc{shen2023graphextqabenchmarkevaluatinggraphenhanced,
      title={GraphextQA: A Benchmark for Evaluating Graph-Enhanced Large Language Models}, 
      author={Yuanchun Shen and Ruotong Liao and Zhen Han and Yunpu Ma and Volker Tresp},
      year={2023},
      eprint={2310.08487},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2310.08487}, 
}
```

### Contributions

Thanks to [@yuancu](https://github.com/yuancu) for adding this dataset.