2
* This file is part of Soprano Project.
4
* Copyright (C) 2007 Sebastian Trueg <trueg@kde.org>
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Library General Public
8
* License as published by the Free Software Foundation; either
9
* version 2 of the License, or (at your option) any later version.
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Library General Public License for more details.
16
* You should have received a copy of the GNU Library General Public License
17
* along with this library; see the file COPYING.LIB. If not, write to
18
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19
* Boston, MA 02110-1301, USA.
28
: rdfsNs( "http://www.w3.org/2000/01/rdf-schema#" ),
29
rdfsClass( "http://www.w3.org/2000/01/rdf-schema#Class" ),
30
rdfsComment( "http://www.w3.org/2000/01/rdf-schema#comment" ),
31
rdfsDatatype( "http://www.w3.org/2000/01/rdf-schema#Datatype" ),
32
rdfsDomain( "http://www.w3.org/2000/01/rdf-schema#domain" ),
33
rdfsRange( "http://www.w3.org/2000/01/rdf-schema#range" ),
34
rdfsLabel( "http://www.w3.org/2000/01/rdf-schema#label" ),
35
rdfsSubClassOf( "http://www.w3.org/2000/01/rdf-schema#subClassOf" ),
36
rdfsSubPropertyOf( "http://www.w3.org/2000/01/rdf-schema#subPropertyOf" ),
37
rdfsSeeAlso( "http://www.w3.org/2000/01/rdf-schema#seeAlso" ),
38
rdfsResource( "http://www.w3.org/2000/01/rdf-schema#Resource" ),
39
rdfsMember( "http://www.w3.org/2000/01/rdf-schema#member" ),
40
rdfsLiteral( "http://www.w3.org/2000/01/rdf-schema#Literal" ),
41
rdfsIsDefinedBy( "http://www.w3.org/2000/01/rdf-schema#isDefinedBy" ),
42
rdfsContainer( "http://www.w3.org/2000/01/rdf-schema#Container" ),
43
rdfsContainerMembershipProperty( "http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty" ) {
54
QUrl rdfsSubPropertyOf;
61
QUrl rdfsContainerMembershipProperty;
65
Q_GLOBAL_STATIC( Rdfs, rdfs )
68
QUrl Soprano::Vocabulary::RDFS::rdfsNamespace()
70
return rdfs()->rdfsNs;
74
QUrl Soprano::Vocabulary::RDFS::Class()
76
return rdfs()->rdfsClass;
80
QUrl Soprano::Vocabulary::RDFS::comment()
82
return rdfs()->rdfsComment;
86
QUrl Soprano::Vocabulary::RDFS::Datatype()
88
return rdfs()->rdfsDatatype;
92
QUrl Soprano::Vocabulary::RDFS::domain()
94
return rdfs()->rdfsDomain;
98
QUrl Soprano::Vocabulary::RDFS::range()
100
return rdfs()->rdfsRange;
104
QUrl Soprano::Vocabulary::RDFS::label()
106
return rdfs()->rdfsLabel;
110
QUrl Soprano::Vocabulary::RDFS::subClassOf()
112
return rdfs()->rdfsSubClassOf;
116
QUrl Soprano::Vocabulary::RDFS::subPropertyOf()
118
return rdfs()->rdfsSubPropertyOf;
122
QUrl Soprano::Vocabulary::RDFS::seeAlso()
124
return rdfs()->rdfsSeeAlso;
128
QUrl Soprano::Vocabulary::RDFS::Resource()
130
return rdfs()->rdfsResource;
134
QUrl Soprano::Vocabulary::RDFS::member()
136
return rdfs()->rdfsMember;
140
QUrl Soprano::Vocabulary::RDFS::Literal()
142
return rdfs()->rdfsLiteral;
146
QUrl Soprano::Vocabulary::RDFS::isDefinedBy()
148
return rdfs()->rdfsIsDefinedBy;
152
QUrl Soprano::Vocabulary::RDFS::Container()
154
return rdfs()->rdfsContainer;
158
QUrl Soprano::Vocabulary::RDFS::ContainerMembershipProperty()
160
return rdfs()->rdfsContainerMembershipProperty;