source: Dev/branches/jos-branch/server/rdfapi/vocabulary/FOAF_C.php @ 298

Last change on this file since 298 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 5.7 KB
Line 
1<?php
2/**
3*   Friend of a Friend (FOAF) Vocabulary (Resource)
4*
5*   @version $Id: FOAF_C.php 431 2007-05-01 15:49:19Z cweiske $
6*   @author Tobias Gauß (tobias.gauss@web.de)
7*   @package vocabulary
8*
9*   Wrapper, defining resources for all terms of the
10*   Friend of a Friend project (FOAF).
11*   For details about FOAF see: http://xmlns.com/foaf/0.1/.
12*   Using the wrapper allows you to define all aspects of
13*   the vocabulary in one spot, simplifing implementation and
14*   maintainence.
15*/
16class FOAF{
17
18
19        function AGENT()
20        {
21                return  new Resource(FOAF_NS . 'Agent');
22
23        }
24
25        function DOCUMENT()
26        {
27                return  new Resource(FOAF_NS . 'Document');
28
29        }
30
31        function GROUP()
32        {
33                return  new Resource(FOAF_NS . 'Group');
34
35        }
36
37        function IMAGE()
38        {
39                return  new Resource(FOAF_NS . 'Image');
40
41        }
42
43        function ONLINE_ACCOUNT()
44        {
45                return  new Resource(FOAF_NS . 'OnlineAccount');
46
47        }
48
49        function ONLINE_CHAT_ACCOUNT()
50        {
51                return  new Resource(FOAF_NS . 'OnlineChatAccount');
52
53        }
54
55        function ONLINE_ECOMMERCE_ACCOUNT()
56        {
57                return  new Resource(FOAF_NS . 'OnlineEcommerceAccount');
58
59        }
60
61        function ONLINE_GAMING_ACCOUNT()
62        {
63                return  new Resource(FOAF_NS . 'OnlineGamingAccount');
64
65        }
66
67        function ORGANIZATION()
68        {
69                return  new Resource(FOAF_NS . 'Organization');
70
71        }
72
73        function PERSON()
74        {
75                return  new Resource(FOAF_NS . 'Person');
76
77        }
78
79        function PERSONAL_PROFILE_DOCUMENT()
80        {
81                return  new Resource(FOAF_NS . 'PersonalProfileDocument');
82
83        }
84
85        function PROJECT()
86        {
87                return  new Resource(FOAF_NS . 'Project');
88
89        }
90
91        function ACCOUNT_NAME()
92        {
93                return  new Resource(FOAF_NS . 'accountName');
94
95        }
96
97        function ACCOUNT_SERVICE_HOMEPAGE()
98        {
99                return  new Resource(FOAF_NS . 'accountServiceHomepage');
100
101        }
102
103        function AIM_CHAT_ID()
104        {
105                return  new Resource(FOAF_NS . 'aimChatID');
106
107        }
108
109        function BASED_NEAR()
110        {
111                return  new Resource(FOAF_NS . 'based_near');
112
113        }
114
115        function CURRENT_PROJECT()
116        {
117                return  new Resource(FOAF_NS . 'currentProject');
118
119        }
120
121        function DEPICTION()
122        {
123                return  new Resource(FOAF_NS . 'depiction');
124
125        }
126
127        function DEPICTS()
128        {
129                return  new Resource(FOAF_NS . 'depicts');
130
131        }
132
133        function DNA_CHECKSUM()
134        {
135                return  new Resource(FOAF_NS . 'dnaChecksum');
136
137        }
138
139        function FAMILY_NAME()
140        {
141                return  new Resource(FOAF_NS . 'family_name');
142
143        }
144
145        function FIRST_NAME()
146        {
147                return  new Resource(FOAF_NS . 'firstName');
148
149        }
150
151        function FUNDED_BY()
152        {
153                return  new Resource(FOAF_NS . 'fundedBy');
154
155        }
156
157        function GEEKCODE()
158        {
159                return  new Resource(FOAF_NS . 'geekcode');
160
161        }
162
163        function GENDER()
164        {
165                return  new Resource(FOAF_NS . 'gender');
166
167        }
168
169        function GIVENNAME()
170        {
171                return  new Resource(FOAF_NS . 'givenname');
172
173        }
174
175        function HOLDS_ACCOUNT()
176        {
177                return  new Resource(FOAF_NS . 'holdsAccount');
178
179        }
180
181        function HOMEPAGE()
182        {
183                return  new Resource(FOAF_NS . 'homepage');
184
185        }
186
187        function ICQ_CHAT_ID()
188        {
189                return  new Resource(FOAF_NS . 'icqChatID');
190
191        }
192
193        function IMG()
194        {
195                return  new Resource(FOAF_NS . 'img');
196
197        }
198
199        function INTEREST()
200        {
201                return  new Resource(FOAF_NS . 'interest');
202
203        }
204
205        function JABBER_ID()
206        {
207                return  new Resource(FOAF_NS . 'jabberID');
208
209        }
210
211        function KNOWS()
212        {
213                return  new Resource(FOAF_NS . 'knows');
214
215        }
216
217        function LOGO()
218        {
219                return  new Resource(FOAF_NS . 'logo');
220
221        }
222
223        function MADE()
224        {
225                return  new Resource(FOAF_NS . 'made');
226
227        }
228
229        function MAKER()
230        {
231                return  new Resource(FOAF_NS . 'maker');
232
233        }
234
235        function MBOX()
236        {
237                return  new Resource(FOAF_NS . 'mbox');
238
239        }
240
241        function MBOX_SHA1SUM()
242        {
243                return  new Resource(FOAF_NS . 'mbox_sha1sum');
244
245        }
246
247        function MEMBER()
248        {
249                return  new Resource(FOAF_NS . 'member');
250
251        }
252
253        function MEMBERSHIP_CLASS()
254        {
255                return new Resource(FOAF_NS . 'membershipClass');
256
257        }
258
259        function MSN_CHAT_ID()
260        {
261                return  new Resource(FOAF_NS . 'msnChatID');
262
263        }
264
265        function MYERS_BRIGGS()
266        {
267                return  new Resource(FOAF_NS . 'myersBriggs');
268
269        }
270
271        function NAME()
272        {
273                return  new Resource(FOAF_NS . 'name');
274
275        }
276
277        function NICK()
278        {
279                return  new Resource(FOAF_NS . 'nick');
280
281        }
282
283        function PAGE()
284        {
285                return  new Resource(FOAF_NS . 'page');
286
287        }
288
289        function PAST_PROJECT()
290        {
291                return  new Resource(FOAF_NS . 'pastProject');
292
293        }
294
295        function PHONE()
296        {
297                return  new Resource(FOAF_NS . 'phone');
298
299        }
300
301        function PLAN()
302        {
303                return  new Resource(FOAF_NS . 'plan');
304
305        }
306
307        function PRIMARY_TOPIC()
308        {
309                return  new Resource(FOAF_NS . 'primaryTopic');
310
311        }
312
313        function PUBLICATIONS()
314        {
315                return  new Resource(FOAF_NS . 'publications');
316
317        }
318
319        function SCHOOL_HOMEPAGE()
320        {
321                return  new Resource (FOAF_NS . 'schoolHomepage');
322
323        }
324
325        function SHA1()
326        {
327                return  new Resource (FOAF_NS . 'sha1');
328
329        }
330
331        function SURNAME()
332        {
333                return  new Resource (FOAF_NS . 'surname');
334
335        }
336
337        function THEME()
338        {
339                return  new Resource(FOAF_NS . 'theme');
340
341        }
342
343        function THUMBNAIL()
344        {
345                return  new Resource(FOAF_NS . 'thumbnail');
346
347        }
348
349        function TIPJAR()
350        {
351                return  new Resource(FOAF_NS . 'tipjar');
352
353        }
354
355        function TITLE()
356        {
357                return  new Resource(FOAF_NS . 'title');
358
359        }
360
361        function TOPIC()
362        {
363                return  new Resource(FOAF_NS . 'topic');
364
365        }
366
367        function TOPIC_INTEREST()
368        {
369                return  new Resource(FOAF_NS . 'topic_interest');
370
371        }
372
373        function WEBLOG()
374        {
375                return  new Resource(FOAF_NS . 'weblog');
376
377        }
378
379        function WORK_INFO_HOMEPAGE()
380        {
381                return  new Resource(FOAF_NS . 'workInfoHomepage');
382
383        }
384
385        function WORKPLACE_HOMEPAGE()
386        {
387                return  new Resource(FOAF_NS . 'workplaceHomepage');
388
389        }
390
391        function YAHOO_CHAT_ID()
392        {
393                return  new Resource(FOAF_NS . 'yahooChatID');
394        }
395}
396
397
398
399
400
401?>
Note: See TracBrowser for help on using the repository browser.