forked from fcatools/contexts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split contexts metadata and add script and workflow for automatic mer…
…ging
- Loading branch information
1 parent
f3d28d1
commit c9081ba
Showing
15 changed files
with
355 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Merge YAML Files | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
merge-yaml: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' | ||
|
||
- name: Install dependencies | ||
run: pip install pyyaml | ||
|
||
- name: Run YAML merge script | ||
run: python scripts/merge_contexts_metadata.py | ||
|
||
- name: Commit and push merged YAML file | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git add contexts.yaml | ||
git diff --quiet && git diff --staged --quiet || git commit -m "Update contexts metadata file" | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
animals/animals_en.cxt: | ||
title: Animals | ||
source: "Ganter, B., Wille, R., & Stumme, G. (2005). Formal Concept Analysis: Foundations and Applications (Vol. 3626). Springer, p. 27" | ||
size: | ||
objects: 35 | ||
attributes: 11 | ||
language: English | ||
description: animals and their characteristics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
bodies-of-water/bodiesofwater_en.cxt: | ||
title: Bodies of water | ||
source: "Wille, R. (1984). Liniendiagramme hierarchischer Begriffssysteme. Studien zur Klassifikation. Indeks Verlag" | ||
size: | ||
objects: 8 | ||
attributes: 6 | ||
language: English | ||
description: bodies of water and their properties | ||
|
||
bodies-of-water/bodiesofwater_de.cxt: | ||
title: Gewässer | ||
source: "Wille, R. (1984). Liniendiagramme hierarchischer Begriffssysteme. Studien zur Klassifikation. Indeks Verlag" | ||
size: | ||
objects: 8 | ||
attributes: 6 | ||
language: German | ||
description: bodies of water and their properties | ||
note: German version of bodiesofwater_en.cxt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
drive-concepts-for-motorcars/driveconcepts_en.cxt: | ||
title: Drive Concepts | ||
source: "Ganter, B., & Wille, R. (1999). Formal Concept analysis. Springer, p. 39" | ||
size: | ||
objects: 5 | ||
attributes: 25 | ||
language: English | ||
description: drive concepts for motorcars | ||
note: "Derived from a table on page 402 in the book Schlag nach! 100000 Tatsachen aus allen Wissensgebieten. 13. Auflage. Meyers Lexikonverlag, 1988" | ||
|
||
drive-concepts-for-motorcars/driveconcepts_de.cxt: | ||
title: Drive Concepts | ||
source: "Ganter, B., & Wille, R. (1996). Formale Begriffsanalyse. Springer. p. 39" | ||
size: | ||
objects: 5 | ||
attributes: 25 | ||
language: German | ||
description: drive concepts for motorcars | ||
note: German version of driveconcepts_en.cxt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
famous-animals/famous_animals_en.cxt: | ||
title: Famous Animals | ||
source: "Priss, U. (2006), Formal concept analysis in information science. Ann. Rev. Info. Sci. Tech., 40: 521-543. p.525" | ||
size: | ||
objects: 5 | ||
attributes: 6 | ||
language: English | ||
description: famous animals and their characteristics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
living-beings-and-water/livingbeings_en.cxt: | ||
title: Living Beings and Water | ||
source: "Ganter, B., & Wille, R. (1999). Formal Concept analysis. Springer, p. 18" | ||
size: | ||
objects: 8 | ||
attributes: 9 | ||
language: English | ||
description: conditions different living beings need | ||
|
||
living-beings-and-water/livingbeings_de.cxt: | ||
title: Lebewesen und Wasser | ||
source: "Ganter, B., & Wille, R. (1996). Formale Begriffsanalyse. Springer. p. 18" | ||
size: | ||
objects: 8 | ||
attributes: 9 | ||
language: German | ||
description: conditions different living beings need | ||
note: German version of livingbeings_en.cxt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
miss-marple/missmarple_en.cxt: | ||
title: Methods of murder in Miss Marple novels | ||
source: "Schott, B. (2004). Schotts Sammelsurium. Bloomsbury, Berlin" | ||
size: | ||
objects: 12 | ||
attributes: 6 | ||
language: English | ||
description: methods of murder in Miss Marple novels (not short stories!) | ||
|
||
miss-marple/missmarple_de.cxt: | ||
title: Mordmethoden in Miss-Marple-Romanen | ||
source: "Schott, B. (2004). Schotts Sammelsurium. Bloomsbury, Berlin" | ||
size: | ||
objects: 12 | ||
attributes: 6 | ||
language: German / English | ||
description: methods of murder in Miss Marple novels (not short stories!) | ||
note: German version of missmarple_en.cxt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
music-characteristics/music_en.cxt: | ||
title: Music | ||
source: "Ganter, B., Wille, R., & Stumme, G. (2005). Formal Concept Analysis: Foundations and Applications (Vol. 3626). Springer, p. 22" | ||
size: | ||
objects: 31 | ||
attributes: 11 | ||
language: English | ||
description: music and their characteristics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
new-zealand-activities/newzealand_en.cxt: | ||
title: New Zealand Leasure | ||
source: "DK Eyewitness Travel Guide New Zealand. Dorling Kindersley Publishing Inc. 2001." | ||
size: | ||
objects: 13 | ||
attributes: 8 | ||
language: English | ||
description: Places in New Zealand and offered activities |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
office-supplies-and-services/officesupplies_en.cxt: | ||
title: Office Supplies | ||
source: "Ganter, B., & Wille, R. (1999). Formal Concept analysis. Springer, p. 25" | ||
size: | ||
objects: 8 | ||
attributes: 5 | ||
language: English | ||
description: service offers of an office supplies business | ||
|
||
office-supplies-and-services/officesupplies_de.cxt: | ||
title: Bürobedarf | ||
source: "Ganter, B., & Wille, R. (1996). Formale Begriffsanalyse. Springer. p. 25" | ||
size: | ||
objects: 8 | ||
attributes: 5 | ||
language: German | ||
description: service offers of an office supplies business | ||
note: German version of officesupplies_en.cxt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
planets/planets_en.cxt: | ||
title: Planets | ||
source: "Anggraini, D. (2011). Analisis Perubahan Kelompok Berdasarkan Perubahan Nilai Jual Pada Bloomberg Market Data dengan Menggunakan Formal Concept Analysis, p. 7" | ||
size: | ||
objects: 9 | ||
attributes: 7 | ||
language: English | ||
description: size and distance of planets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
seasoning-planner/seasoningplanner_de.cxt: | ||
title: Gewürzplaner | ||
source: "Mahn, M. (2014). Gewürze: Das Standardwerk. Christian Verlag GmbH, München" | ||
size: | ||
objects: 56 | ||
attributes: 37 | ||
language: German | ||
description: spices and herbs together and the meals they match |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
tea-ladies/tealady.cxt: | ||
title: Tea Ladies | ||
source: "Wille, R. (1992). Concept Lattices and Conceptual Knowledge Systems. Computers & Mathematics with Applications, 23, 6-9, p. 493-515" | ||
size: | ||
objects: 18 | ||
attributes: 14 | ||
language: | ||
description: participation of social events by some ladies in Old City |
Oops, something went wrong.