All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.unibz.inf.ontop.rdf4j.predefined.impl.PredefinedGraphQueryImpl Maven / Gradle / Ivy

The newest version!
package it.unibz.inf.ontop.rdf4j.predefined.impl;

import it.unibz.inf.ontop.query.*;
import it.unibz.inf.ontop.rdf4j.predefined.PredefinedGraphQuery;
import it.unibz.inf.ontop.rdf4j.predefined.parsing.PredefinedQueryConfigEntry;

import java.util.Map;
import java.util.Optional;

public class PredefinedGraphQueryImpl extends AbstractPredefinedQuery implements PredefinedGraphQuery {

    public PredefinedGraphQueryImpl(String id, RDF4JConstructQuery graphQuery, PredefinedQueryConfigEntry queryConfig) {
        super(id, graphQuery, queryConfig);
    }

    @Override
    public Optional> getJsonLdFrame() {
        return queryConfig.getFrame();
    }

    @Override
    public ConstructTemplate getConstructTemplate() {
        return getInputQuery().getConstructTemplate();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy