Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

m28 racer #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions m28.racer
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
(full-reset)
(in-knowledge-base m28-tbox m28)

(signature :atomic-concepts (Falsification Object COVID-19 Disease Drug Virus Antibiotic)
:roles ((treats :domain Drug :range Disease :inverse treated-by)
(heals)
(transmits :domain Virus :range Disease :inverse transmitted-by)
(causes :inverse caused-by)
(has-high-dose)
)
:attributes ((string has-string))
:individuals (m28)
)
; ------------------------------------------------
; Part 1: True/Trusted/Validated medical knowledge
; ------------------------------------------------
(equivalent COVID-19 (and Disease (some caused-by Virus)))
(implies Object (all transmits COVID-19))

; ------------------------------------------------------------
; Part 2: Medical myth manually translated in description logic
; ------------------------------------------------------------
(instance m28 (and Falsification (string= has-string "Covid cannot be transmitted through objects")))
(implies Object (not (some transmits Covid-19)))


; ------------------------------------------------------------
; Part 3: Queries to check incoherence/inconsistency/cycles
; ------------------------------------------------------------
(classify-tbox)
(prepare-abox)

(tbox-cyclic?)
(tbox-coherent?)
(check-tbox-coherence)

(abox-consistent?)
(check-abox-coherence)