-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathswclos.asd
More file actions
143 lines (131 loc) · 5.26 KB
/
swclos.asd
File metadata and controls
143 lines (131 loc) · 5.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
;;;-*- Mode: common-lisp; syntax: common-lisp; package: asdf; base: 10 -*-
;;;
;;;; SWCLOS: A Semantic Web Processor on CLOS
;;;
;;; IT Program Project in Japan:
;;: Building Operation-Support System for Large-scale System using IT.
;;;
;;; This code is written by Seiji Koide at Galaxy Express Corporation, Japan,
;;; for the realization of the MEXT IT Program in Japan.
;;;
;;; Copyright (c) 2003, 2004, 2006 by Galaxy Express Corporation
;;; Copyright (c) 2007, 2008, 2009 Seiji Koide
;;; Copyright (c) 2016-2017 Chun Tian (University of Bologna, Italy)
;;; ASDF system definition.
;;; This file must be used without compiling.
(defpackage gx-system
(:use :common-lisp :asdf))
(in-package :gx-system)
(defvar *swclos-directory* *load-truename*)
(eval-when (:load-toplevel :execute)
(setf (logical-pathname-translations "SWCLOS")
`(("**;*.*"
,(make-pathname
:defaults *swclos-directory*
:directory (append (pathname-directory *swclos-directory*)
(list :wild-inferiors))
:name :wild
:type :wild)))))
(defvar *owl-directory* #p"SWCLOS:OWL;")
(eval-when (:load-toplevel :execute)
(setf (logical-pathname-translations "OWL")
`(("**;*.*"
,(make-pathname
:defaults *owl-directory*
:directory (append (pathname-directory *owl-directory*)
(list :wild-inferiors))
:name :wild
:type :wild))
)))
(defvar *cyc-directory*
(make-pathname :directory (append (pathname-directory *swclos-directory*)
(list "opencyc"))
:defaults *swclos-directory*))
(eval-when (:load-toplevel :execute)
(setf (logical-pathname-translations "CYC")
`(("**;*.owlz"
,(make-pathname
:defaults *cyc-directory*
:directory (append (pathname-directory *cyc-directory*)
(list :wild-inferiors))
:name :wild
:type "owl.gz"))
("**;*.*"
,(make-pathname
:defaults *cyc-directory*
:directory (append (pathname-directory *cyc-directory*)
(list :wild-inferiors))
:name :wild
:type :wild))
)))
(defsystem swclos
:name "SWCLOS"
:long-name "Semantic Web CLOS"
:author "Seiji Koide <SeijiKoide@aol.com>"
:maintainer "Chun Tian (binghe)"
:mailto "binghe.lisp@gmail.com"
:homepage "https://github.com/binghe/SWCLOS"
:version "3.0.0"
:licence "SWCLOS"
:description "SWCLOS is an OWL Full processor on top of CLOS."
:long-description "This code is written at Galaxy Express Corporation, Japan,
for the realization of the MEXT IT Program in Japan, and is maintained by Seiji Koide."
:depends-on (:puri :flexi-streams :closer-mop :named-readtables :gzip-stream)
:default-component-class cl-source-file.cl
:components
((:file "packages")
(:module "RDF" :depends-on ("packages")
:components
((:file "Utils")
(:file "RdfIO")
(:file "IRI")
(:file "Xml")
(:file "rdferror" :depends-on ("Utils"))
(:file "NameSpace" :depends-on ("IRI"))
(:file "Literal" :depends-on ("Utils" "Xml"))
(:file "RDFShare" :depends-on ("RdfIO" "NameSpace"))
(:file "RdfParser" :depends-on ("NameSpace" "RDFShare"))
(:file "RdfReader" :depends-on ("RdfParser"))
(:file "node0" :depends-on ("IRI"))
(:file "node" :depends-on ("node0"))))
(:module "RDFS" :depends-on ("RDF")
:components
((:file "SlotDef")
(:file "RDFboot0" :depends-on ("SlotDef"))
(:file "RDFboot1" :depends-on ("RDFboot0"))
(:file "RDFboot" :depends-on ("RDFboot1"))
(:file "DomainRange" :depends-on ("RDFboot"))
(:file "RdfsKernel" :depends-on ("SlotDef" "RDFboot"))
(:file "GxType0" :depends-on ("SlotDef" "RDFboot"))
(:file "GxType" :depends-on ("GxType0"))
(:file "RdfsObjects" :depends-on ("RDFboot" "GxType"))
(:file "GxForwardRef" :depends-on ("GxType" "RdfsObjects" "DomainRange" "RdfsKernel"))
(:file "RdfsCore" :depends-on ("DomainRange" "RdfsObjects" "RdfsKernel"))
(:file "gxutils" :depends-on ("RdfsCore"))
(:file "rdfwriter" :depends-on ("gxutils" "GxForwardRef"))))
(:module "OWL" :depends-on ("RDFS")
:components
((:file "owlerror")
(:file "owlkernel")
(:file "owlsamedifferent" :depends-on ("owlkernel"))
(:file "owlequivalentdisjoint" :depends-on ("owlkernel"))
(:file "NNF")
(:file "tunify")
(:file "subsume" :depends-on ("NNF" "tunify"))
(:file "OWL" :depends-on ("subsume" "owlkernel"))))
(:module "NTriple" :depends-on ("RDFS")
:components
((:file "ntriple")
(:file "ntparser")
(:file "ntwriter")))
(:module "opencyc" :depends-on ("OWL")
:components
((:file "opencyc")))))
(in-package #:cl-user)
(format t "~%=========== System Description ================")
(describe (asdf:find-system :swclos))
(format t "===============================================~%")
(format t "~%;;To compile, execute these forms:~%~s"
'(asdf:operate 'asdf:compile-op :swclos))
(format t "~%;;To load, execute these forms:~%~s"
'(asdf:operate 'asdf:load-op :swclos))