Skip to content

Commit 78e5a44

Browse files
authored
add dbpedia toy data
1 parent 6cc4e69 commit 78e5a44

File tree

6 files changed

+62
-0
lines changed

6 files changed

+62
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,4 +137,5 @@ result
137137
#/data/
138138
data/*
139139
!data/dataset-example
140+
!data/dbpedia
140141
repos

data/dbpedia/class.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Company
2+
EducationalInstitution
3+
Artist
4+
Athlete
5+
OfficeHolder
6+
MeanOfTransportation
7+
Building
8+
NaturalPlace
9+
Village
10+
Animal
11+
Plant
12+
Album
13+
Film
14+
WrittenWork

data/dbpedia/dev.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Sterling Piano Company The Sterling Piano Company was a piano manufacturer in Derby Connecticut. The company was founded in 1873 by Charles A. Sterling as the Sterling Organ Company. Sterling had purchased the Birmingham Organ Company in 1871 and had $30000 to fund the company. The Sterling Organ Company began making pianos in 1885.,0
2+
NYC S-Motor S-Motor was the class designation given by the New York Central to its ALCO-GE built S-1 S-2 S-2a and S-3 electric locomotives. The S-Motors hold the distinction of being the world's first mass-produced main line electric locomotives with the prototype #6000 being constructed in 1904. The S-Motors would serve alone until the more powerful T-motors began to arrive in 1913 eventually displacing them from main line passenger duties.,5
3+
Axel Zwingenberger Axel Zwingenberger (born May 7 1955 Hamburg Germany) is a blues and boogie-woogie pianist and songwriter. He is considered one of the finest boogie-woogie music masters in the world.,2
4+
Sceptrophasma hispidulum Sceptrophasma hispidulum commonly known as the Andaman islands Stick Insect is a species of the stick insect family. It originates from the Andaman Islands and is commonly found in tropical forests there. They eat a variety of foliage though in captivity they commonly eat blackberry bramble hawthorn oak rose and lettuce. The species has the Phasmid Study Group number PSG183.,9
5+
Nucet River (Chiojdeanca) The Nucet River is a tributary of the Chiojdeanca River in Romania.,7
6+
Kardia Mou Min Anisiheis Kardia Mou Min Anisiheis (Greek: Καρδιά Μου Μην Ανησυχείς English: Do not worry my heart) is an album by Antonis Remos. It was released in May 2002 and was the second best selling album of the year selling more than 120000 copies and was certified 3x Platinum. In Cyprus the album sold more than 12000 copies and was certified 2x Platinum.,11
7+
Costas Evangelatos Costas Evangelatos is a Greek artist and poet born in Argostoli in 1957 but he is originated by his father side from Lixouri Kefalonia. He studied law at Athens University painting and aesthetic theory of modern art in Manhattan (New York City). From 1986 until 1993 he was the artistic director of the DADA Gallery in Athens and in 1990 founded the art group ART STUDIO EST.Along with painting has worked internationally in the fields of Performance Body Art Happening and Mail art.,2
8+
Ted Davis (American football) Richard Kenneth Davis (born July 27 1942 in Memphis Tennessee) is a former American football player in the National Football League. He played for the Baltimore Colts the New Orleans Saints and the Miami Dolphins. He played collegiately for the Georgia Tech football team. He was inducted into the Georgia Tech Hall of Fame in 1980.,3
9+
Evanildo Borges Barbosa Júnior Evanildo Borges Barbosa Júnior known as Juninho (born January 11 1990 in Salvador Bahia) is a left back who plays for Série A club Palmeiras.,3
10+
Shaw Historic District Shaw Historic District also known as Francis B. Shaw Block Historic District is a national historic district located in Doylestown Bucks County Pennsylvania. The district includes seven contributing buildings in a residential and industrial area of Doylestown. The block was developed between 1833 and 1914 and includes the Bryan House (c. 1833) Clemens Double House (pre-1874) Goodman House (c. 1835) Kulp House (c.,6

data/dbpedia/readme.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
DBPedia Ontology Classification Dataset
2+
3+
Version 2, Updated 09/09/2015
4+
5+
6+
LICENSE
7+
8+
The DBpedia datasets are licensed under the terms of the Creative Commons Attribution-ShareAlike License and the GNU Free Documentation License. For more information, please refer to http://dbpedia.org. For a recent overview paper about DBpedia, please refer to: Jens Lehmann, Robert Isele, Max Jakob, Anja Jentzsch, Dimitris Kontokostas, Pablo N. Mendes, Sebastian Hellmann, Mohamed Morsey, Patrick van Kleef, Sören Auer, Christian Bizer: DBpedia – A Large-scale, Multilingual Knowledge Base Extracted from Wikipedia. Semantic Web Journal, Vol. 6 No. 2, pp 167–195, 2015.
9+
10+
The DBPedia ontology classification dataset is constructed by Xiang Zhang (xiang.zhang@nyu.edu), licensed under the terms of the Creative Commons Attribution-ShareAlike License and the GNU Free Documentation License. It is used as a text classification benchmark in the following paper: Xiang Zhang, Junbo Zhao, Yann LeCun. Character-level Convolutional Networks for Text Classification. Advances in Neural Information Processing Systems 28 (NIPS 2015).
11+
12+
13+
DESCRIPTION
14+
15+
The DBpedia ontology classification dataset is constructed by picking 14 non-overlapping classes from DBpedia 2014. They are listed in classes.txt. From each of thse 14 ontology classes, we randomly choose 40,000 training samples and 5,000 testing samples. Therefore, the total size of the training dataset is 560,000 and testing dataset 70,000.
16+
17+
The files train.csv and test.csv contain all the training samples as comma-sparated values. There are 3 columns in them, corresponding to class index (1 to 14), title and content. The title and content are escaped using double quotes ("), and any internal double quote is escaped by 2 double quotes (""). There are no new lines in title or content.

data/dbpedia/test.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
TY KU TY KU /taɪkuː/ is an American alcoholic beverage company that specializes in sake and other spirits. The privately-held company was founded in 2004 and is headquartered in New York City New York. While based in New York TY KU's beverages are made in Japan through a joint venture with two sake breweries. Since 2011 TY KU's growth has extended its products into all 50 states.,0
2+
Odd Lot Entertainment OddLot Entertainment founded in 2001 by longtime producers Gigi Pritzker and Deborah Del Prete (The Wedding Planner) is a film production and financing company based in Culver City California.OddLot produced the film version of Orson Scott Card's sci-fi novel Ender's Game. A film version of this novel had been in the works in one form or another for more than a decade by the time of its release.,0
3+
Henkel Henkel AG & Company KGaA operates worldwide with leading brands and technologies in three business areas: Laundry & Home Care Beauty Care and Adhesive Technologies. Henkel is the name behind some of America’s favorite brands.,0
4+
GOAT Store The GOAT Store (Games Of All Type Store) LLC is one of the largest retro gaming online stores and an Independent Video Game Publishing Label. Additionally they are one of the primary sponsors for Midwest Gaming Classic.,0
5+
RagWing Aircraft Designs RagWing Aircraft Designs (also called the RagWing Aeroplane Company and RagWing Aviation) was an American aircraft design and manufacturing company based in Belton South Carolina.,0
6+
Pošte Srpske Pošte Srpske is one of three companies responsible for postal service in Bosnia and Herzegovina. The other two are BH Pošta and Hrvatska Pošta Mostar.,0
7+
Open Kernel Labs Open Kernel Labs (OK Labs) is a privately owned company that develops microkernel-based hypervisors and operating systems for embedded systems. The company was founded in 2006 by Steve Subar and Gernot Heiser as a spinout from NICTA. It is headquartered in Chicago while research and development is located in Sydney Australia. The company was acquired by General Dynamics in September 2012.,0
8+
Skye Bank Skye Bank Plc. commonly known as Skye Bank is a commercial bank based in Nigeria. It is one of the twenty-six (26) commercial banks licensed by the Central Bank of Nigeria the country's banking regulator.,0
9+
CNet Technology CNet Technology is a Taiwanese company that manufactures network equipment such as network cards switches and modems.,0
10+
188BET 188BET is an online sportsbook provider. 188BET is owned by Cube Limited which is licensed and regulated by the Isle of Man.,0

data/dbpedia/train.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Sterling Piano Company The Sterling Piano Company was a piano manufacturer in Derby Connecticut. The company was founded in 1873 by Charles A. Sterling as the Sterling Organ Company. Sterling had purchased the Birmingham Organ Company in 1871 and had $30000 to fund the company. The Sterling Organ Company began making pianos in 1885.,0
2+
NYC S-Motor S-Motor was the class designation given by the New York Central to its ALCO-GE built S-1 S-2 S-2a and S-3 electric locomotives. The S-Motors hold the distinction of being the world's first mass-produced main line electric locomotives with the prototype #6000 being constructed in 1904. The S-Motors would serve alone until the more powerful T-motors began to arrive in 1913 eventually displacing them from main line passenger duties.,5
3+
Axel Zwingenberger Axel Zwingenberger (born May 7 1955 Hamburg Germany) is a blues and boogie-woogie pianist and songwriter. He is considered one of the finest boogie-woogie music masters in the world.,2
4+
Sceptrophasma hispidulum Sceptrophasma hispidulum commonly known as the Andaman islands Stick Insect is a species of the stick insect family. It originates from the Andaman Islands and is commonly found in tropical forests there. They eat a variety of foliage though in captivity they commonly eat blackberry bramble hawthorn oak rose and lettuce. The species has the Phasmid Study Group number PSG183.,9
5+
Nucet River (Chiojdeanca) The Nucet River is a tributary of the Chiojdeanca River in Romania.,7
6+
Kardia Mou Min Anisiheis Kardia Mou Min Anisiheis (Greek: Καρδιά Μου Μην Ανησυχείς English: Do not worry my heart) is an album by Antonis Remos. It was released in May 2002 and was the second best selling album of the year selling more than 120000 copies and was certified 3x Platinum. In Cyprus the album sold more than 12000 copies and was certified 2x Platinum.,11
7+
Costas Evangelatos Costas Evangelatos is a Greek artist and poet born in Argostoli in 1957 but he is originated by his father side from Lixouri Kefalonia. He studied law at Athens University painting and aesthetic theory of modern art in Manhattan (New York City). From 1986 until 1993 he was the artistic director of the DADA Gallery in Athens and in 1990 founded the art group ART STUDIO EST.Along with painting has worked internationally in the fields of Performance Body Art Happening and Mail art.,2
8+
Ted Davis (American football) Richard Kenneth Davis (born July 27 1942 in Memphis Tennessee) is a former American football player in the National Football League. He played for the Baltimore Colts the New Orleans Saints and the Miami Dolphins. He played collegiately for the Georgia Tech football team. He was inducted into the Georgia Tech Hall of Fame in 1980.,3
9+
Evanildo Borges Barbosa Júnior Evanildo Borges Barbosa Júnior known as Juninho (born January 11 1990 in Salvador Bahia) is a left back who plays for Série A club Palmeiras.,3
10+
Shaw Historic District Shaw Historic District also known as Francis B. Shaw Block Historic District is a national historic district located in Doylestown Bucks County Pennsylvania. The district includes seven contributing buildings in a residential and industrial area of Doylestown. The block was developed between 1833 and 1914 and includes the Bryan House (c. 1833) Clemens Double House (pre-1874) Goodman House (c. 1835) Kulp House (c.,6

0 commit comments

Comments
 (0)