Commit f0703de7 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

use LocatorAcceptMapper to fetch documentation queries

parent 2fed3667
......@@ -37,15 +37,15 @@ import fr.emse.gitlab.saref.vocabs.RDFP;
public class GeneratePortal extends JobRunner {
private static final String DOC_BASE = Constants.BASE + "documentation/";
private static final String TERM_QUERY = "documentation/term/main.rqg";
private static final String TERM_QUERY = DOC_BASE + "term/main.rqg";
private static final Var VAR_TERM = VarUtils.allocVar("term");
private final RootPlan planForTerm;
private static final String ONTO_QUERY = "documentation/ontology/main.rqg";
private static final String ONTO_QUERY = DOC_BASE + "ontology/main.rqg";
private static final Var VAR_VERSION_IRI = VarUtils.allocVar("versionIRI");
private final RootPlan planForOntologyVersion;
private static final String EXAMPLE_QUERY = "documentation/example/main.rqg";
private static final String EXAMPLE_QUERY = DOC_BASE + "example/main.rqg";
private static final Var VAR_EXAMPLE = VarUtils.allocVar("example");
private final RootPlan planForExample;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment