forked from linkeddata/swap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreason.n3
89 lines (69 loc) · 2 KB
/
reason.n3
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
# Vocabulary for proofs
#
#
@prefix : <http://www.w3.org/2000/10/swap/reason#>.
@prefix rea: <http://www.w3.org/2000/10/swap/reason#>.
@prefix n3: <http://www.w3.org/2000/10/swap/reify#>.
@prefix soc: <http://www.w3.org/2000/10/swap/pim/soc#>.
:Step a s:Class;
s:label "proof step";
s:comment """A step in a proof.
See :gives for the arc to the formula proved at this step.
""".
:gives a rdf:Property;
s:label "gives";
s:domain :Step;
s:range n3:Formula.
:Proof s:subClassOf :Step;
s:label "proof";
s:comment
"""A Proof step is the last step in the proof,
a step which :gives that which was to be proved.
Typically a document will assert just one :Proof,
which a checker can then check and turn into
the Formula proved - Q.E.D. .
""".
:Parsing s:subClassOf :Step;
s:label "parsing";
s:comment """The formula given was derived from parsing a
resource.""".
:source rdf:Property;
s:label "source";
s:domain :Parsing;
s:range soc:Work;
s:comment
"""The source document which was parsed.
""".
:Extraction s:subClassOf :Step;
s:label "Co""njunction elimination";
s:comment "The step of taking one statement out of a formula.
The step is identified by the :gives formula (the statement)
and the :because step's :gives formula (the formula extracted
from).
""".
:because a rdf:Property;
s:label "because";
s:domain :Extraction;
s:range :Step;
s:comment """gives the step whose data was input to this step.""".
:Conjunction a :Step;
s:label """The step of conjunction introduction:
taking a bunch of compent statements
and building a formula from them.""".
:component a rdf:Property;
s:label "component";
s:domain :Conjunction;
s:range :Step;
s:comment "A step whose data was used in building this conjunction".
:Binding a s:Class;
s:label "binding";
s:comment """A binding is given eg in a proof or query result
""".
:variable a rdf:Property;
s:label "variable";
s:domain :Binding;
s:range n3:Symbol.
:boundTo a rdf:Property;
s:label "bound to";
s:domain :Binding;
s:range n3:Term.