add gStore_help and formal_experiment
|
@ -1079,12 +1079,14 @@ void VSTree::retrieveEntity(const EntityBitSet& _entity_bit_set, IDList* _p_id_l
|
|||
// Util::logging(_ss.str());
|
||||
// }
|
||||
|
||||
int valid = 0;
|
||||
for (int i=0;i<childNum;i++)
|
||||
{
|
||||
const SigEntry& entry = currentNodePtr->getChildEntry(i);
|
||||
|
||||
if (entry.cover(filterSig))
|
||||
{
|
||||
valid++;
|
||||
if (currentNodePtr->isLeaf())
|
||||
{
|
||||
// if leaf node, add the satisfying entries' entity id to result list.
|
||||
|
@ -1115,6 +1117,7 @@ void VSTree::retrieveEntity(const EntityBitSet& _entity_bit_set, IDList* _p_id_l
|
|||
}
|
||||
}
|
||||
}
|
||||
cerr << "child num: " << childNum << " valid num: " << valid << endl;
|
||||
}
|
||||
Util::logging("OUT retrieveEntity");
|
||||
}
|
||||
|
|
16
docs/FAQ.md
|
@ -1,3 +1,19 @@
|
|||
#### When I use the newer gStore system to query the original database, why error?
|
||||
|
||||
The database produced by gStore contains several indexes, whose structures may have been chnaged in the new gStore version. So, please rebuild your dataset just in case.
|
||||
|
||||
- - -
|
||||
|
||||
#### Why error when I try to write programs based on gStore, just like the Main/gconsole.cpp?
|
||||
|
||||
You need to add these phrases at the beginning of your main program, otherwise gStore will not run correctly:
|
||||
//NOTICE:this is needed to ensure the file path is the work path
|
||||
chdir(dirname(argv[0]));
|
||||
//NOTICE:this is needed to set several debug files
|
||||
Util util;
|
||||
|
||||
- - -
|
||||
|
||||
#### Why does gStore report "garbage collection failed" error when I use teh Java API?
|
||||
|
||||
You need to adjust the parameters of jvm, see [url1](http://www.cnblogs.com/edwardlauxh/archive/2010/04/25/1918603.html) and [url2](http://www.cnblogs.com/redcreen/archive/2011/05/04/2037057.html) for details.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
gStore is a green software, and you just need to compile it with one command. Please run
|
||||
|
||||
`# make`
|
||||
`make`
|
||||
|
||||
in the gStore root directory to compile the gStore code, link the ANTLR lib, and build executable "gload", "gquery", "gserver", "gclient", "gconsole". What is more, the api of gStore is also built now.
|
||||
|
||||
|
|
|
@ -6,6 +6,8 @@ gStore is a graph-based RDF data management system(or what is commonly called a
|
|||
|
||||
We represent a given [SPARQL](http://www.w3.org/TR/sparql11-overview/) query by a query graph Q. Query processing involves finding subgraph matches of Q over the RDF graph G, instead of joining tables in relational data management system. gStore incorporates an index over the RDF graph (called VS-tree) to speed up query processing. VS-tree is a height balanced tree with a number of associated pruning techniques to speed up subgraph matching.
|
||||
|
||||
(NOTICE: Homomorphism is used here, instead of isomorphism)
|
||||
|
||||
**The gStore project is supported by the National Science Foundation of China (NSFC), Natural Sciences and Engineering Research Council (NSERC) of Canada, and Hong Kong RGC.**
|
||||
|
||||
- - -
|
||||
|
|
11
docs/MAIL.md
|
@ -5,8 +5,11 @@
|
|||
## Faculty
|
||||
|
||||
- Lei Zou (Peking University) email:zoulei@pku.edu.cn
|
||||
|
||||
- M. Tamer Özsu (University of Waterloo)
|
||||
|
||||
- Lei Chen (Hong Kong University of Science and Technology)
|
||||
|
||||
- Dongyan Zhao (Peking Univeristy) email:zhaodongyan@pku.edu.cn
|
||||
|
||||
- - -
|
||||
|
@ -14,8 +17,11 @@
|
|||
## Students
|
||||
|
||||
- Youhuan Li (Peking University) (PhD student) email:liyouhuan@pku.edu.cn
|
||||
|
||||
- Shuo Han (Peking University) (PhD student) email:hanshuo@pku.edu.cn
|
||||
|
||||
- Xuchuan Shen (Peking University) (Master's student, graduated) email:shenxuchuan@pku.edu.cn
|
||||
|
||||
- Dong Wang (Peking University) (PhD student, graduated) email:wangdong@pku.edu.cn
|
||||
|
||||
- - -
|
||||
|
@ -23,7 +29,10 @@
|
|||
## Alumni
|
||||
|
||||
- Ruizhe Huang (Peking University) (Undergraudate intern, graduated)
|
||||
|
||||
- Jinhui Mo (Peking University) (Master's, graduated)
|
||||
- Li Zeng (Peking University) (Undergraudate intern) email:zengli-syzz@pku.edu.cn
|
||||
|
||||
- Li Zeng (Peking University) (Undergraudate intern) email:zengli-bookug@pku.edu.cn
|
||||
|
||||
- Jiaqi Chen (Peking University) (Undergraudate intern) email:chenjiaqi93@163.com
|
||||
|
||||
|
|
10
docs/PLAN.md
|
@ -1,7 +1,5 @@
|
|||
## Improve The Core
|
||||
|
||||
- optimize the join operation of node candidates. multiple methods should be achieved, and design a score module to select a best one
|
||||
|
||||
- add numeric value query function. need to answer numeric range query efficiently and space consume cannot be too large
|
||||
|
||||
- add a control module to heuristically select an kind of index for a SPARQL query to filter(not always vstree)
|
||||
|
@ -12,19 +10,13 @@
|
|||
|
||||
## Better The Interface
|
||||
|
||||
- build a console named gconsole, which provides all operations supported by gStore.(parser and auto-complete is required)
|
||||
|
||||
- write web interface for gStore, and a web page to operate on it, just like virtuoso
|
||||
|
||||
- - -
|
||||
|
||||
## Idea Collection Box
|
||||
|
||||
- to support soft links in console: realpath not work...(redefined in ANTLR?)
|
||||
|
||||
- store command history for consoles
|
||||
|
||||
- warnings remain in using Parser/(antlr)!(modify sparql.g 1.1 and regenerate). change name to avoid redefine problem, or go to use executable to parse
|
||||
- warnings remain in using Parser/(antlr)!(modify sparql.g 1.1 and regenerate). change name to avoid redefine problem(maybe error), or go to use executable to parse
|
||||
|
||||
- build compress module(such as key-value module and stream module), but the latter just needs one-pass read/write, which may causes the compress method to be used both in disk and memory. all operations of string in memory can be changed to operations after compress: provide compress/archive interface, compare function. there are many compress algorithms to be chosen, then how to choose? what about utf-8 encoding problem? this method can lower the consume of memory and disk, but consumes more CPU. However, the time is decided by isomorphism. Simple compress is not good, but too complicated method will consume too much time, how to balance? (merge the continuous same characters, Huffman tree)
|
||||
|
||||
|
|
|
@ -210,41 +210,41 @@ To acquire a deep understanding of gStore codes, please go to [Code Detail](pdf/
|
|||
|
||||
If you want to know the sequence of a running gStore, please view the list below:
|
||||
|
||||
- [connect to server](jpg/A01-连接Server.jpg)
|
||||
- [connect to server](jpg/A01-connectServer.jpg)
|
||||
|
||||
- [disconnect server](jpg/A02-断开与Server的连接.jpg)
|
||||
- [disconnect server](jpg/A02-disconnectServer.jpg)
|
||||
|
||||
- [load database](jpg/A03-加载数据库实例.jpg)
|
||||
- [load database](jpg/A03-loadDatabase.jpg)
|
||||
|
||||
- [unload database](jpg/A04-卸载数据库实例.jpg)
|
||||
- [unload database](jpg/A04-unloadDatabase.jpg)
|
||||
|
||||
- [create database](jpg/A05-创建数据库实例.jpg)
|
||||
- [create database](jpg/A05-buildDatabase.jpg)
|
||||
|
||||
- [delete database](jpg/A06-删除数据库实例.jpg)
|
||||
- [delete database](jpg/A06-deleteDatabase.jpg)
|
||||
|
||||
- [connect to database](jpg/A07-连接数据库实例.jpg)
|
||||
- [connect to database](jpg/A07-connectDatabase.jpg)
|
||||
|
||||
- [disconnect database](jpg/A08-断开与数据库实例的连接.jpg)
|
||||
- [disconnect database](jpg/A08-disconnectDatabase.jpg)
|
||||
|
||||
- [show databases](jpg/A09-查看数据库实例列表.jpg)
|
||||
- [show databases](jpg/A09-showDatabase.jpg)
|
||||
|
||||
- [SPARQL query](jpg/A10-查询SPARQL.jpg)
|
||||
- [SPARQL query](jpg/A10-querySPARQL.jpg)
|
||||
|
||||
- [import RDF dataset](jpg/A11-导入RDF数据集.jpg)
|
||||
- [import RDF dataset](jpg/A11-loadRDF.jpg)
|
||||
|
||||
- [insert a triple](jpg/A12-插入一条RDF三元组数据.jpg)
|
||||
- [insert a triple](jpg/A12-insertRDF.jpg)
|
||||
|
||||
- [delete a triple](jpg/A13-删除一条RDF三元组数据.jpg)
|
||||
- [delete a triple](jpg/A13-deleteRDF.jpg)
|
||||
|
||||
- [create account](jpg/B01-创建账户.jpg)
|
||||
- [create account](jpg/B01-createAccount.jpg)
|
||||
|
||||
- [delete account](jpg/B02-删除账户.jpg)
|
||||
- [delete account](jpg/B02-deleteAccount.jpg)
|
||||
|
||||
- [modify account authority](jpg/B03-修改账户权限.jpg)
|
||||
- [modify account authority](jpg/B03-changeAccount.jpg)
|
||||
|
||||
- [compulsively unload database](jpg/B04-强制卸载数据库实例.jpg)
|
||||
- [compulsively unload database](jpg/B04-removeDatabase.jpg)
|
||||
|
||||
- [see account authority](jpg/B05-查看账户权限信息.jpg)
|
||||
- [see account authority](jpg/B05-showAccount.jpg)
|
||||
|
||||
It is really not strange to see something different with the original design in the source code. And some designed functions may have not be achieved so far.
|
||||
|
||||
|
|
|
@ -16,5 +16,5 @@ Through analysing time.log/, we can find that gStore behave better than others o
|
|||
|
||||
Generally speaking, the memory cost of gStore when answering queries is higher than others. More complicated the query is and more large the dataset is, more apparent the phenomenon is.
|
||||
|
||||
You can find more detailed information in [test report](pdf/gstore测试报告.pdf). Notice that some questions in the test report have already be solved now.
|
||||
You can find more detailed information in [test report](pdf/gstore_test_report.pdf). Notice that some questions in the test report have already be solved now.
|
||||
|
||||
|
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 94 KiB |
After Width: | Height: | Size: 82 KiB |
After Width: | Height: | Size: 104 KiB |
After Width: | Height: | Size: 83 KiB |
After Width: | Height: | Size: 92 KiB |
After Width: | Height: | Size: 80 KiB |
|
@ -0,0 +1,23 @@
|
|||
\begin{tikzpicture}[font=\Large]
|
||||
\begin{semilogyaxis}[
|
||||
width = 25cm,
|
||||
height = 10cm ,
|
||||
ybar,
|
||||
ymajorgrids = true,
|
||||
ylabel = {Query Response Time (in ms)},
|
||||
xlabel = {Queries},
|
||||
symbolic x coords = {$Q_{0}$,$Q_{1}$,$Q_{2}$,$Q_{3}$,$Q_{4}$,$Q_{5}$,$Q_{6}$,$Q_{7}$,$Q_{8}$,$Q_{9}$,$Q_{10}$,$Q_{11}$,$Q_{12}$,$Q_{13}$,$Q_{14}$,$Q_{15}$,$Q_{16}$,$Q_{17}$,$Q_{18}$,$Q_{19}$,$Q_{20}$,$Q_{21}$},
|
||||
bar width=5pt,
|
||||
enlarge x limits=0.02,
|
||||
scaled y ticks = true,
|
||||
legend pos= north west,
|
||||
legend cell align=left
|
||||
]
|
||||
\addplot coordinates {($Q_{0}$, 1680) ($Q_{1}$, 1913) ($Q_{2}$, 69101) ($Q_{3}$, 1162) ($Q_{4}$, 1038) ($Q_{5}$, 110) ($Q_{6}$, 220) ($Q_{7}$, 23565) ($Q_{8}$, 398) ($Q_{9}$, 2000) ($Q_{10}$, 317) ($Q_{11}$, 1046) ($Q_{12}$, 483) ($Q_{13}$, 37581) ($Q_{14}$, 503) ($Q_{15}$, 4014) ($Q_{16}$, 89424) ($Q_{17}$, 381) ($Q_{18}$, 88) ($Q_{19}$, 304) ($Q_{20}$, 52) ($Q_{21}$, 42040)};
|
||||
|
||||
|
||||
\addplot coordinates {($Q_{0}$, 262) ($Q_{1}$, 20865) ($Q_{2}$, 6814) ($Q_{3}$, 157) ($Q_{4}$, 212) ($Q_{5}$, 189) ($Q_{6}$, 257) ($Q_{7}$, 18469) ($Q_{8}$, 4365) ($Q_{9}$, 18933) ($Q_{10}$, 11305) ($Q_{11}$, 718) ($Q_{12}$, 237) ($Q_{13}$, 27059) ($Q_{14}$, 176) ($Q_{15}$, 34406) ($Q_{16}$, 26985) ($Q_{17}$, 4267) ($Q_{18}$, 845) ($Q_{19}$, 429) ($Q_{20}$, 162) ($Q_{21}$, 26853)};
|
||||
|
||||
\legend{gStore,Jena}
|
||||
\end{semilogyaxis}
|
||||
\end{tikzpicture}
|
|
@ -0,0 +1,27 @@
|
|||
\begin{tikzpicture}[font=\Large]
|
||||
\begin{semilogyaxis}[
|
||||
width = 25cm,
|
||||
height = 10cm,
|
||||
ymax = 100000,
|
||||
ybar,
|
||||
ymajorgrids = true,
|
||||
ylabel = {Query Response Time (in ms)},
|
||||
xlabel = {Queries},
|
||||
symbolic x coords = {$Q_{0}$,$Q_{1}$,$Q_{2}$,$Q_{3}$,$Q_{4}$,$Q_{5}$,$Q_{6}$,$Q_{7}$,$Q_{8}$,$Q_{9}$,$Q_{10}$,$Q_{11}$,$Q_{12}$,$Q_{13}$,$Q_{14}$,$Q_{15}$,$Q_{16}$,$Q_{17}$,$Q_{18}$,$Q_{19}$,$Q_{20}$,$Q_{21}$},
|
||||
bar width=5pt,
|
||||
enlarge x limits=0.02,
|
||||
scaled y ticks = true,
|
||||
legend pos= north west,
|
||||
legend cell align=left
|
||||
]
|
||||
\addplot coordinates {($Q_{0}$, 201) ($Q_{1}$, 204) ($Q_{2}$, 6688) ($Q_{3}$, 102) ($Q_{4}$, 98) ($Q_{5}$, 39) ($Q_{6}$, 67) ($Q_{7}$, 2327) ($Q_{8}$, 52) ($Q_{9}$, 202) ($Q_{10}$, 58) ($Q_{11}$, 98) ($Q_{12}$, 130) ($Q_{13}$, 3506) ($Q_{14}$, 53) ($Q_{15}$, 1379) ($Q_{16}$, 5049) ($Q_{17}$, 52) ($Q_{18}$, 37) ($Q_{19}$, 130) ($Q_{20}$, 36) ($Q_{21}$, 3396)};
|
||||
|
||||
|
||||
\addplot coordinates {($Q_{0}$, 175) ($Q_{1}$, 2259) ($Q_{2}$, 1204) ($Q_{3}$, 169) ($Q_{4}$, 204) ($Q_{5}$, 172) ($Q_{6}$, 251) ($Q_{7}$, 2364) ($Q_{8}$, 718) ($Q_{9}$, 2253) ($Q_{10}$, 1308) ($Q_{11}$, 326) ($Q_{12}$, 248) ($Q_{13}$, 3125) ($Q_{14}$, 181) ($Q_{15}$, 3954) ($Q_{16}$, 3141) ($Q_{17}$, 748) ($Q_{18}$, 373) ($Q_{19}$, 298) ($Q_{20}$, 160) ($Q_{21}$, 3105)};
|
||||
|
||||
\addplot coordinates {($Q_{0}$, 146) ($Q_{1}$, 1890) ($Q_{2}$, 2409) ($Q_{3}$, 230) ($Q_{4}$, 26) ($Q_{5}$, 79) ($Q_{6}$, 85) ($Q_{7}$, 3800) ($Q_{8}$, 21) ($Q_{9}$, 101) ($Q_{10}$, 780) ($Q_{11}$, 39) ($Q_{12}$, 1020) ($Q_{13}$, 2877) ($Q_{14}$, 34) ($Q_{15}$, 2090) ($Q_{16}$, 6954) ($Q_{17}$, 230) ($Q_{18}$, 890) ($Q_{19}$, 370) ($Q_{20}$, 200) ($Q_{21}$, 4300)};
|
||||
|
||||
|
||||
\legend{gStore,Jena,Virtuoso}
|
||||
\end{semilogyaxis}
|
||||
\end{tikzpicture}
|
|
@ -0,0 +1,27 @@
|
|||
\begin{tikzpicture}[font=\Large]
|
||||
\begin{semilogyaxis}[
|
||||
width = 20cm,
|
||||
height = 9cm ,
|
||||
ybar,
|
||||
ymajorgrids = true,
|
||||
ylabel = {Query Response Time (in ms)},
|
||||
xlabel = {Queries},
|
||||
symbolic x coords = {$C_{1}$,$C_{2}$,$C_{3}$,$F_{1}$,$F_{2}$,$F_{3}$,$L_{1}$,$L_{2}$,$L_{3}$,$S_{1}$,$S_{2}$,$S_{3}$},
|
||||
bar width=5pt,
|
||||
enlarge x limits=0.04,
|
||||
scaled y ticks = true,
|
||||
legend pos= north west,
|
||||
legend cell align=left
|
||||
]
|
||||
\addplot coordinates {($C_{1}$, 1408) ($C_{2}$, 1252) ($C_{3}$, 28677) ($F_{1}$, 126) ($F_{2}$, 215) ($F_{3}$, 971) ($L_{1}$, 129) ($L_{2}$, 623) ($L_{3}$, 321) ($S_{1}$, 135) ($S_{2}$, 253) ($S_{3}$, 41)};
|
||||
|
||||
|
||||
\addplot coordinates {($C_{1}$, 1220) ($C_{2}$, 4617) ($C_{3}$, 153329) ($F_{1}$, 978) ($F_{2}$, 346) ($F_{3}$, 491) ($L_{1}$, 198) ($L_{2}$, 895) ($L_{3}$, 232) ($S_{1}$, 190) ($S_{2}$, 424) ($S_{3}$, 882)};
|
||||
|
||||
|
||||
\addplot coordinates {($C_{1}$, 1087245) ($C_{2}$, 115820) ($C_{3}$, 74156) ($F_{1}$, 96) ($F_{2}$, 350) ($F_{3}$, 741) ($L_{1}$, 43) ($L_{2}$, 67) ($L_{3}$, 3) ($S_{1}$, 656) ($S_{2}$, 47) ($S_{3}$, 44)};
|
||||
|
||||
|
||||
\legend{gStore,Jena,Virtuoso}
|
||||
\end{semilogyaxis}
|
||||
\end{tikzpicture}
|
|
@ -0,0 +1,30 @@
|
|||
\begin{tikzpicture}[font=\Large]
|
||||
\begin{semilogyaxis}[
|
||||
width = 20cm,
|
||||
height = 9cm ,
|
||||
ymax=200000,
|
||||
ybar,
|
||||
ymajorgrids = true,
|
||||
ylabel = {Query Response Time (in ms)},
|
||||
xlabel = {Queries},
|
||||
symbolic x coords = {$C_{1}$,$C_{2}$,$C_{3}$,$F_{1}$,$F_{2}$,$F_{3}$,$L_{1}$,$L_{2}$,$L_{3}$,$S_{1}$,$S_{2}$,$S_{3}$},
|
||||
bar width=5pt,
|
||||
enlarge x limits=0.04,
|
||||
scaled y ticks = true,
|
||||
legend pos= north west,
|
||||
legend cell align=left
|
||||
]
|
||||
\addplot coordinates {($C_{1}$, 122) ($C_{2}$, 121) ($C_{3}$, 1989) ($F_{1}$, 41) ($F_{2}$, 37) ($F_{3}$, 102) ($L_{1}$, 36) ($L_{2}$, 55) ($L_{3}$, 39) ($S_{1}$, 48) ($S_{2}$, 53) ($S_{3}$, 40)};
|
||||
|
||||
|
||||
\addplot coordinates {($C_{1}$, 308) ($C_{2}$, 943) ($C_{3}$, 15805) ($F_{1}$, 375) ($F_{2}$, 327) ($F_{3}$, 346) ($L_{1}$, 202) ($L_{2}$, 322) ($L_{3}$, 162) ($S_{1}$, 230) ($S_{2}$, 283) ($S_{3}$, 344)};
|
||||
|
||||
|
||||
\addplot coordinates {($C_{1}$, 715) ($C_{2}$, 1059) ($C_{3}$, 8987) ($F_{1}$, 57) ($F_{2}$, 73) ($F_{3}$, 283) ($L_{1}$, 5) ($L_{2}$, 8) ($L_{3}$, 4) ($S_{1}$, 242) ($S_{2}$, 7) ($S_{3}$, 50)};
|
||||
|
||||
\addplot coordinates {($C_{1}$, 368) ($C_{2}$, 1396) ($C_{3}$, 8312) ($F_{1}$, 148) ($F_{2}$, 114) ($F_{3}$, 154) ($L_{1}$, 66) ($L_{2}$, 160) ($L_{3}$, 74) ($S_{1}$, 95) ($S_{2}$, 143) ($S_{3}$, 279)};
|
||||
|
||||
|
||||
\legend{gStore,Jena,Virtuoso,Sesame}
|
||||
\end{semilogyaxis}
|
||||
\end{tikzpicture}
|
|
@ -0,0 +1,24 @@
|
|||
\begin{tikzpicture}[font=\Large]
|
||||
\begin{semilogyaxis}[
|
||||
width = 20cm,
|
||||
height = 9cm ,
|
||||
ybar,
|
||||
ymajorgrids = true,
|
||||
ylabel = {Query Response Time (in ms)},
|
||||
xlabel = {Queries},
|
||||
symbolic x coords = {$C_{1}$,$C_{2}$,$C_{3}$,$F_{1}$,$F_{2}$,$F_{3}$,$L_{1}$,$L_{2}$,$L_{3}$,$S_{1}$,$S_{2}$,$S_{3}$},
|
||||
bar width=5pt,
|
||||
enlarge x limits=0.04,
|
||||
scaled y ticks = true,
|
||||
legend pos= north west,
|
||||
legend cell align=left
|
||||
]
|
||||
\addplot coordinates {($C_{1}$, 19602) ($C_{2}$, 11627) ($C_{3}$, 230831) ($F_{1}$, 1044) ($F_{2}$, 6194) ($F_{3}$, 134134) ($L_{1}$, 399) ($L_{2}$, 12548) ($L_{3}$, 620) ($S_{1}$, 490) ($S_{2}$, 2858) ($S_{3}$, 190)};
|
||||
|
||||
|
||||
\addplot coordinates {($C_{1}$, 12241) ($C_{2}$, 14458) ($C_{3}$, 497314) ($F_{1}$, 1679) ($F_{2}$, 2844) ($F_{3}$, 58072) ($L_{1}$, 267) ($L_{2}$, 11884) ($L_{3}$, 711) ($S_{1}$, 359) ($S_{2}$, 1840) ($S_{3}$, 750)};
|
||||
|
||||
|
||||
\legend{gStore,Jena,Virtuoso}
|
||||
\end{semilogyaxis}
|
||||
\end{tikzpicture}
|
|
@ -0,0 +1,30 @@
|
|||
\begin{tikzpicture}[font=\Large]
|
||||
\begin{semilogyaxis}[
|
||||
width = 18cm,
|
||||
height = 9cm ,
|
||||
ymax=200000,
|
||||
ybar,
|
||||
ymajorgrids = true,
|
||||
ylabel = {Query Response Time (in ms)},
|
||||
xlabel = {Queries},
|
||||
symbolic x coords = {$Q_{1}$,$Q_{2}$,$Q_{3}$,$Q_{4}$,$Q_{5}$,$Q_{6}$,$Q_{7}$,$Q_{8}$,$Q_{9}$,$Q_{10}$},
|
||||
bar width=5pt,
|
||||
enlarge x limits=0.07,
|
||||
scaled y ticks = true,
|
||||
legend pos= north west,
|
||||
legend cell align=left
|
||||
]
|
||||
\addplot coordinates {($Q_{1}$, 122) ($Q_{2}$, 121) ($Q_{3}$, 1989) ($Q_{4}$, 41) ($Q_{5}$, 37) ($Q_{6}$, 102) ($Q_{7}$, 36) ($Q_{8}$, 55) ($Q_{9}$, 39) ($Q_{10}$, 48) };
|
||||
|
||||
|
||||
\addplot coordinates {($Q_{1}$, 308) ($Q_{2}$, 943) ($Q_{3}$, 15805) ($Q_{4}$, 375) ($Q_{5}$, 327) ($Q_{6}$, 346) ($Q_{7}$, 202) ($Q_{8}$, 322) ($Q_{9}$, 162) ($Q_{10}$, 230)};
|
||||
|
||||
|
||||
\addplot coordinates {($Q_{1}$, 715) ($Q_{2}$, 1059) ($Q_{3}$, 8987) ($Q_{4}$, 57) ($Q_{5}$, 73) ($Q_{6}$, 283) ($Q_{7}$, 5) ($Q_{8}$, 8) ($Q_{9}$, 4) ($Q_{10}$, 242) };
|
||||
|
||||
\addplot coordinates {($Q_{1}$, 368) ($Q_{2}$, 1396) ($Q_{3}$, 8312) ($Q_{4}$, 148) ($Q_{5}$, 114) ($Q_{6}$, 154) ($Q_{7}$, 66) ($Q_{8}$, 160) ($Q_{9}$, 74) ($Q_{10}$, 95) };
|
||||
|
||||
|
||||
\legend{gStore,Jena,Virtuoso,Sesame}
|
||||
\end{semilogyaxis}
|
||||
\end{tikzpicture}
|
|
@ -0,0 +1,24 @@
|
|||
\begin{tikzpicture}[font=\large]
|
||||
\begin{semilogyaxis}[
|
||||
width = 10cm,
|
||||
height = 8cm,
|
||||
ybar,
|
||||
%ymin = 1,
|
||||
%ymax = 5000000000,
|
||||
% ytick = {1,10,100,1000,10000,100000,1000000,10000000},
|
||||
ymajorgrids = true,
|
||||
ylabel = {Query Response Time (in ms)},
|
||||
xlabel = {Queries},
|
||||
symbolic x coords = {$Q_0$,$Q_1$,$Q_2$,$Q_3$,$Q_4$,$Q_5$,$Q_9$},
|
||||
scaled y ticks = true,
|
||||
legend pos= north west,
|
||||
legend cell align=left
|
||||
]
|
||||
\addplot coordinates {($Q_0$, 578) ($Q_1$, 477) ($Q_2$, 285) ($Q_3$, 465076) ($Q_4$, 127530) ($Q_5$, 1929) ($Q_9$, 447741)};
|
||||
|
||||
\addplot coordinates {($Q_0$, 490) ($Q_1$, 165) ($Q_2$, 166) ($Q_3$, 3727) ($Q_4$, 3847) ($Q_5$, 393) ($Q_9$, 1309775)};
|
||||
|
||||
|
||||
\legend{gStore,Jena,Jena}
|
||||
\end{semilogyaxis}
|
||||
\end{tikzpicture}
|
After Width: | Height: | Size: 186 KiB |