\documentclass{llncs}
\usepackage{graphicx}

\usepackage{amsmath,cite}
\usepackage{pifont}
\usepackage{listings}
\usepackage{courier}
\usepackage{adjustbox}
\usepackage{url}
\usepackage[ngerman,english]{babel}
\usepackage[utf8]{inputenc}
\newcommand{\cmark}{\fontsize{14}{14}\textbullet\selectfont}
\usepackage[usenames,dvipsnames]{color}

\lstdefinelanguage{sparql} {
	morekeywords={SELECT, WHERE, a, COUNT, GROUP, ORDER, BY, HAVING, as, DISTINCT, OPTIONAL},
	sensitive=true, 
	morecomment=[l][\color{ForestGreen}\bfseries\selectfont]{\#\ },
	moredelim=[s][\color{ForestGreen}\bfseries\selectfont]{?}{\ }, %variable
	moredelim=[s][\color{NavyBlue}\bfseries\selectfont]{@}{\ }, %prefix
	moredelim=[s][\color{OrangeRed}\bfseries\selectfont]{<}{>}, %red URIs
	morestring=[b][\color{ForestGreen}]\", %green strings
	morestring=[b]", 
} 

\lstdefinestyle{sparql}{
	language=sparql,
	basicstyle=\footnotesize\ttfamily\bfseries,
	% basicstyle=\ttfamily,
	keywordstyle=\color{blue}\bfseries,
	identifierstyle=, 
	commentstyle=\color{ForestGreen}\bfseries,
	stringstyle=\color{BlueGreen}\ttfamily, 
	showstringspaces=false,
	emph={context},emphstyle=\color{BrickRed}\bfseries,
	frame = lines,
	%aboveskip = 15pt,
	%framexbottommargin = 5pt,
	%framextopmargin = 5pt,
	aboveskip = 10pt,
	framexbottommargin = 2pt,
	framextopmargin = 2pt,
	captionpos=b,
	escapechar=~,
	breaklines=true,
	breakatwhitespace=true,
	breakindent=20pt,
	xleftmargin=5pt,
	xrightmargin=5pt,
	basewidth={0.55em,0.45em},
	%basewidth={0.50em,0.6em},
	fontadjust=true,
	% lineskip={-1.5pt},
	% columns=[c]spaceflexible, %make the long artist URI fit
	%float = h!,
}

\renewcommand{\lstlistingname}{{\bf Listing}}


\lstdefinelanguage{ttl} {
	morekeywords={a},
	sensitive=true, 
	% morecomment=[l][\color{ForestGreen}\bfseries\fontsize{10}{2}\selectfont]{\#\ },
	% moredelim=[s][\color{ForestGreen}\bfseries\fontsize{10}{2}\selectfont]{\#\ }{\ },
	% moredelim=[s][\color{NavyBlue}\bfseries\fontsize{10}{2}\selectfont]{@}{\ }, %prefix
	% moredelim=[s][\color{OrangeRed}\bfseries\fontsize{10}{2}\selectfont]{<}{>}, %red URIs
	morecomment=[l][\color{ForestGreen}\ttfamily\bfseries\selectfont]{\#\ },
	moredelim=[s][\color{NavyBlue}\ttfamily\bfseries\selectfont]{@}{\ }, %prefix
	moredelim=[s][\color{OrangeRed}\ttfamily\bfseries\selectfont]{<}{>}, %red URIs
	morestring=[b][\color{ForestGreen}]\", %green strings
	morestring=[b]", 
} 

\lstdefinestyle{ttl}{
	language=ttl,
	basicstyle=\footnotesize\ttfamily\bfseries,
	keywordstyle=\color{blue}\bfseries,
	identifierstyle=, 
	commentstyle=\color{ForestGreen}\bfseries,
	stringstyle=\color{BlueGreen}\bfseries, 
	showstringspaces=false,
	emph={context},emphstyle=\color{BrickRed}\bfseries,
	frame = lines,
	framexbottommargin = 5pt,
	framextopmargin = 5pt,
	captionpos=b,
	escapechar=~,
	breaklines=true,
	breakatwhitespace=true,
	breakindent=20pt,
	aboveskip = 15pt,
	xleftmargin=5pt,
	xrightmargin=5pt,
	basewidth={0.55em,0.45em},
	% basewidth={0.50em,0.6em},
	fontadjust=true,
	lineskip={-1.5pt},
	% columns=[c]spaceflexible, %make the long artist URI fit
	% float = h!,
}

\lstdefinelanguage{json} {
	sensitive=true, 
	%morecomment=[l]{@},
	moredelim=[s][\color{ForestGreen}]{?}{\ }, %green variables
	moredelim=[s][\color{OrangeRed}\fontsize{7}{2}\selectfont]{<}{>}, %red URIs
	morestring=[b][\color{Gray}]\", 
	morestring=[b]", 
} 

\lstdefinestyle{json}{
	language=json,
	keywords={type,context},
	basicstyle=\fontsize{7}{8}\bfseries\ttfamily,
	keywordstyle=\color{blue}\bfseries,
	identifierstyle=, 
	commentstyle=\color{Gray}\bfseries,
	stringstyle=\color{OliveGreen}\ttfamily, 
	showstringspaces=false,
	emph={context},emphstyle=\color{BrickRed}\bfseries,
	frame = lines,
	framexbottommargin = 5pt,
	framextopmargin = 5pt,
	tabsize=4,
	captionpos=b,
	escapechar=~,
	breaklines=false,
	xleftmargin=5pt,
	xrightmargin=5pt,
	basewidth={0.50em,0.45em},
	%basewidth={0.50em,0.6em},
	fontadjust=true,
	columns=[c]spaceflexible, %make the long artist URI fit
	float = ht,
}

\renewcommand{\labelitemi}{$\bullet$}

\begin{document}
	
	\mainmatter
	
	\title{MusicWeb}
	
	\author{Alo Allik \and Mariano Mora-Mcginity \and Gy\"orgy Fazekas \and Mark Sandler }
	%
	
	\institute{Queen Mary University of London, \\
		\email{\{a.allik, m.mora-mcginity, g.fazekas, mark.sandler\}@qmul.ac.uk}}
	
	\maketitle
	
	\begin{abstract} 
		
		\keywords{Semantic Web, Linked Open Data, music metadata, semantic audio analysis, music information retrieval }
	\end{abstract}
	
\section{Introduction}\label{sec:introduction}

\section{Background}\label{sec:background}

\section{MusicWeb: Yago linking}\label{sec:data_collection}
	
\section{MUSIC: linking by topic}\label{sec:ontology_model}

\section{Content-based information retrieval}\label{sec:ontology_model}
	
\section{Discussion}\label{sec:discussion}
	
\section{Conclusions}\label{sec:conclusions}
	
	%
	% ---- Bibliography ----
	%
	\vspace{-1em}\begin{thebibliography}{5}
		%

		\bibitem{FazekasRJS10_OMRAS2}
		G.~Fazekas, Y.~Raimond, K.~Jakobson, and M.~Sandler.
		\newblock An overview of semantic web activities in the {OMRAS2} project.
		\newblock {\em Journal of New Music Research (JNMR)}, 39(4), 2010.
						
		\bibitem{Porter:ISMIR:15}
		A.~Porter, D.~Bogdanov, R.~Kaye, R.~Tsukanov, and X.~Serra.
		\newblock Acousticbrainz: a community platform for gathering music information
		obtained from audio.
		\newblock In {\em 16th International Society for Music Information Retrieval
			(ISMIR) Conference}, 2015.
		
		\bibitem{DBLP:conf/ismir/RaimondASG07}
		Y~Raimond, S.~Abdallah, M.~Sandler, and F.~Giasson.
		\newblock The music ontology.
		\newblock In {\em Proceedings of the 8th International Conference on Music
			Information Retrieval, ISMIR 2007, Vienna, Austria, September 23-27}, 2007.
				
	\end{thebibliography}
	
\end{document}
