Debian Codegraph @

FAQS.html

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
4 <head>
5 <title>Redland librdf RDF API Library - Frequently Asked Questions (FAQs)</title>
6 </head>
7 <body>
8
9 <h1>Redland librdf RDF API Library - Frequently Asked Questions (FAQs)</h1>
10
11
12 <ol>
13
14 <li>What is the license?
15
16 <p>Redland is
17 <a href="http://www.gnu.org/philosophy/free-sw.html">Free Software</a>,
18 or
19 <a href="http://www.opensource.org/">Open Source</a> if you prefer.
20 </p>
21 </li>
22
23 <li>Why is the code released under two licenses - LGPL and Apache 2?
24
25 <p>I originally considered solely a GPL version of the library but
26 this was too restrictive, hence the LGPL version. LGPL also
27 allows the user, at their choice, to license the software under the
28 GPL (See LGPL Term 3) in which case this software can also be used
29 with all the other GPLed code -- see next answer.</p>
30
31 <p>As an alternative, the entire library can be used under the terms
32 of the
33 <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>
34 which allows you use the library in most situations.</p>
35 </li>
36
37 <li>Can I link this library with code under license XXX?
38
39 <p>Firstly, I am not a lawyer, so seek your own legal advice if you
40 care about it seriously. However, here is an overview of how you
41 can use this software:</p>
42
43 <ul>
44 <li>If you choose the LGPL/GPL licenses, the <a href="http://www.gnu.org/philosophy/license-list.html">GNU project list of licenses page</a> says that you can link the following licensed software with the code:<br />
45 GPLed, LGPLed, Guile, GNU Ada, X11, Expat, Standard ML of NJ, Cryptix, modified BSD, zlib,iMatrix, W3C, Berkeley/Sleepycat Database, OpenLDAP, Python 1.6a2 earlier, Python 2.0.1,2.1.1 and later, Perl (as GPL), Clarified Artistic, Artistic 2.0, Zope 2.0, Intel OSL, Netscape JavaScript, eCOS 2.0, Eiffel V2<br />
46 and <b>not</b> these types:<br />
47 Affero, Arphic, original BSD, Original BSD, AFL 1.1, OSL 1.0, Apache 1.0, Apache 1.1, Zope V1, xinetd, Python 1.6b1+ and 2.0 and 2.1, OpenLDAP V2.3, Vim 5.7, IBM PL 1.0, Phorum V1.2, LaTeX (LPPL), MPL, NOSL 1.0, Interbase 1.0, Sun PL, Nokia OSL, Netscape PL, Jabber OSL 1.0, Sun ISSL 1.0, QPL 1.0, Freetype License, PHP License, Zend License<br />
48 check the link above for updates, since the above is not a definitive
49 list.</li>
50
51 <li>If you choose Apache 2.0, you should be able to
52 link with most anything. There is presently a
53 debate on whether the (L)GPL2 is compatible with Apache 2.0
54 (FSF says no, ASF says yes) so when linking with LGPL or GPLed
55 code it makes sense to pick either of the LGPL or GPL licenses.</li>
56 </ul>
57 </li>
58
59 <li>Why is Redland written in C?
60
61 <p>Writing in C allows reuse in lots of ways and the library should
62 be easy to call from languages since most of them allow importing of
63 C libraries or calling of C functions.</p>
64
65 <p>C is also more "portable" (subject to the usual C problems) and
66 should be compilable on many different systems. I have access to
67 and have built it on (at various times):</p>
68
69 <p>Redhat 7-9, RHEL 4, 5; Fedora Core 9-13, Gentoo ~ 2007-2009,
70 Debian 3.0/unstable GNU/Linux (x86); Ubuntu 'D' - 'J' 9.04; Solaris
71 2.5, 7-9 (Sparc); Open SOlaris 10 (Intel); OSX 10.2-10.4 (PPC); OSX
72 10.4-10.6 (intel); Debian GNU/Linux (DEC Alpha); FreeBSD 4.7-4.9
73 (x86); HP-UX 10, OpenBSD, NetBSD and more more.</p>
74
75 <p>it configured, built and tested out of the box on all of these (C
76 interface; the other language APIs depend on the particular support
77 of each OS).</p>
78
79 <p>See also the W3C Library note on
80 <a href="http://www.w3.org/Library/User/Style/Cpp.html">C++ in C</a>
81 which covers some of these issues, although I wrote the library before
82 finding this.</p>
83 </li>
84
85 <li>Why is it called Redland?
86
87 <p>Well, librdf was too boring <tt>:)</tt>! When I originally
88 created it, I worked for
89 the <a href="http://www.bristol.ac.uk/">University of Bristol</a>
90 and lived in the <em>Redland</em> area of Bristol which has an 'R' and a 'D'
91 in the name. Plus I couldn't find a decent word with the letters 'RDF'
92 in it. Years later I realised there's an area of Bristol called
93 Redcliffe, but that opportunity has passed.</p>
94 </li>
95
96 <li>Redlands?
97
98 <p>No. It is named after Redland which is a region of Bristol, UK.
99 Not related to an area near Los Angeles, California, USA.</p>
100 </li>
101
102 <li>Redmond?
103
104 <p>No. It is named after Redland which is a region of Bristol, UK.
105 Not related to an area near Seattle, Washington State, USA.</p>
106 </li>
107
108 <li>Where is the <em>LANG</em> higher-level language interface?
109
110 <p>Redland provides multiple higher-leval language interfaces
111 via <a href="http://www.swig.org/">SWIG</a>. If SWIG does another
112 language you want and supports it, you should be able to build one
113 yourself relatively easily, following the existing scheme.</p>
114
115 </li>
116
117 <li>Does it support an RDF query language?<br />
118
119 <p>Yes. <a href="http://librdf.org/rasqal/">Rasqal</a>
120 provides query language syntax, formatting and execution of both
121 SPARQL 1.0 and RDQL.
122 </p>
123
124 </li>
125
126 <li>Does it run on MS Windows?<br />
127
128 <p>Yes, from reports others have had success compiling the Redland
129 libraries for win32. As of Redland 1.0.0 there are packaged pre-built
130 DLLs for redland available from the
131 <a href="http://download.librdf.org/binaries/win32/">download site</a>,
132 including some language bindings.
133 </p>
134
135 <p>With respect to portability and "unix"-isms in the code, they are
136 flagged in comments and only related to file name handling and maybe in
137 creating temporary files. Raptor's URI module handles win32
138 file URI combinations which have been working for win32 users.</p>
139
140 <p>The Redland libraries all build under the <a
141 href="http://cygwin.com/">Cygwin</a> environment relatively easily
142 using the standard configure and make system.
143 </p>
144 </li>
145
146 <li>Does it run on Apple OSX?<br />
147
148 <p>Yes but may need some development libraries and headers from
149 MacPorts or Fink.</p>
150 </li>
151
152 <li>Redland and Raptor - what are they?<br />
153
154 <p><a href="http://librdf.org/">Redland</a> is the
155 RDF library written in C and including several high-level language
156 APIs providing RDF manipulation and storage. Redland requires Raptor
157 and cannot be used without it since it uses URI and WWW retrieval
158 parts even if no parsing is being performed. The Redland sources
159 currently include Raptor, although this may change.</p>
160
161 <p><a href="http://librdf.org/raptor/">Raptor</a> is the
162 RDF parser library written in C dealing with reading RDF/XML and N-Triples
163 syntaxes (more eventually) into RDF triples. It is an entirely
164 standalone and separate library from Redland, developed and released
165 on a different schedule.</p>
166 </li>
167
168 <li>Rasqal?<br />
169 <p>The <strong>R</strong>DF <strong>S</strong>yntax and <strong>Q</strong>uery <strong>L</strong>ibrary for Redland,
170 pronounced "rascal" - thanks to Phil McCarthy for the name.
171 You can also blame
172 <a href="http://www.talklikeapirate.com/">Talk Like a Pirate Day</a>
173 and
174 <a href="htthttp://www.imdb.com/title/tt0325980/">Pirates of the Caribbean -- The Curse of The Black Pearl</a> (2003). Arrrr!
175 </p>
176 </li>
177
178 <li>Why was the license changed from LGPL/MPL to LGPL/Apache?<br />
179 <p>I outlined my reasons in my
180 <a href="http://lists.usefulinc.com/pipermail/redland-dev/2004-August/000607.html">message to redland-dev</a> 2004-08-27:
181 </p>
182 <blockquote>
183 <p>In my opinion, the MPL isn't very widely used - it is mostly used by
184 the Mozilla project for the browser and it's components. It is based
185 in US law and rather long(*). This means there is a cost in
186 evaluating it, so people tend to use Redland's LGPL/GPL terms since
187 they are one of the most used licenses.</p>
188
189 <p>The Apache 2.0 license[1] has had widespread and detailed
190 consideration including issues with international law. It is a
191 modern license, clear to read and easy to apply. All the Apache
192 Software Foundation (ASF) projects either use it or will be switching
193 to it, and there are lots of similarly licensed BSD-style work that
194 are compatible. It provides good terms for commercial users,
195 requiring just acknowledgement notices. I've not written the notices
196 I'd use for Redland yet.</p>
197
198 <p>I think anyone who was using the Redland libraries under the MPL will
199 be fine with the Apache 2.0 license. Of the commercial users I am
200 aware of, they are using the libraries under the LGPL so this
201 shouldn't affect them, or even be beneficial.</p>
202
203 <p>So why not Apache 2.0 alone? There is still a dispute if it is
204 compatible with the GPL, and until the FSF and the ASF both agree
205 that they are compatible, I will be including explicit GPL
206 compatibility by using the LGPL 2.1.</p>
207
208 ...
209
210 Dave
211
212 <p>(*) Yes so is the GPL/LGPL, but they are very common and familiar.</p>
213
214 </blockquote>
215 </li>
216
217 </ol>
218
219 <hr />
220
221 <p>Copyright (C) 2000-2013 <a href="http://www.dajobe.org/">Dave Beckett</a><br />Copyright (C) 2000-2004, <a href="http://www.bristol.ac.uk/">University of Bristol</a></p>
222
223 </body>
224 </html>