-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
48 lines (31 loc) · 1.42 KB
/
README
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
TripleBit
(c) 2011 Massive Data Management Group @ SCTS & CGCL.
Web site: http://grid.hust.edu.cn/triplebit
This work is licensed under the Creative Commons
Attribution-Noncommercial-Share Alike 3.0 Unported License. To view a copy
of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/
or send a letter to Creative Commons, 171 Second Street, Suite 300,
San Francisco, California, 94105, USA.
Dependency:
-----------
Please install boost and raptor, you can use the following versions or other versions.
boost-1.39.0.tar.gz
raptor-1.4.21.tar.gz
Building:
---------
TripleBit must be build using GNU make and a reasonable C++ compiler. Ideally a simple
make
is enough, it will build the tree high-level executables in bin/lrelease/.
Using:
------
TripleBit currently includes three high-level executables. The first (buildTripleBitFromN3)
is used to build a new database from an turtle/ntriples input:
buildTripleBitFromN3 mydata.n3 database_directory
The input file can be arbitrarily large, the buildTripleBitFromN3 spools to disk if
main memory is exhausted.
The second (buildTripleBitFromRDF) is similar to the first executable except the
input file is a rdf file.
After loading the database can be queried with triplebitQuery:
triplebitQuery database_directory query_directory
The program shows a command prompt and accept SPARQL queries.
Note: TripleBit currently only supports "select" queries.