Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
pandas
License:
albertvillanova HF staff commited on
Commit
9d69887
1 Parent(s): 77fc422

Support streaming cfq dataset (#4579)

Browse files

* Support streaming cfq dataset

* Fix style

* Fix remaining code

* Fix tags and documentation card

* Fix task tags

* Fix task tag

* Refactor parsing to reduce RAM usage

* Add license

* Update metadata JSON

* Update dummy data

* Use less RAM by loading only samples needed

* Yield immediately each sample or buffer it

* Update dummy data to have dataset.json as last archive member

* Rename license tag

Commit from https://github.com/huggingface/datasets/commit/de2f6ef2bc14022d0e9212f293b8e7b200aa7e75

README.md CHANGED
@@ -1,8 +1,27 @@
1
  ---
 
 
 
 
2
  language:
3
  - en
4
- paperswithcode_id: cfq
 
 
 
5
  pretty_name: Compositional Freebase Questions
 
 
 
 
 
 
 
 
 
 
 
 
6
  ---
7
 
8
  # Dataset Card for "cfq"
@@ -35,7 +54,7 @@ pretty_name: Compositional Freebase Questions
35
 
36
  - **Homepage:** [https://github.com/google-research/google-research/tree/master/cfq](https://github.com/google-research/google-research/tree/master/cfq)
37
  - **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
38
- - **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
39
  - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
40
  - **Size of downloaded dataset files:** 2041.62 MB
41
  - **Size of the generated dataset:** 345.30 MB
@@ -43,12 +62,10 @@ pretty_name: Compositional Freebase Questions
43
 
44
  ### Dataset Summary
45
 
46
- The CFQ dataset (and it's splits) for measuring compositional generalization.
47
-
48
- See https://arxiv.org/abs/1912.09713.pdf for background.
49
-
50
- Example usage:
51
- data = datasets.load_dataset('cfq/mcd1')
52
 
53
  ### Supported Tasks and Leaderboards
54
 
@@ -56,7 +73,7 @@ data = datasets.load_dataset('cfq/mcd1')
56
 
57
  ### Languages
58
 
59
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
60
 
61
  ## Dataset Structure
62
 
@@ -71,8 +88,8 @@ data = datasets.load_dataset('cfq/mcd1')
71
  An example of 'train' looks as follows.
72
  ```
73
  {
74
- "query": "SELECT /producer M0 . /director M0 . ",
75
- "question": "Who produced and directed M0?"
76
  }
77
  ```
78
 
@@ -85,8 +102,8 @@ An example of 'train' looks as follows.
85
  An example of 'train' looks as follows.
86
  ```
87
  {
88
- "query": "SELECT /producer M0 . /director M0 . ",
89
- "question": "Who produced and directed M0?"
90
  }
91
  ```
92
 
@@ -134,37 +151,22 @@ An example of 'train' looks as follows.
134
 
135
  ### Data Fields
136
 
137
- The data fields are the same among all splits.
138
-
139
- #### mcd1
140
- - `question`: a `string` feature.
141
- - `query`: a `string` feature.
142
-
143
- #### mcd2
144
- - `question`: a `string` feature.
145
- - `query`: a `string` feature.
146
-
147
- #### mcd3
148
- - `question`: a `string` feature.
149
- - `query`: a `string` feature.
150
-
151
- #### query_complexity_split
152
- - `question`: a `string` feature.
153
- - `query`: a `string` feature.
154
-
155
- #### query_pattern_split
156
  - `question`: a `string` feature.
157
  - `query`: a `string` feature.
158
 
159
  ### Data Splits
160
 
161
- | name |train |test |
162
- |----------------------|-----:|----:|
163
- |mcd1 | 95743|11968|
164
- |mcd2 | 95743|11968|
165
- |mcd3 | 95743|11968|
166
- |query_complexity_split|100654| 9512|
167
- |query_pattern_split | 94600|12589|
 
 
 
168
 
169
  ## Dataset Creation
170
 
 
1
  ---
2
+ annotations_creators:
3
+ - no-annotation
4
+ language_creators:
5
+ - expert-generated
6
  language:
7
  - en
8
+ license:
9
+ - cc-by-4.0
10
+ multilinguality:
11
+ - monolingual
12
  pretty_name: Compositional Freebase Questions
13
+ size_categories:
14
+ - 100K<n<1M
15
+ source_datasets:
16
+ - original
17
+ task_categories:
18
+ - question-answering
19
+ - other
20
+ task_ids:
21
+ - open-domain-qa
22
+ - closed-domain-qa
23
+ - other-compositionality
24
+ paperswithcode_id: cfq
25
  ---
26
 
27
  # Dataset Card for "cfq"
 
54
 
55
  - **Homepage:** [https://github.com/google-research/google-research/tree/master/cfq](https://github.com/google-research/google-research/tree/master/cfq)
56
  - **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
57
+ - **Paper:** https://arxiv.org/abs/1912.09713
58
  - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
59
  - **Size of downloaded dataset files:** 2041.62 MB
60
  - **Size of the generated dataset:** 345.30 MB
 
62
 
63
  ### Dataset Summary
64
 
65
+ The Compositional Freebase Questions (CFQ) is a dataset that is specifically designed to measure compositional
66
+ generalization. CFQ is a simple yet realistic, large dataset of natural language questions and answers that also
67
+ provides for each question a corresponding SPARQL query against the Freebase knowledge base. This means that CFQ can
68
+ also be used for semantic parsing.
 
 
69
 
70
  ### Supported Tasks and Leaderboards
71
 
 
73
 
74
  ### Languages
75
 
76
+ English (`en`).
77
 
78
  ## Dataset Structure
79
 
 
88
  An example of 'train' looks as follows.
89
  ```
90
  {
91
+ 'query': 'SELECT count(*) WHERE {\n?x0 a ns:people.person .\n?x0 ns:influence.influence_node.influenced M1 .\n?x0 ns:influence.influence_node.influenced M2 .\n?x0 ns:people.person.spouse_s/ns:people.marriage.spouse|ns:fictional_universe.fictional_character.married_to/ns:fictional_universe.marriage_of_fictional_characters.spouses ?x1 .\n?x1 a ns:film.cinematographer .\nFILTER ( ?x0 != ?x1 )\n}',
92
+ 'question': 'Did a person marry a cinematographer , influence M1 , and influence M2'
93
  }
94
  ```
95
 
 
102
  An example of 'train' looks as follows.
103
  ```
104
  {
105
+ 'query': 'SELECT count(*) WHERE {\n?x0 ns:people.person.parents|ns:fictional_universe.fictional_character.parents|ns:organization.organization.parent/ns:organization.organization_relationship.parent ?x1 .\n?x1 a ns:people.person .\nM1 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .\nM1 ns:business.employer.employees/ns:business.employment_tenure.person M2 .\nM1 ns:business.employer.employees/ns:business.employment_tenure.person M3 .\nM1 ns:business.employer.employees/ns:business.employment_tenure.person M4 .\nM5 ns:business.employer.employees/ns:business.employment_tenure.person ?x0 .\nM5 ns:business.employer.employees/ns:business.employment_tenure.person M2 .\nM5 ns:business.employer.employees/ns:business.employment_tenure.person M3 .\nM5 ns:business.employer.employees/ns:business.employment_tenure.person M4\n}',
106
+ 'question': "Did M1 and M5 employ M2 , M3 , and M4 and employ a person 's child"
107
  }
108
  ```
109
 
 
151
 
152
  ### Data Fields
153
 
154
+ The data fields are the same among all splits and configurations:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  - `question`: a `string` feature.
156
  - `query`: a `string` feature.
157
 
158
  ### Data Splits
159
 
160
+ | name | train | test |
161
+ |---------------------------|-------:|------:|
162
+ | mcd1 | 95743 | 11968 |
163
+ | mcd2 | 95743 | 11968 |
164
+ | mcd3 | 95743 | 11968 |
165
+ | query_complexity_split | 100654 | 9512 |
166
+ | query_pattern_split | 94600 | 12589 |
167
+ | question_complexity_split | 98999 | 10340 |
168
+ | question_pattern_split | 95654 | 11909 |
169
+ | random_split | 95744 | 11967 |
170
 
171
  ## Dataset Creation
172
 
cfq.py CHANGED
@@ -18,7 +18,6 @@
18
 
19
 
20
  import json
21
- import os
22
  import re
23
 
24
  import datasets
@@ -27,6 +26,10 @@ import datasets
27
  logger = datasets.logging.get_logger(__name__)
28
 
29
 
 
 
 
 
30
  _CITATION = """
31
  @inproceedings{Keysers2020,
32
  title={Measuring Compositional Generalization: A Comprehensive Method on
@@ -69,7 +72,7 @@ class CfqConfig(datasets.BuilderConfig):
69
  super(CfqConfig, self).__init__(
70
  name=name, version=datasets.Version("1.0.1"), description=_DESCRIPTION, **kwargs
71
  )
72
- self.split_file = os.path.join(directory, name + ".json")
73
 
74
 
75
  _QUESTION = "question"
@@ -102,27 +105,23 @@ class Cfq(datasets.GeneratorBasedBuilder):
102
  }
103
  ),
104
  supervised_keys=(_QUESTION, _QUERY),
105
- homepage="https://github.com/google-research/google-research/tree/master/cfq",
 
106
  citation=_CITATION,
107
  )
108
 
109
  def _split_generators(self, dl_manager):
110
  """Returns SplitGenerators."""
111
- data_dir = dl_manager.download_and_extract(_DATA_URL)
112
- data_dir = os.path.join(data_dir, "cfq")
113
  return [
114
  datasets.SplitGenerator(
115
- name=datasets.Split.TRAIN,
116
  gen_kwargs={
117
- "base_directory": data_dir,
118
- "splits_file": self.config.split_file,
119
- "split_id": "trainIdxs",
120
  },
121
- ),
122
- datasets.SplitGenerator(
123
- name=datasets.Split.TEST,
124
- gen_kwargs={"base_directory": data_dir, "splits_file": self.config.split_file, "split_id": "testIdxs"},
125
- ),
126
  ]
127
 
128
  def _scrub_json(self, content):
@@ -131,22 +130,38 @@ class Cfq(datasets.GeneratorBasedBuilder):
131
  # For the 4GB dataset file it requires more than 40GB of RAM and takes 3min.
132
  # There are more efficient libraries but in order to avoid additional
133
  # dependencies we use a simple (perhaps somewhat brittle) regexp to reduce
134
- # the content to only what is needed. This takes 1min to execute but
135
- # afterwards loading requires only 500MB or RAM and is done in 2s.
136
- regex = re.compile(r'("%s":\s*"[^"]*").*?("%s":\s*"[^"]*")' % (_QUESTION_FIELD, _QUERY_FIELD), re.DOTALL)
137
- return "[" + ",".join(["{" + m.group(1) + "," + m.group(2) + "}" for m in regex.finditer(content)]) + "]"
138
-
139
- def _generate_examples(self, base_directory, splits_file, split_id):
 
 
 
 
 
 
 
 
 
140
  """Yields examples."""
141
- samples_path = os.path.join(base_directory, "dataset.json")
142
- splits_path = os.path.join(base_directory, splits_file)
143
- with open(samples_path, encoding="utf-8") as samples_file:
144
- with open(splits_path, encoding="utf-8") as splits_file:
145
- logger.info("Reading json from %s into memory...", samples_path)
146
- samples = json.loads(self._scrub_json(samples_file.read()))
147
- logger.info("%d samples loaded", len(samples))
148
- logger.info("Loaded json data from %s.", samples_path)
149
- splits = json.load(splits_file)
150
- for idx in splits[split_id]:
151
- sample = samples[idx]
152
- yield idx, {_QUESTION: sample[_QUESTION_FIELD], _QUERY: sample[_QUERY_FIELD]}
 
 
 
 
 
 
 
 
18
 
19
 
20
  import json
 
21
  import re
22
 
23
  import datasets
 
26
  logger = datasets.logging.get_logger(__name__)
27
 
28
 
29
+ _HOMEPAGE = "https://github.com/google-research/google-research/tree/master/cfq"
30
+
31
+ _LICENSE = "CC BY 4.0"
32
+
33
  _CITATION = """
34
  @inproceedings{Keysers2020,
35
  title={Measuring Compositional Generalization: A Comprehensive Method on
 
72
  super(CfqConfig, self).__init__(
73
  name=name, version=datasets.Version("1.0.1"), description=_DESCRIPTION, **kwargs
74
  )
75
+ self.splits_path = f"cfq/{directory}/{name}.json"
76
 
77
 
78
  _QUESTION = "question"
 
105
  }
106
  ),
107
  supervised_keys=(_QUESTION, _QUERY),
108
+ homepage=_HOMEPAGE,
109
+ license=_LICENSE,
110
  citation=_CITATION,
111
  )
112
 
113
  def _split_generators(self, dl_manager):
114
  """Returns SplitGenerators."""
115
+ archive_path = dl_manager.download(_DATA_URL)
 
116
  return [
117
  datasets.SplitGenerator(
118
+ name=split,
119
  gen_kwargs={
120
+ "data_files": dl_manager.iter_archive(archive_path),
121
+ "split_id": f"{split}Idxs",
 
122
  },
123
+ )
124
+ for split in [datasets.Split.TRAIN, datasets.Split.TEST]
 
 
 
125
  ]
126
 
127
  def _scrub_json(self, content):
 
130
  # For the 4GB dataset file it requires more than 40GB of RAM and takes 3min.
131
  # There are more efficient libraries but in order to avoid additional
132
  # dependencies we use a simple (perhaps somewhat brittle) regexp to reduce
133
+ # the content to only what is needed.
134
+ question_regex = re.compile(r'("%s":\s*"[^"]*")' % _QUESTION_FIELD)
135
+ query_regex = re.compile(r'("%s":\s*"[^"]*")' % _QUERY_FIELD)
136
+ question_match = None
137
+ for line in content:
138
+ line = line.decode("utf-8")
139
+ if not question_match:
140
+ question_match = question_regex.match(line)
141
+ else:
142
+ query_match = query_regex.match(line)
143
+ if query_match:
144
+ yield json.loads("{" + question_match.group(1) + "," + query_match.group(1) + "}")
145
+ question_match = None
146
+
147
+ def _generate_examples(self, data_files, split_id):
148
  """Yields examples."""
149
+ samples_path = "cfq/dataset.json"
150
+ for path, file in data_files:
151
+ if path == self.config.splits_path:
152
+ splits = json.load(file)[split_id]
153
+ elif path == samples_path:
154
+ # The samples_path is the last path inside the archive
155
+ generator = enumerate(self._scrub_json(file))
156
+ samples = {}
157
+ splits_set = set(splits)
158
+ for split_idx in splits:
159
+ if split_idx in samples:
160
+ sample = samples.pop(split_idx)
161
+ else:
162
+ for sample_idx, sample in generator:
163
+ if sample_idx == split_idx:
164
+ break
165
+ elif sample_idx in splits_set:
166
+ samples[sample_idx] = sample
167
+ yield split_idx, {_QUESTION: sample[_QUESTION_FIELD], _QUERY: sample[_QUERY_FIELD]}
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"mcd1": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "supervised_keys": {"input": "question", "output": "query"}, "builder_name": "cfq", "config_name": "mcd1", "version": {"version_str": "1.0.1", "description": null, "datasets_version_to_prepare": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"test": {"name": "test", "num_bytes": 5450999, "num_examples": 11968, "dataset_name": "cfq"}, "train": {"name": "train", "num_bytes": 37444718, "num_examples": 95743, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "dataset_size": 42895717, "size_in_bytes": 310494778}, "mcd2": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "supervised_keys": {"input": "question", "output": "query"}, "builder_name": "cfq", "config_name": "mcd2", "version": {"version_str": "1.0.1", "description": null, "datasets_version_to_prepare": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"test": {"name": "test", "num_bytes": 5318515, "num_examples": 11968, "dataset_name": "cfq"}, "train": {"name": "train", "num_bytes": 39460569, "num_examples": 95743, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "dataset_size": 44779084, "size_in_bytes": 312378145}, "mcd3": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "supervised_keys": {"input": "question", "output": "query"}, "builder_name": "cfq", "config_name": "mcd3", "version": {"version_str": "1.0.1", "description": null, "datasets_version_to_prepare": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"test": {"name": "test", "num_bytes": 5248999, "num_examples": 11968, "dataset_name": "cfq"}, "train": {"name": "train", "num_bytes": 38352257, "num_examples": 95743, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "dataset_size": 43601256, "size_in_bytes": 311200317}, "question_complexity_split": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "supervised_keys": {"input": "question", "output": "query"}, "builder_name": "cfq", "config_name": "question_complexity_split", "version": {"version_str": "1.0.1", "description": null, "datasets_version_to_prepare": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"test": {"name": "test", "num_bytes": 5785448, "num_examples": 10340, "dataset_name": "cfq"}, "train": {"name": "train", "num_bytes": 40026566, "num_examples": 98999, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "dataset_size": 45812014, "size_in_bytes": 313411075}, "question_pattern_split": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "supervised_keys": {"input": "question", "output": "query"}, "builder_name": "cfq", "config_name": "question_pattern_split", "version": {"version_str": "1.0.1", "description": null, "datasets_version_to_prepare": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"test": {"name": "test", "num_bytes": 5184411, "num_examples": 11909, "dataset_name": "cfq"}, "train": {"name": "train", "num_bytes": 41253229, "num_examples": 95654, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "dataset_size": 46437640, "size_in_bytes": 314036701}, "query_complexity_split": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "supervised_keys": {"input": "question", "output": "query"}, "builder_name": "cfq", "config_name": "query_complexity_split", "version": {"version_str": "1.0.1", "description": null, "datasets_version_to_prepare": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"test": {"name": "test", "num_bytes": 5638499, "num_examples": 9512, "dataset_name": "cfq"}, "train": {"name": "train", "num_bytes": 40307937, "num_examples": 100654, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "dataset_size": 45946436, "size_in_bytes": 313545497}, "query_pattern_split": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "supervised_keys": {"input": "question", "output": "query"}, "builder_name": "cfq", "config_name": "query_pattern_split", "version": {"version_str": "1.0.1", "description": null, "datasets_version_to_prepare": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"test": {"name": "test", "num_bytes": 5273088, "num_examples": 12589, "dataset_name": "cfq"}, "train": {"name": "train", "num_bytes": 40846767, "num_examples": 94600, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "dataset_size": 46119855, "size_in_bytes": 313718916}, "random_split": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "supervised_keys": {"input": "question", "output": "query"}, "builder_name": "cfq", "config_name": "random_split", "version": {"version_str": "1.0.1", "description": null, "datasets_version_to_prepare": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"test": {"name": "test", "num_bytes": 5169419, "num_examples": 11967, "dataset_name": "cfq"}, "train": {"name": "train", "num_bytes": 41315130, "num_examples": 95744, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "dataset_size": 46484549, "size_in_bytes": 314083610}}
 
1
+ {"mcd1": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "CC BY 4.0", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "question", "output": "query"}, "task_templates": null, "builder_name": "cfq", "config_name": "mcd1", "version": {"version_str": "1.0.1", "description": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"train": {"name": "train", "num_bytes": 37408806, "num_examples": 95743, "dataset_name": "cfq"}, "test": {"name": "test", "num_bytes": 5446503, "num_examples": 11968, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "post_processing_size": null, "dataset_size": 42855309, "size_in_bytes": 310454370}, "mcd2": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "CC BY 4.0", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "question", "output": "query"}, "task_templates": null, "builder_name": "cfq", "config_name": "mcd2", "version": {"version_str": "1.0.1", "description": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"train": {"name": "train", "num_bytes": 39424657, "num_examples": 95743, "dataset_name": "cfq"}, "test": {"name": "test", "num_bytes": 5314019, "num_examples": 11968, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "post_processing_size": null, "dataset_size": 44738676, "size_in_bytes": 312337737}, "mcd3": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "CC BY 4.0", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "question", "output": "query"}, "task_templates": null, "builder_name": "cfq", "config_name": "mcd3", "version": {"version_str": "1.0.1", "description": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"train": {"name": "train", "num_bytes": 38316345, "num_examples": 95743, "dataset_name": "cfq"}, "test": {"name": "test", "num_bytes": 5244503, "num_examples": 11968, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "post_processing_size": null, "dataset_size": 43560848, "size_in_bytes": 311159909}, "question_complexity_split": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "CC BY 4.0", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "question", "output": "query"}, "task_templates": null, "builder_name": "cfq", "config_name": "question_complexity_split", "version": {"version_str": "1.0.1", "description": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"train": {"name": "train", "num_bytes": 39989433, "num_examples": 98999, "dataset_name": "cfq"}, "test": {"name": "test", "num_bytes": 5781561, "num_examples": 10340, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "post_processing_size": null, "dataset_size": 45770994, "size_in_bytes": 313370055}, "question_pattern_split": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "CC BY 4.0", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "question", "output": "query"}, "task_templates": null, "builder_name": "cfq", "config_name": "question_pattern_split", "version": {"version_str": "1.0.1", "description": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"train": {"name": "train", "num_bytes": 41217350, "num_examples": 95654, "dataset_name": "cfq"}, "test": {"name": "test", "num_bytes": 5179936, "num_examples": 11909, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "post_processing_size": null, "dataset_size": 46397286, "size_in_bytes": 313996347}, "query_complexity_split": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "CC BY 4.0", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "question", "output": "query"}, "task_templates": null, "builder_name": "cfq", "config_name": "query_complexity_split", "version": {"version_str": "1.0.1", "description": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"train": {"name": "train", "num_bytes": 40270175, "num_examples": 100654, "dataset_name": "cfq"}, "test": {"name": "test", "num_bytes": 5634924, "num_examples": 9512, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "post_processing_size": null, "dataset_size": 45905099, "size_in_bytes": 313504160}, "query_pattern_split": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "CC BY 4.0", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "question", "output": "query"}, "task_templates": null, "builder_name": "cfq", "config_name": "query_pattern_split", "version": {"version_str": "1.0.1", "description": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"train": {"name": "train", "num_bytes": 40811284, "num_examples": 94600, "dataset_name": "cfq"}, "test": {"name": "test", "num_bytes": 5268358, "num_examples": 12589, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "post_processing_size": null, "dataset_size": 46079642, "size_in_bytes": 313678703}, "random_split": {"description": "\nThe CFQ dataset (and it's splits) for measuring compositional generalization.\n\nSee https://arxiv.org/abs/1912.09713.pdf for background.\n\nExample usage:\ndata = datasets.load_dataset('cfq/mcd1')\n", "citation": "\n@inproceedings{Keysers2020,\n title={Measuring Compositional Generalization: A Comprehensive Method on\n Realistic Data},\n author={Daniel Keysers and Nathanael Sch\"{a}rli and Nathan Scales and\n Hylke Buisman and Daniel Furrer and Sergii Kashubin and\n Nikola Momchev and Danila Sinopalnikov and Lukasz Stafiniak and\n Tibor Tihon and Dmitry Tsarkov and Xiao Wang and Marc van Zee and\n Olivier Bousquet},\n booktitle={ICLR},\n year={2020},\n url={https://arxiv.org/abs/1912.09713.pdf},\n}\n", "homepage": "https://github.com/google-research/google-research/tree/master/cfq", "license": "CC BY 4.0", "features": {"question": {"dtype": "string", "id": null, "_type": "Value"}, "query": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "question", "output": "query"}, "task_templates": null, "builder_name": "cfq", "config_name": "random_split", "version": {"version_str": "1.0.1", "description": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"train": {"name": "train", "num_bytes": 41279218, "num_examples": 95744, "dataset_name": "cfq"}, "test": {"name": "test", "num_bytes": 5164923, "num_examples": 11967, "dataset_name": "cfq"}}, "download_checksums": {"https://storage.googleapis.com/cfq_dataset/cfq.tar.gz": {"num_bytes": 267599061, "checksum": "979d719271eae12611643b89151f639d94092800e7e71f2d23a754c43f3eb1ba"}}, "download_size": 267599061, "post_processing_size": null, "dataset_size": 46444141, "size_in_bytes": 314043202}}
dummy/mcd1/1.0.1/dummy_data.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:32bd3902b0195dea3d6da2becf2bd454a4ccc575aeff3321961d42142301a98d
3
- size 1067
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c29567959fa0ade2a7a28628180b80297e33f81e25d686afb50c13315a07cf0
3
+ size 1066
dummy/mcd1/1.0.1/dummy_data/cfq/dataset.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "questionPatternModEntities": "Who directed and produced M0?",
4
+ "sparqlPatternModEntities": "SELECT /director M0 . /producer M0"
5
+ },
6
+ {
7
+ "questionPatternModEntities": "Who directed and edited M0?",
8
+ "sparqlPatternModEntities": "SELECT /director M0 . /editor M0"
9
+ },
10
+ {
11
+ "questionPatternModEntities": "Who edited and directed M0?",
12
+ "sparqlPatternModEntities": "SELECT /editor M0 . /director M0"
13
+ },
14
+ {
15
+ "questionPatternModEntities": "Who produced and directed M0?",
16
+ "sparqlPatternModEntities": "SELECT /producer M0 . /director M0 . "
17
+ }
18
+ ]
dummy/mcd1/1.0.1/dummy_data/cfq/splits/mcd1.json ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"trainIdxs": [0, 2, 3],
2
+ "testIdxs": [1]}
dummy/mcd2/1.0.1/dummy_data.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3eb7df1beff5cc7fa8b846fb0f285b3b7a2b7487a8ad4c55aa240a0c4c67bb87
3
- size 1296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a64af3f22432b9b9a0c8de0a2ead0dfd91d57cdc421d863818c24365469ca335
3
+ size 1295
dummy/mcd2/1.0.1/dummy_data/cfq/dataset.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {"questionPatternModEntities": "Who directed and produced M0?",
3
+ "sparqlPatternModEntities": "SELECT /director M0 . /producer M0"},
4
+ {"questionPatternModEntities": "Who directed and edited M0?",
5
+ "sparqlPatternModEntities": "SELECT /director M0 . /editor M0"},
6
+ {"questionPatternModEntities": "Who edited and directed M0?",
7
+ "sparqlPatternModEntities": "SELECT /editor M0 . /director M0"},
8
+ {"questionPatternModEntities": "Who produced and directed M0?",
9
+ "sparqlPatternModEntities": "SELECT /producer M0 . /director M0 . "}
10
+ ]
dummy/mcd2/1.0.1/dummy_data/cfq/splits/mcd1.json ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"trainIdxs": [0, 2, 3],
2
+ "testIdxs": [1]}
dummy/mcd2/1.0.1/dummy_data/cfq/splits/mcd2.json ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"trainIdxs": [0, 2, 3],
2
+ "testIdxs": [1]}
dummy/mcd3/1.0.1/dummy_data.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4ba59657377937c72ecea9e7b86c5d21da96ff9b515ed9ee0a2af7d5e4d35605
3
- size 1296
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:827f8ac30ad479cc7651b218b9892b9da5450dd2dce4b31d2adc737e00151ac6
3
+ size 1295
dummy/mcd3/1.0.1/dummy_data/cfq/dataset.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "questionPatternModEntities": "Who directed and produced M0?",
4
+ "sparqlPatternModEntities": "SELECT /director M0 . /producer M0"
5
+ },
6
+ {
7
+ "questionPatternModEntities": "Who directed and edited M0?",
8
+ "sparqlPatternModEntities": "SELECT /director M0 . /editor M0"
9
+ },
10
+ {
11
+ "questionPatternModEntities": "Who edited and directed M0?",
12
+ "sparqlPatternModEntities": "SELECT /editor M0 . /director M0"
13
+ },
14
+ {
15
+ "questionPatternModEntities": "Who produced and directed M0?",
16
+ "sparqlPatternModEntities": "SELECT /producer M0 . /director M0 . "
17
+ }
18
+ ]
dummy/mcd3/1.0.1/dummy_data/cfq/splits/mcd1.json ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"trainIdxs": [0, 2, 3],
2
+ "testIdxs": [1]}
dummy/mcd3/1.0.1/dummy_data/cfq/splits/mcd3.json ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ {"trainIdxs": [0, 2, 3],
2
+ "testIdxs": [1]}
dummy/query_complexity_split/1.0.1/dummy_data.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:839885b4df6d7a79364e101161bc49503f241d1c228e648e09104e921ed2dc9e
3
- size 1332
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7040bf48d791dddce89c876f921c2688be12cd410c48c186f82d0b3bf1a9a25f
3
+ size 1331
dummy/query_pattern_split/1.0.1/dummy_data.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4a67541516eb3b81e0e877c461e1d5ec30bbe22904dc408f91d5a5c9252b78cd
3
- size 1326
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99bfcc6783d19733f939ad93092bd576257f2da2d4c55202ae446d121ca74453
3
+ size 1325
dummy/question_complexity_split/1.0.1/dummy_data.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:04c9a33df5b586fd35299c10327b3d72f687f3d4be3ea069cfc947f4e90ed612
3
- size 1338
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f06f5716ddfddd663dab7d346c98a7398dcaf6750b4ea29b4dd9876a1015285
3
+ size 1337
dummy/question_pattern_split/1.0.1/dummy_data.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9a6e0c6e18e6de093ad3f5227592c780108c6577448e9df514d804cfbf505406
3
- size 1332
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e832bac6df6f147ee7f93ad4b9fecf12a9d7adb7571b0a71efc876815953459a
3
+ size 1331
dummy/random_split/1.0.1/dummy_data.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:adad32de75fad56dfac14bb355d46f2a639458ec1c02bb55908a34c3955195c6
3
- size 1312
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a91f8fe4921bad800a9d9998d1eb3c803938bec2e737ada0545a202d865996eb
3
+ size 1311