summaryrefslogtreecommitdiff
path: root/stm32/stm32.rules
diff options
context:
space:
mode:
Diffstat (limited to 'stm32/stm32.rules')
-rw-r--r--stm32/stm32.rules22
1 files changed, 22 insertions, 0 deletions
diff --git a/stm32/stm32.rules b/stm32/stm32.rules
new file mode 100644
index 0000000..4809e6f
--- /dev/null
+++ b/stm32/stm32.rules
@@ -0,0 +1,22 @@
+# @prefix : <http://org.jena.rules.tutorial#> .
+@prefix : <https://trygvis.io/owl/stm32/STM32%20High%20Performance%20MCUs.owl#>
+
+[hasStudentRule:
+ (?student :takesCourse ?course)
+ (?lecturer :teachesCourse ?course)
+ ->
+ (?lecturer :hasStudent ?student)
+]
+
+[pensionerRule:
+ (?person :hasAge ?age)
+ greaterThan(?age, 60)
+ ->
+ (?person a :Pensioner)
+]
+
+[wat:
+ (?chip :co-processor-type "-")
+ ->
+ remove(0)
+]