Skip to content

alexstolz/sparql-n3-geshisyntaxhighlighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Automatically exported from code.google.com/p/sparql-n3-geshisyntaxhighlighter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages