summaryrefslogtreecommitdiff
path: root/test/regress/regress0/tptp/KRS063+1.p
blob: 737741dee041e08b80188e4a3b44d749a78bf7bf (plain)
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
%------------------------------------------------------------------------------
% File     : KRS063+1 : TPTP v5.5.0. Released v3.1.0.
% Domain   : Knowledge Representation (Semantic Web)
% Problem  : An example combining owl:oneOf and owl:inverseOf
% Version  : Especial.
% English  :

% Refs     : [Bec03] Bechhofer (2003), Email to G. Sutcliffe
%          : [TR+04] Tsarkov et al. (2004), Using Vampire to Reason with OW
% Source   : [Bec03]
% Names    : inconsistent_I4.5-Manifest002 [Bec03]

% Status   : Unsatisfiable
% Rating   : 0.00 v3.1.0
% Syntax   : Number of formulae    :   27 (   9 unit)
%            Number of atoms       :   63 (  18 equality)
%            Maximal formula depth :    8 (   4 average)
%            Number of connectives :   39 (   3 ~  ;   5  |;  14  &)
%                                         (   4 <=>;  13 =>;   0 <=)
%                                         (   0 <~>;   0 ~|;   0 ~&)
%            Number of predicates  :   11 (   0 propositional; 1-2 arity)
%            Number of functors    :    7 (   7 constant; 0-0 arity)
%            Number of variables   :   37 (   0 singleton;  36 !;   1 ?)
%            Maximal term depth    :    1 (   1 average)
% SPC      : FOF_UNS_RFO_SEQ

% Comments : Sean Bechhofer says there are some errors in the encoding of
%            datatypes, so this problem may not be perfect. At least it's
%            still representative of the type of reasoning required for OWL.
%------------------------------------------------------------------------------
fof(cEUCountry_substitution_1,axiom,
    ( ! [A,B] :
        ( ( A = B
          & cEUCountry(A) )
       => cEUCountry(B) ) )).

fof(cEuroMP_substitution_1,axiom,
    ( ! [A,B] :
        ( ( A = B
          & cEuroMP(A) )
       => cEuroMP(B) ) )).

fof(cEuropeanCountry_substitution_1,axiom,
    ( ! [A,B] :
        ( ( A = B
          & cEuropeanCountry(A) )
       => cEuropeanCountry(B) ) )).

fof(cPerson_substitution_1,axiom,
    ( ! [A,B] :
        ( ( A = B
          & cPerson(A) )
       => cPerson(B) ) )).

fof(cowlNothing_substitution_1,axiom,
    ( ! [A,B] :
        ( ( A = B
          & cowlNothing(A) )
       => cowlNothing(B) ) )).

fof(cowlThing_substitution_1,axiom,
    ( ! [A,B] :
        ( ( A = B
          & cowlThing(A) )
       => cowlThing(B) ) )).

fof(rhasEuroMP_substitution_1,axiom,
    ( ! [A,B,C] :
        ( ( A = B
          & rhasEuroMP(A,C) )
       => rhasEuroMP(B,C) ) )).

fof(rhasEuroMP_substitution_2,axiom,
    ( ! [A,B,C] :
        ( ( A = B
          & rhasEuroMP(C,A) )
       => rhasEuroMP(C,B) ) )).

fof(risEuroMPFrom_substitution_1,axiom,
    ( ! [A,B,C] :
        ( ( A = B
          & risEuroMPFrom(A,C) )
       => risEuroMPFrom(B,C) ) )).

fof(risEuroMPFrom_substitution_2,axiom,
    ( ! [A,B,C] :
        ( ( A = B
          & risEuroMPFrom(C,A) )
       => risEuroMPFrom(C,B) ) )).

fof(xsd_integer_substitution_1,axiom,
    ( ! [A,B] :
        ( ( A = B
          & xsd_integer(A) )
       => xsd_integer(B) ) )).

fof(xsd_string_substitution_1,axiom,
    ( ! [A,B] :
        ( ( A = B
          & xsd_string(A) )
       => xsd_string(B) ) )).

%----Thing and Nothing
fof(axiom_0,axiom,
    ( ! [X] :
        ( cowlThing(X)
        & ~ cowlNothing(X) ) )).

%----String and Integer disjoint
fof(axiom_1,axiom,
    ( ! [X] :
        ( xsd_string(X)
      <=> ~ xsd_integer(X) ) )).

%----Enumeration cEUCountry
fof(axiom_2,axiom,
    ( ! [X] :
        ( cEUCountry(X)
      <=> ( X = iPT
          | X = iBE
          | X = iNL
          | X = iES
          | X = iFR
          | X = iUK ) ) )).

%----Equality cEuroMP
fof(axiom_3,axiom,
    ( ! [X] :
        ( cEuroMP(X)
      <=> ? [Y] :
            ( risEuroMPFrom(X,Y)
            & cowlThing(Y) ) ) )).

%----Domain: rhasEuroMP
fof(axiom_4,axiom,
    ( ! [X,Y] :
        ( rhasEuroMP(X,Y)
       => cEUCountry(X) ) )).

%----Inverse: risEuroMPFrom
fof(axiom_5,axiom,
    ( ! [X,Y] :
        ( risEuroMPFrom(X,Y)
      <=> rhasEuroMP(Y,X) ) )).

%----iBE
fof(axiom_6,axiom,
    ( cEuropeanCountry(iBE) )).

%----iES
fof(axiom_7,axiom,
    ( cEuropeanCountry(iES) )).

%----iFR
fof(axiom_8,axiom,
    ( cEuropeanCountry(iFR) )).

%----iKinnock
fof(axiom_9,axiom,
    ( cPerson(iKinnock) )).

%----iKinnock
fof(axiom_10,axiom,
    ( ~ cEuroMP(iKinnock) )).

%----iNL
fof(axiom_11,axiom,
    ( cEuropeanCountry(iNL) )).

%----iPT
fof(axiom_12,axiom,
    ( cEuropeanCountry(iPT) )).

%----iUK
fof(axiom_13,axiom,
    ( cEuropeanCountry(iUK) )).

fof(axiom_14,axiom,
    ( rhasEuroMP(iUK,iKinnock) )).

%------------------------------------------------------------------------------
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback