aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
-rw-r--r--rdf/learning.sdm72
-rw-r--r--rdf/sdml-catalog.json11
3 files changed, 95 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index df04b93..ec7e1a8 100644
--- a/Makefile
+++ b/Makefile
@@ -145,3 +145,15 @@ $(ARTICLES:%=%/b.tex): %/b.tex:
quarto render $*/index.qmd --to pdf -M keep-tex:true --output b.pdf
mv --force $*/index.tex $@
rm --force _site/b.pdf
+
+rdf/learning.svg: rdf/learning.sdm
+ cd rdf && sdml draw --diagram concepts -i learning.sdm -f svg -o learning.svg
+
+rdf/learning-er.svg: rdf/learning.sdm
+ cd rdf && sdml draw --diagram entity-relationship -i learning.sdm -f svg -o learning-er.svg
+
+rdf/learning-uml.svg: rdf/learning.sdm
+ cd rdf && sdml draw --diagram uml-class -i learning.sdm -f svg -o learning-uml.svg
+
+rdf/learning.rdf: rdf/learning.sdm
+ cd rdf && sdml convert -i learning.sdm -f rdf -o learning.rdf --no-color
diff --git a/rdf/learning.sdm b/rdf/learning.sdm
new file mode 100644
index 0000000..c85654c
--- /dev/null
+++ b/rdf/learning.sdm
@@ -0,0 +1,72 @@
+module learning base <https://thoughtroam.abcdefghijklmnopqrstuvxyzæøå.dk/rdf/> is
+
+ import [ dc skos xsd ]
+
+ @skos:prefLabel = "Learning Ontology"@en
+ @dc:description = "Tentacular learning as defined by Ernst Schraube"@en
+ @dc:created = @xsd:date("2024-04-26 Fri")
+ @dc:creator = <https://dr.jones.dk/me/#me>
+ @dc:license = <https://spdx.org/licenses/AGPL-3.0-or-later>
+
+ ;; Illeris
+ entity Learner is
+ identity id -> unknown
+
+ isFacilitatedBy -> Teacher
+ end
+
+ entity Teacher is
+ identity id -> unknown
+
+ facilitates -> Learner
+ end
+
+ entity Material
+
+ entity Teaching
+
+ entity School
+
+ ;; the "what"
+ entity Goal
+
+ ;; the "why"
+ structure Motivation is
+ type -> MotivationType
+ motivatedBy -> Motivator
+ end
+
+ enum MotivationType of
+ Defensive
+ Expansive
+ end
+
+ ;; the "how"
+ structure Movement is
+ type -> MotivationType
+ end
+
+ enum MovementType of
+ Affinitive
+ Definitive
+ end
+
+ ;; the "evaluation"
+ entity Evaluation
+
+ entity Motivator
+; affectsMotivation
+
+ entity Method
+
+ entity Expectation
+
+ entity Prelearned
+
+; entity World
+
+ entity
+
+ entity
+
+end
diff --git a/rdf/sdml-catalog.json b/rdf/sdml-catalog.json
new file mode 100644
index 0000000..7e6a4af
--- /dev/null
+++ b/rdf/sdml-catalog.json
@@ -0,0 +1,11 @@
+{
+ "base": "https://thoughtroam.abcdefghijklmnopqrstuvxyzæøå.dk/rdf/",
+ "entries": {
+ "vehicle": {
+ "item": {
+ "relative_url": "learning#",
+ "relative_path": "./learning.sdm"
+ }
+ }
+ }
+}