com.github.tkurz.sparqlmm.query.SPARQLMMParserFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sparql-mm Show documentation
Show all versions of sparql-mm Show documentation
SPARQL-MM is a multimedia-extension for SPARQL 1.1 (www.w3.org/TR/sparql11-query/) implemented for Sesame (http://www.openrdf.org/).
package com.github.tkurz.sparqlmm.query;
import org.openrdf.query.QueryLanguage;
import org.openrdf.query.parser.QueryParser;
import org.openrdf.query.parser.QueryParserFactory;
/**
* ...
*
* Author: Thomas Kurz ([email protected])
*/
public class SPARQLMMParserFactory implements QueryParserFactory {
private static final QueryLanguage SPARQLMM = new QueryLanguage("SPARQLMM");
private static final QueryParser parser = new SPARQLMMParser();
@Override
public QueryLanguage getQueryLanguage() {
return SPARQLMM;
}
@Override
public QueryParser getParser() {
return parser;
}
}