A RDF Knowledge graph for traditional games:
-
This is a repo for CLARIAH Fellowship Call 2021
-
Data Stories PLAYFAIR-KG data storytelling
-
More info E-Data & Research Article
To make traditional games data Interoperable (the I in FAIR)
Concepts and properties are annotated with general (e.g. Schema.org, Dublin Core or wikipedia) and dedicated digital humanities (e.g. getty) ontologies:
- Data Model Game table - describes a Game
- Data Model Ruleset Regions - describes the rulesets of a Game given geographical regions
- Data Model Ruleset Periods - describes the rulesets of a Game given historical periods
We link Ludeme dataset to data descriptors from the Digital Collection of the British Museum as following:
- keyword: game-board
- Query database: https://www.britishmuseum.org/collection/search?object=game-board
- Download dataset: collections-22-01-26-10 28 18.csv
Other sources from digital collection of international museums are currently being incorporated:
- Louvre Museum:
- keyword: plateau de jeu
- Query database: https://collections.louvre.fr/search/export?q=%22plateau%20de%20jeu%22
- Download dataset csv format: Link
See the ongoing scripts and notebooks using python.
Install dependencies:
yarn global add @rmlio/yarrrml-parser
wget https://github.com/RMLio/rmlmapper-java/releases/download/v4.12.0/rmlmapper.jar
pip install cow-csvw
-
The Input CSV file is in
./data
: -
Generate the metadata file with CSVw mappings:
cow_tool build data/tableGames.csv
-
Change the json file generated:
- Change the base URI to w3id.org/ludeme
- Add
propertyUrl
to map to our predicates (cf. https://www.w3.org/TR/tabular-data-primer/#property-names)
-
You can check our JSON Skeleton Schema in
./data
: -
Run the CSVw mappings to generate RDF:
cow_tool convert data/tableGames.csv
-
The Output RDF file is in
./data
:
-
The Inputs CSV files are in
./data
: -
Follow the instructions given here:
-
The Outputs RDF file are in
./data
:
-
Graphs:
- Datasets publicly available here: https://druid.datalegend.net/UtrillaGuerreroC/playfair
-
Services:
- The SPARQL endpoint is accessible at https://druid.datalegend.net/UtrillaGuerreroC/playfair/sparql/playfairKG
-
Check the SPARQL queries
Queries from the grlc API can be checked and changed in the .rq files.
- Examples:
Want to learn more? Check out PLAYFAIR Website!
PLAYFAIR is funded by CLARIAH Fellowship Call 2021:
This research received funding from the CLARIAH Infrastructure (Grant Agreement No. CP-21-F-I 5) under the WP-3.
Copyright (C) 2021, CLARIAH-PLUS WP1: CP-21-F-I 5
MIT License