\begin{tikzpicture}[font=\Large] \begin{semilogyaxis}[ width = 20cm, 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}$}, %bar width=5pt, %enlarge x limits=0.02, scaled y ticks = true, legend pos= north west, legend cell align=left ] \addplot coordinates {($Q_{0}$, 927) ($Q_{1}$, 9974) ($Q_{2}$, 177) ($Q_{3}$, 31672) ($Q_{4}$, 68) ($Q_{5}$, 1037) ($Q_{6}$, 1756) ($Q_{7}$, 725) ($Q_{8}$, 171876) ($Q_{9}$, 2850)}; \addplot coordinates {($Q_{0}$, 3623) ($Q_{1}$, 157846) ($Q_{2}$, 1841) ($Q_{3}$, 199087) ($Q_{4}$, 266) ($Q_{5}$, 3176) ($Q_{6}$, 474) ($Q_{7}$, 3635906) ($Q_{8}$, 415252) ($Q_{9}$, 9893)}; \addplot coordinates {($Q_{0}$, 6121) ($Q_{1}$, 241390) ($Q_{2}$, 6053) ($Q_{3}$, 329311) ($Q_{4}$, 27) ($Q_{5}$, 15532) ($Q_{6}$, 3007) ($Q_{7}$, 242) ($Q_{8}$, 36615810) ($Q_{9}$, 40180121)}; %result num: %69724 3304145 0 3204145 0 65419 2011 45 12765738 520 \legend{gStore,Jena, Virtuoso} \end{semilogyaxis} \end{tikzpicture}