link.n3
6.11 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
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
182
183
184
185
186
187
188
189
# Linked Data related terms
#
@prefix : <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix s: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix doc: <http://www.w3.org/2000/10/swap/pim/doc#> .
@prefix gen: <http://www.w3.org/2006/gen/ont#>.
@prefix http: <http://www.w3.org/2007/ont/http#>.
@prefix link: <#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/>.
@keywords a, is, of.
<> a owl:Ontology;
<http://purl.org/dc/elements/1.1/description> """
This is a vocabulary for describing relationships betweem
linked data objects and things fetched from the web.
""";
<http://purl.org/dc/elements/1.1/title> "Ontology for Linked Data";
doc:version "$Id: link.n3,v 1.14 2011/12/20 20:31:46 timbl Exp $".
link:uri a rdf:Property; # Not inverse functional property because many
s:label "URI";
s:comment """The URI requested in this access.
This is NOT the relationship betwen a URI and a thing t identifiers""".
link:Document a rdf:Class;
:comment """An Information Resource, such as a web page, image,
data file, etc.""";
:isDefinedBy <>;
owl:sameClassAs gen:InformationResource;
owl:disjointWith foaf:Person;
:label "document" .
link:RDFDocument a rdf:Class;
:comment """An Information Resource whose meaning which can directly mapped into the RDF model. For example a data file which can be reterived as RDF using HTTP.""";
:isDefinedBy <>;
:subClassOf link:Document;
is :subClassOf of <http://www.w3.org/2002/07/owl#Ontology>; # superclass
:label "data document" .
link:Mailbox a rdf:Class;
:comment """An end point in the Internet Mail sytem.
Anything which has a URI in the malto: scheme is a Mailbox.""";
:isDefinedBy <>;
:label "mailbox";
is :range of foaf:mbox; # The FOAF spec does not alas define this.
owl:disjointWith link:Document, foaf:Person.
link:isMentionedIn a rdf:Property;
:comment """
This class is mentioned in the following document
""";
:domain :Class;
:isDefinedBy <>;
:label "is mentioned in";
:range :Resource;
owl:inverseOf link:mentionsClass .
link:mentionsClass a rdf:Property;
:comment "This document mentions the following class";
:domain :Resource;
:isDefinedBy <>;
:label "mentions";
:range :Class;
owl:inverseOf link:isMentionedIn .
link:protocol a rdf:Property;
:comment "The application supports this network protocol.";
:isDefinedBy <>;
:label "supports protocol" .
# Recording this experience of actual network acceses
#
link:Access a :Class;
:label "access";
:comment """An event in which a network access is made.""".
link:Response a :Class;
:label "access";
:comment """A network response to a request.""".
link:ProtocolEvent a :Class;
:label "protocol event"@en;
:comment """A step in a network protocol, such as a request
or response message.""";
is :subClassOf of http:Message, link:Access. # Subclass
link:requestedURI a rdf:Property;
s:label "requested URI";
owl:inverseOf [s:label "request"];
s:domain link:Access.
link:redirectedRequest a rdf:Property;
s:label "redirected request";
owl:inverseOf [s:label "redirected from"];
s:domain link:Access;
s:range link:Access.
link:response a rdf:Property;
s:label "response";
s:domain link:Access;
s:range link:Response.
######### Obsolete:
# link:request a rdf:Property;
# :comment """A network access of the subject.
# A URI of the subject was used in the access.
# May be successful or not.""";
# :range link:Access;
# :isDefinedBy <>;
# :label "access".
# link:handler a rdf:Property;
# :comment """A handler which dealt with this access.""";
# :isDefinedBy <>;
# :label "handler".
link:source a rdf:Property;
:comment "A source file accessed in this session.";
:range link:Document;
:domain link:Session;
:isDefinedBy <>;
:label "uses source";
owl:inverseOf [:label "session"].
[] a rdf:Property;
:comment "The range uses the domain as a resource.";
:isDefinedBy <>;
:label "is used by";
owl:inverseOf link:source .
link:status a rdf:Property;
:comment """The status of a network access.""";
:isDefinedBy <>;
:label "status" .
link:testDataset a rdf:Property;
:comment "Soemthing which can be used as an example for testing purposes";
:domain foaf:Project;
:isDefinedBy <>;
:label "examples and test data" .
# The tabulator session is recorded.
link:Session a :Class;
:label "session";
:comment """A run of the application software in which various
network acecssses etc happen.""".
link:session a rdf:Property;
:label "session";
:domain foaf:Project;
:range link:Session.
## Tracking which document caused another document to load
link:requestedBy a rdf:Property;
:comment """A resource which contains a reference to the subject.
That is, one of the statements in the object file
has the subject URI.
This property is stored by the tabulator library to explain
why it looked up a given URI. This can help
trace an error when it was in fact a mis-spelling.""";
:isDefinedBy <>;
:label "referrer";
owl:inverseOf [ :label "refers to"].
# :range link:Document. This is currentlu a string-string relationship, e.g.need to preserve from smushing.
# ENDS