File: rdf_concepts.h

package info (click to toggle)
redland 1.0.7-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 27,592 kB
  • ctags: 12,328
  • sloc: ansic: 79,017; xml: 25,115; sh: 10,162; yacc: 5,985; lex: 3,682; makefile: 3,260; perl: 2,814; cpp: 59
file content (719 lines) | stat: -rw-r--r-- 17,149 bytes parent folder | download
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
/* -*- Mode: c; c-basic-offset: 2 -*-
 *
 * rdf_concepts.h - Definitions of RDF concept URIs and nodes
 *
 * $Id: rdf_concepts.h 13171 2007-11-12 09:25:18Z laalto $
 *
 * Copyright (C) 2000-2006, David Beckett http://purl.org/net/dajobe/
 * Copyright (C) 2000-2004, University of Bristol, UK http://www.bristol.ac.uk/
 * 
 * This package is Free Software and part of Redland http://librdf.org/
 * 
 * It is licensed under the following three licenses as alternatives:
 *   1. GNU Lesser General Public License (LGPL) V2.1 or any newer version
 *   2. GNU General Public License (GPL) V2 or any newer version
 *   3. Apache License, V2.0 or any newer version
 * 
 * You may not use this file except in compliance with at least one of
 * the above three licenses.
 * 
 * See LICENSE.html or LICENSE.txt at the top of this package for the
 * complete terms and further detail along with the license texts for
 * the licenses in COPYING.LIB, COPYING and LICENSE-2.0.txt respectively.
 * 
 * 
 */


#ifndef LIBRDF_CONCEPTS_H
#define LIBRDF_CONCEPTS_H

#ifdef LIBRDF_INTERNAL
#include <rdf_concepts_internal.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif

typedef enum {
  LIBRDF_CONCEPT_MS_Alt,
  LIBRDF_CONCEPT_MS_Bag,
  LIBRDF_CONCEPT_MS_Property,
  LIBRDF_CONCEPT_MS_Seq,
  LIBRDF_CONCEPT_MS_Statement,
  LIBRDF_CONCEPT_MS_object,
  LIBRDF_CONCEPT_MS_predicate,
  LIBRDF_CONCEPT_MS_subject,
  LIBRDF_CONCEPT_MS_type,
  LIBRDF_CONCEPT_MS_value,
  LIBRDF_CONCEPT_MS_li,

  LIBRDF_CONCEPT_MS_RDF,
  LIBRDF_CONCEPT_MS_Description,

  LIBRDF_CONCEPT_MS_aboutEach,
  LIBRDF_CONCEPT_MS_aboutEachPrefix,

  LIBRDF_CONCEPT_RS_nodeID,
  LIBRDF_CONCEPT_RS_List,
  LIBRDF_CONCEPT_RS_first,
  LIBRDF_CONCEPT_RS_rest,
  LIBRDF_CONCEPT_RS_nil,
  LIBRDF_CONCEPT_RS_XMLLiteral,

  /* RDF Schema concepts defined in prose at
   *   http://www.w3.org/TR/2000/CR-rdf-schema-20000327/
   * and in RDF Schema form at 
   *   http://www.w3.org/2000/01/rdf-schema
   */
  LIBRDF_CONCEPT_S_Class,
  LIBRDF_CONCEPT_S_ConstraintProperty,
  LIBRDF_CONCEPT_S_ConstraintResource,
  LIBRDF_CONCEPT_S_Container,
  LIBRDF_CONCEPT_S_ContainerMembershipProperty,
  LIBRDF_CONCEPT_S_Literal,
  LIBRDF_CONCEPT_S_Resource,
  LIBRDF_CONCEPT_S_comment,
  LIBRDF_CONCEPT_S_domain,
  LIBRDF_CONCEPT_S_isDefinedBy,
  LIBRDF_CONCEPT_S_label,
  LIBRDF_CONCEPT_S_range,
  LIBRDF_CONCEPT_S_seeAlso,
  LIBRDF_CONCEPT_S_subClassOf,
  LIBRDF_CONCEPT_S_subPropertyOf,

  /* first entry from schema namespace */
  LIBRDF_CONCEPT_FIRST_S_ID = LIBRDF_CONCEPT_S_Class,

  LIBRDF_CONCEPT_LAST = LIBRDF_CONCEPT_S_subPropertyOf,
} librdf_concepts_index;


/* NOTE: If the above list changes, edit the macros below and
 * librdf_concept_labels in rdf_concepts.c The above list is ordered
 * by simple 'sort' order 
 */

