Skip to content

GavinMendelGleason/OWL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OWL

OWL in agda

Copyright Gavin Mendel-Gleason, released under the GPL.

The basic idea of the code thus far is to provide semantics for OWL Full. It is subject to certain constraints for practicallity, in particular that the modeling sets for individuals and datatypes is small (Set zero - in Agda parlance).

The description is checked against interpretation functions. There are example interpretation functions for a specific OWL theory provided. To make the semantics practically more useable, it would be necessary to choose a fragment for which interpretation functions can be constructed automatically. These could then be shown to satisfy the OWL semantics by construction.

In order to load this code, you need to d/l and install Agda.

http://wiki.portal.chalmers.se/agda/pmwiki.php?n=Main.Download

An example theory is given in "Example.agda". This shows how you must construct interpretations. After the interpretations are constructed you can open the OWL module passing the appropriate interpretations. One can then show inhabitation of a term of type | myTheory | which corresponds to showing that the theory is sound according to OWLs semantics.

The code was developed using Agda 2.4.2.2 and version 0.9 of the Standard Library.

NOTE: Cardinality restrictions are given by a function from predicates to the natural numbers, but are in NO WAY checked. Making this feature constructive requires changes, perhaps to something like a setoid.

About

OWL in agda

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published