Commit
•
44f7e65
1
Parent(s):
584a979
Update script
Browse files- lc_quad.py +2 -2
lc_quad.py
CHANGED
@@ -22,7 +22,7 @@ organization={Springer}
|
|
22 |
_DESCRIPTION = """\
|
23 |
LC-QuAD 2.0 is a Large Question Answering dataset with 30,000 pairs of question and its corresponding SPARQL query. The target knowledge base is Wikidata and DBpedia, specifically the 2018 version. Please see our paper for details about the dataset creation process and framework.
|
24 |
"""
|
25 |
-
_URL = "
|
26 |
|
27 |
|
28 |
class LcQuad(datasets.GeneratorBasedBuilder):
|
@@ -67,7 +67,7 @@ class LcQuad(datasets.GeneratorBasedBuilder):
|
|
67 |
# dl_manager is a datasets.download.DownloadManager that can be used to
|
68 |
# download and extract URLs
|
69 |
dl_dir = dl_manager.download_and_extract(_URL)
|
70 |
-
dl_dir = os.path.join(dl_dir, "
|
71 |
return [
|
72 |
datasets.SplitGenerator(
|
73 |
name=datasets.Split.TRAIN,
|
|
|
22 |
_DESCRIPTION = """\
|
23 |
LC-QuAD 2.0 is a Large Question Answering dataset with 30,000 pairs of question and its corresponding SPARQL query. The target knowledge base is Wikidata and DBpedia, specifically the 2018 version. Please see our paper for details about the dataset creation process and framework.
|
24 |
"""
|
25 |
+
_URL = "data.zip"
|
26 |
|
27 |
|
28 |
class LcQuad(datasets.GeneratorBasedBuilder):
|
|
|
67 |
# dl_manager is a datasets.download.DownloadManager that can be used to
|
68 |
# download and extract URLs
|
69 |
dl_dir = dl_manager.download_and_extract(_URL)
|
70 |
+
dl_dir = os.path.join(dl_dir, "data")
|
71 |
return [
|
72 |
datasets.SplitGenerator(
|
73 |
name=datasets.Split.TRAIN,
|