/* Get Redland node/uri object for RDF concepts */
REDLAND_API
librdf_node* librdf_get_concept_resource_by_index(librdf_world *world, librdf_concepts_index idx);
REDLAND_API
librdf_uri* librdf_get_concept_uri_by_index(librdf_world *world, librdf_concepts_index idx);


/* public macros for the resources (librdf_node*) representing the concepts
 */

/**
 * LIBRDF_MS_Alt:
 *
 * RDF namespace concept librdf_node Alt
 */
#define LIBRDF_MS_Alt(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_Alt)

/**
 * LIBRDF_MS_Bag:
 *
 * RDF namespace concept librdf_node Bag
 */
#define LIBRDF_MS_Bag(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_Bag)

/**
 * LIBRDF_MS_Property:
 *
 * RDF namespace concept librdf_node Property
 */
#define LIBRDF_MS_Property(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_Property)

/**
 * LIBRDF_MS_Seq:
 *
 * RDF namespace concept librdf_node Seq
 */
#define LIBRDF_MS_Seq(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_Seq)

/**
 * LIBRDF_MS_Statement:
 *
 * RDF namespace concept librdf_node Statement
 */
#define LIBRDF_MS_Statement(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_Statement)

/**
 * LIBRDF_MS_object:
 *
 * RDF namespace concept librdf_node object
 */
#define LIBRDF_MS_object(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_object)

/**
 * LIBRDF_MS_predicate:
 *
 * RDF namespace concept librdf_node predicate
 */
#define LIBRDF_MS_predicate(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_predicate)

/**
 * LIBRDF_MS_subject:
 *
 * RDF namespace concept librdf_node subject
 */
#define LIBRDF_MS_subject(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_subject)

/**
 * LIBRDF_MS_type:
 *
 * RDF namespace concept librdf_node type
 */
#define LIBRDF_MS_type(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_type)

/**
 * LIBRDF_MS_value:
 *
 * RDF namespace concept librdf_node value
 */
#define LIBRDF_MS_value(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_value)

/**
 * LIBRDF_MS_li:
 *
 * RDF namespace concept librdf_node li
 */
#define LIBRDF_MS_li(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_li)

/**
 * LIBRDF_MS_RDF:
 *
 * RDF namespace concept librdf_node RDF
 */
#define LIBRDF_MS_RDF(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_RDF)

/**
 * LIBRDF_MS_Description:
 *
 * RDF namespace concept librdf_node Description
 */
#define LIBRDF_MS_Description(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_Description)

/**
 * LIBRDF_MS_aboutEach:
 *
 * RDF namespace concept librdf_node aboutEach
 */
#define LIBRDF_MS_aboutEach(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_aboutEach)

/**
 * LIBRDF_MS_aboutEachPrefix:
 *
 * RDF namespace concept librdf_node aboutEachPrefix
 */
#define LIBRDF_MS_aboutEachPrefix(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_MS_aboutEachPrefix)

/**
 * LIBRDF_RS_nodeID:
 *
 * RDF namespace concept librdf_node nodeID
 */
#define LIBRDF_RS_nodeID(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_RS_nodeID)

/**
 * LIBRDF_RS_List:
 *
 * RDF namespace concept librdf_node List
 */
#define LIBRDF_RS_List(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_RS_List)

/**
 * LIBRDF_RS_first:
 *
 * RDF namespace concept librdf_node first
 */
#define LIBRDF_RS_first(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_RS_first)

/**
 * LIBRDF_RS_rest:
 *
 * RDF namespace concept librdf_node rest
 */
#define LIBRDF_RS_rest(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_RS_rest)

/**
 * LIBRDF_RS_nil:
 *
 * RDF namespace concept librdf_node nil
 */
#define LIBRDF_RS_nil(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_RS_nil)

/**
 * LIBRDF_RS_XMLLiteral:
 *
 * RDF namespace concept librdf_node XMLLiteral
 */
#define LIBRDF_RS_XMLLiteral(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_RS_XMLLiteral)


/**
 * LIBRDF_S_Class:
 *
 * RDFS namespace concept Class
 */
#define LIBRDF_S_Class(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_Class)

/**
 * LIBRDF_S_ConstraintProperty:
 *
 * RDFS namespace concept ConstraintProperty
 */
#define LIBRDF_S_ConstraintProperty(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_ConstraintProperty)

/**
 * LIBRDF_S_ConstraintResource:
 *
 * RDFS namespace concept ConstraintResource
 */
#define LIBRDF_S_ConstraintResource(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_ConstraintResource)

/**
 * LIBRDF_S_Container:
 *
 * RDFS namespace concept Container
 */
#define LIBRDF_S_Container(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_Container)

