Warning: This tool or project is no longer maintained and kept available only for archival purposes. Since GoodRelations and have evolved significantly in the past years, the current status available on this page is unlikely to function as expected. We take no responsibility for any damage caused by the use of this outdated work, to the extent legally possible.

Due to a lack of resources, we are unable to provide support for this project outside of consulting projects or sponsored research. Please contact us if you can contribute resources to update and enhance these resources.


GeSHi syntax highlighter extension for SPARQL and N3/Turtle.

This project provides a SPARQL and N3/Turtle syntax highlighting extension for GeSHi, the generic syntax highlighter for PHP. The objective to develop this extension was the lack of syntax highlighting for SPARQL and Turtle in the GeSHi extension of Mediawiki. But the syntax highlighter can just as easily be plugged into any other GeSHi-capable CMS.


N3 example


SPARQL example


  • N3/Turtle highlighter extended by SPARQL support,
  • distinction of S, P and O using different colors,
  • recognition of most important N3/Turtle and SPARQL keywords,
  • extra color for SPARQL variables,
  • highlighting of Virtuoso built-in functions, e.g. bif:contains().

This GeSHi extension was developed by the E-Business and Web Science Research Group at the Bundeswehr University Munich, initiated by Christian F├╝rber and carried on by Alex Stolz. It is licensed under the terms of the GNU GPLv2.

For a live demo of the extension please refer to the GoodRelations Wiki.

Logo Research Group Logo UniBwM


The Semantic Web GeSHi extension is available under the terms of the GNU Lesser General Public License. The work on this project has been supported by the German Federal Ministry of Education and Research (BMBF) by a grant under the KMU Innovativ program as part of the Intelligent Match project (FKZ 01IS10022B).