com.github.monnetproject.lemon.mustache.web

com.github.monnetproject.lemon.mustache.web from the Monnet Project's lemon.mustache.project project.

License

License

BSD 3-clause "New" or "Revised" License
Categories

Categories

Net
GroupId

GroupId

com.github.monnetproject
ArtifactId

ArtifactId

lemon.mustache.web
Last Version

Last Version

1.18.4
Release Date

Release Date

Type

Type

jar
Description

Description

com.github.monnetproject.lemon.mustache.web
com.github.monnetproject.lemon.mustache.web from the Monnet Project's lemon.mustache.project project.

Download lemon.mustache.web

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.monnetproject/lemon.mustache.web/ -->
<dependency>
    <groupId>com.github.monnetproject</groupId>
    <artifactId>lemon.mustache.web</artifactId>
    <version>1.18.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.monnetproject/lemon.mustache.web/
implementation 'com.github.monnetproject:lemon.mustache.web:1.18.4'
// https://jarcasting.com/artifacts/com.github.monnetproject/lemon.mustache.web/
implementation ("com.github.monnetproject:lemon.mustache.web:1.18.4")
'com.github.monnetproject:lemon.mustache.web:jar:1.18.4'
<dependency org="com.github.monnetproject" name="lemon.mustache.web" rev="1.18.4">
  <artifact name="lemon.mustache.web" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.monnetproject', module='lemon.mustache.web', version='1.18.4')
)
libraryDependencies += "com.github.monnetproject" % "lemon.mustache.web" % "1.18.4"
[com.github.monnetproject/lemon.mustache.web "1.18.4"]

Dependencies

compile (2)

Group / Artifact Type Version
com.vaadin : vaadin jar 6.8.1
com.github.monnetproject : lemon.mustache jar 1.18.4

provided (1)

Group / Artifact Type Version
javax : javaee-web-api jar 6.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.8.2

Project Modules

There are no modules declared in this project.

Lemon Mustache grammar generation

This is a framework for generating grammars from lemon lexica. The program consists of the following components:

  • main: The converter
  • web: The web interface to the converter

The converter requires the creation of two external files:

SPARQL Extractor

SPARQL files consist of a file containing queries of the form

id <<<
    SELECT ?x WHERE {
       ?x a owl:Class .
    }
>>>

The form of the query is standard SPARQL

Mustache Generation

Generation is performed using Mustache templates

The matches to a given query can be extracted using {{#id}} and the query variables are then available as normal variables.

{{#id}}
   {{x}} is an OWL class
{{/#id}}

Example grammars can be seen at here

com.github.monnetproject

Monnet Project

Versions

Version
1.18.4