/**
 * LIBRDF_S_ContainerMembershipProperty:
 *
 * RDFS namespace concept ContainerMembershipProperty
 */
#define LIBRDF_S_ContainerMembershipProperty(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_ContainerMembershipProperty)

/**
 * LIBRDF_S_Literal:
 *
 * RDFS namespace concept Literal
 */
#define LIBRDF_S_Literal(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_Literal)

/**
 * LIBRDF_S_Resource:
 *
 * RDFS namespace concept Resource
 */
#define LIBRDF_S_Resource(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_Resource)

/**
 * LIBRDF_S_comment:
 *
 * RDFS namespace concept comment
 */
#define LIBRDF_S_comment(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_comment)

/**
 * LIBRDF_S_domain:
 *
 * RDFS namespace concept domain
 */
#define LIBRDF_S_domain(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_domain)

/**
 * LIBRDF_S_isDefinedBy:
 *
 * RDFS namespace concept isDefinedBy
 */
#define LIBRDF_S_isDefinedBy(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_isDefinedBy)

/**
 * LIBRDF_S_label:
 *
 * RDFS namespace concept label
 */
#define LIBRDF_S_label(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_label)

/**
 * LIBRDF_S_range:
 *
 * RDFS namespace concept range
 */
#define LIBRDF_S_range(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_range)

/**
 * LIBRDF_S_seeAlso:
 *
 * RDFS namespace concept seeAlso
 */
#define LIBRDF_S_seeAlso(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_seeAlso)

/**
 * LIBRDF_S_subClassOf:
 *
 * RDFS namespace concept subClassOf
 */
#define LIBRDF_S_subClassOf(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_subClassOf)

/**
 * LIBRDF_S_subPropertyOf:
 *
 * RDFS namespace concept subPropertyOf
 */
#define LIBRDF_S_subPropertyOf(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_subPropertyOf)

/**
 * LIBRDF_S_subPropertyOf:
 *
 * RDFS namespace concept subPropertyOf
 */
#define LIBRDF_S_subPropertyOf(world) \
  librdf_get_concept_resource_by_index(world, LIBRDF_CONCEPT_S_subPropertyOf)



/* public macros for the URIs (librdf_uri*) representing the concepts */

/**
 * LIBRDF_MS_Alt_URI:
 *
 * RDF namespace concept URI Alt
 */
#define LIBRDF_MS_Alt_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_Alt)

/**
 * LIBRDF_MS_Bag_URI:
 *
 * RDF namespace concept URI Bag
 */
#define LIBRDF_MS_Bag_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_Bag)

/**
 * LIBRDF_MS_Property_URI:
 *
 * RDF namespace concept URI Property
 */
#define LIBRDF_MS_Property_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_Property)

/**
 * LIBRDF_MS_Seq_URI:
 *
 * RDF namespace concept URI Seq
 */
#define LIBRDF_MS_Seq_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_Seq)

/**
 * LIBRDF_MS_Statement_URI:
 *
 * RDF namespace concept URI Statement
 */
#define LIBRDF_MS_Statement_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_Statement)

/**
 * LIBRDF_MS_object_URI:
 *
 * RDF namespace concept URI object
 */
#define LIBRDF_MS_object_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_object)

/**
 * LIBRDF_MS_predicate_URI:
 *
 * RDF namespace concept URI predicate
 */
#define LIBRDF_MS_predicate_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_predicate)

/**
 * LIBRDF_MS_subject_URI:
 *
 * RDF namespace concept URI subject
 */
#define LIBRDF_MS_subject_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_subject)

/**
 * LIBRDF_MS_type_URI:
 *
 * RDF namespace concept URI type
 */
#define LIBRDF_MS_type_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_type)

/**
 * LIBRDF_MS_value_URI:
 *
 * RDF namespace concept URI value
 */
#define LIBRDF_MS_value_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_value)

/**
 * LIBRDF_MS_li_URI:
 *
 * RDF namespace concept URI li
 */
#define LIBRDF_MS_li_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_li)

/**
 * LIBRDF_MS_RDF_URI:
 *
 * RDF namespace concept URI RDF
 */
#define LIBRDF_MS_RDF_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_RDF)

/**
 * LIBRDF_MS_Description_URI:
 *
 * RDF namespace concept URI Description
 */
#define LIBRDF_MS_Description_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_Description)

/**
 * LIBRDF_MS_aboutEach_URI:
 *
 * RDF namespace concept URI aboutEach
 */
#define LIBRDF_MS_aboutEach_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_aboutEach)

/**
 * LIBRDF_MS_aboutEachPrefix_URI:
 *
 * RDF namespace concept URI aboutEachPrefix
 */
