Automatically exported from code.google.com/p/sparql-n3-geshisyntaxhighlighter
PHP
Latest commit 64879a1 Mar 24, 2015 @alexstolz Update README.md
Permalink
Failed to load latest commit information.
geshi
README.md
index.php
test.sparql
test.ttl
test.xml

README.md

GeSHi Syntax Highlighter 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/Turtle:

http://www.stalsoft.com/sparql-n3-geshi_n3.png

SPARQL:

http://www.stalsoft.com/sparql-n3-geshi_sparql.png

Features:

  • 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. The project was initiated by Christian Fürber and carried on by Alex Stolz. It is licensed under the terms of the GNU GPLv2.

For a demo of the extension please refer to the Axioms Web page in the GoodRelations Wiki.

E-Business and Web Science Research Group Bundeswehr University Munich
http://www.ebusiness-unibw.org http://www.unibw.de/ebusiness/

Acknowledgements

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 Research (BMBF) by a grant under the KMU Innovativ program as part of the Intelligent Match project (FKZ 01IS10022B).

http://www.bmbf.de/en/