com.github.monnetproject.lemon.mustache OSGi Bundle

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

Лицензия

Лицензия

BSD 3-clause "New" or "Revised" License
Категории

Категории

Сеть
Группа

Группа

com.github.monnetproject
Идентификатор

Идентификатор

lemon.mustache
Последняя версия

Последняя версия

1.18.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

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

Скачать lemon.mustache

Как подключить последнюю версию

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

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
com.samskivert : jmustache jar 1.5
com.hp.hpl.jena : jena jar 2.6.4
com.hp.hpl.jena : arq jar 2.8.8

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.8.2

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.18.4