#define LIBRDF_MS_aboutEachPrefix_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_MS_aboutEachPrefix)

/**
 * LIBRDF_RS_nodeID_URI:
 *
 * RDF namespace concept URI nodeID
 */
#define LIBRDF_RS_nodeID_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_RS_nodeID)

/**
 * LIBRDF_RS_List_URI:
 *
 * RDF namespace concept URI List
 */
#define LIBRDF_RS_List_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_RS_List)

/**
 * LIBRDF_RS_first_URI:
 *
 * RDF namespace concept URI first
 */
#define LIBRDF_RS_first_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_RS_first)

/**
 * LIBRDF_RS_rest_URI:
 *
 * RDF namespace concept URI rest
 */
#define LIBRDF_RS_rest_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_RS_rest)

/**
 * LIBRDF_RS_nil_URI:
 *
 * RDF namespace concept URI nil
 */
#define LIBRDF_RS_nil_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_RS_nil)

/**
 * LIBRDF_RS_XMLLiteral_URI:
 *
 * RDF namespace concept URI XMLLiteral
 */
#define LIBRDF_RS_XMLLiteral_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_RS_XMLLiteral)


/**
 * LIBRDF_S_subPropertyOf_URI:
 *
 * RDFS namespace concept URI subPropertyOf
 */
#define LIBRDF_S_subPropertyOf_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_subPropertyOf)

/**
 * LIBRDF_S_subClassOf_URI:
 *
 * RDFS namespace concept URI subClassOf
 */
#define LIBRDF_S_subClassOf_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_subClassOf)

/**
 * LIBRDF_S_seeAlso_URI:
 *
 * RDFS namespace concept URI seeAlso
 */
#define LIBRDF_S_seeAlso_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_seeAlso)

/**
 * LIBRDF_S_range_URI:
 *
 * RDFS namespace concept URI range
 */
#define LIBRDF_S_range_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_range)

/**
 * LIBRDF_S_label_URI:
 *
 * RDFS namespace concept URI label
 */
#define LIBRDF_S_label_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_label)

/**
 * LIBRDF_S_isDefinedBy_URI:
 *
 * RDFS namespace concept URI isDefinedBy
 */
#define LIBRDF_S_isDefinedBy_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_isDefinedBy)

/**
 * LIBRDF_S_domain_URI:
 *
 * RDFS namespace concept URI domain
 */
#define LIBRDF_S_domain_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_domain)

/**
 * LIBRDF_S_comment_URI:
 *
 * RDFS namespace concept URI comment
 */
#define LIBRDF_S_comment_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_comment)

/**
 * LIBRDF_S_Resource_URI:
 *
 * RDFS namespace concept URI Resource
 */
#define LIBRDF_S_Resource_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_Resource)

/**
 * LIBRDF_S_Literal_URI:
 *
 * RDFS namespace concept URI Literal
 */
#define LIBRDF_S_Literal_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_Literal)

/**
 * LIBRDF_S_Container_URI:
 *
 * RDFS namespace concept URI Container
 */
#define LIBRDF_S_Container_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_Container)

/**
 * LIBRDF_S_ContainerMembershipProperty_URI:
 *
 * RDFS namespace concept URI ContainerMembershipProperty
 */
#define LIBRDF_S_ContainerMembershipProperty_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_ContainerMembershipProperty)

/**
 * LIBRDF_S_ConstraintResource_URI:
 *
 * RDFS namespace concept URI ConstraintResource
 */
#define LIBRDF_S_ConstraintResource_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_ConstraintResource)

/**
 * LIBRDF_S_ConstraintProperty_URI:
 *
 * RDFS namespace concept URI ConstraintProperty
 */
#define LIBRDF_S_ConstraintProperty_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_ConstraintProperty)

/**
 * LIBRDF_S_Class_URI:
 *
 * RDFS namespace concept URI Class
 */
#define LIBRDF_S_Class_URI(world) \
  librdf_get_concept_uri_by_index(world, LIBRDF_CONCEPT_S_Class)


/**
 * LIBRDF_URI_RDF_MS:
 *
 * #librdf_uri for <literal>rdf:</literal> namespace.  Copy with
 * librdf_new_uri_from_uri() before using.
 */
#define LIBRDF_URI_RDF_MS (librdf_concept_ms_namespace_uri)

/**
 * LIBRDF_URI_RDF_SCHEMA:
 *
 * #librdf_uri for <literal>rdfs:</literal> namespace.  Copy with
 * librdf_new_uri_from_uri() before using.
 */
#define LIBRDF_URI_RDF_SCHEMA (librdf_concept_schema_namespace_uri)

#ifdef __cplusplus
}
#endif

#endif