DCG

DCG

The set of positive examples consists of all sentences of up to seven words that can be generated by the DCG in Bratko's book (565 positive examples).The set of negative examples was generated by randomly selecting one word in each positive example and replacing it by a randomly selected word the leads to an incorrect sentence, according to the grammar (565 negative examples).

Original source: ijcai.org

Versions

  • DCG (by Mathieu Bally)

Dataset details

Associated task:
Classification
Domain:
Education
Data types:
Size:
300 KB
Count of tables:
2
Count of rows:
8,258
Count of columns:
5
Missing values:
No
Compound keys:
No
Loops:
No
Type:
Synthetic
Instance count:
1,130
Target table:
sentences
Target column:
class
Target ID:
id
Target timestamp:
?

How to download the dataset

The datasets are publicly available directly from MariaDB database.

  1. Open your favourite MariaDB client (MySQL Workbench works, but see FAQ)
  2. Use following credentials:
    • hostname: relational.fel.cvut.cz
    • port: 3306
    • username: guest
    • password: ctu-relational
  3. Export "DCG" database (or other version of the dataset, if available) in your favourite format (e.g. CSV or SQL dump).