aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2024-05-22 11:17:16 +0200
committerJonas Smedegaard <dr@jones.dk>2024-06-04 17:35:42 +0200
commit0152443d75079a5e7e9a23e0c93c6d58202ecc7b (patch)
tree99f2cc381a2f68fc776f8f1527a6fba28c52c91f
parent215e598943d19b675903fce5733d1a7940f24d61 (diff)
use ontologies foaf doap, added as stubs
-rw-r--r--learn/core.sdm11
-rw-r--r--sdml-catalog.json12
-rw-r--r--stub/doap.sdm1
-rw-r--r--stub/foaf.sdm1
4 files changed, 21 insertions, 4 deletions
diff --git a/learn/core.sdm b/learn/core.sdm
index 01a705f..8219b59 100644
--- a/learn/core.sdm
+++ b/learn/core.sdm
@@ -2,7 +2,9 @@ module core learn <https://thoughtroam.abcdefghijklmnopqrstuvxyzæøå.dk/learn/
import [
dc
-; foaf <http://xmlns.com/foaf/0.1/>
+ doap
+ foaf
+ rdfs
skos
xsd
]
@@ -15,6 +17,7 @@ module core learn <https://thoughtroam.abcdefghijklmnopqrstuvxyzæøå.dk/learn/
@rdf:type = skos:ConceptScheme
entity Objective is
+ @rdfs:subClassOf = doap:Project
@skos:prefLabel = "Objective"@en
@skos:prefLabel = "Mål"@da
@skos:description = "Abstract or concrete goal/skill/competence resulting from a succesful learning"@en
@@ -29,8 +32,8 @@ module core learn <https://thoughtroam.abcdefghijklmnopqrstuvxyzæøå.dk/learn/
drivesLearner -> Learner
end
- entity Learner is
-; @rdf:type = foaf:Person
+ entity Learner foaf:Person is
+ @rdfs:subClassOf = foaf:Person
@skos:description = "Agent subject to a learning process"@en
identity id -> unknown
@@ -52,7 +55,7 @@ module core learn <https://thoughtroam.abcdefghijklmnopqrstuvxyzæøå.dk/learn/
end
entity Educator is
-; @rdf:type = foaf:Person
+ @rdfs:subClassOf = foaf:Person
@skos:description = "Agent aiding a learner towards an objective"@en
@skos:description = "Agent abstractly or concretely guiding a learner towards an objective"@en
; @skos:narrower = Teacher, Instructor, Facilitator, Evaluator
diff --git a/sdml-catalog.json b/sdml-catalog.json
index 87429f1..ef488cb 100644
--- a/sdml-catalog.json
+++ b/sdml-catalog.json
@@ -24,6 +24,18 @@
"relative_url": "waste/view#",
"relative_path": "waste/view.sdm"
}
+ },
+ "doap": {
+ "item": {
+ "relative_url": "stub/doap#",
+ "relative_path": "stub/doap.sdm"
+ }
+ },
+ "foaf": {
+ "item": {
+ "relative_url": "stub/foaf#",
+ "relative_path": "stub/foaf.sdm"
+ }
}
}
}
diff --git a/stub/doap.sdm b/stub/doap.sdm
new file mode 100644
index 0000000..84fe655
--- /dev/null
+++ b/stub/doap.sdm
@@ -0,0 +1 @@
+module doap is end
diff --git a/stub/foaf.sdm b/stub/foaf.sdm
new file mode 100644
index 0000000..e3c58ce
--- /dev/null
+++ b/stub/foaf.sdm
@@ -0,0 +1 @@
+module foaf is end