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

org.aksw.jena_sparql_api.geo.LookupServiceUtilsGeo Maven / Gradle / Ivy

There is a newer version: 3.17.0-1
Show newest version
package org.aksw.jena_sparql_api.geo;

import org.aksw.jena_sparql_api.core.QueryExecutionFactory;
import org.aksw.jena_sparql_api.lookup.LookupService;
import org.aksw.jena_sparql_api.lookup.LookupServiceTransformValue;
import org.aksw.jena_sparql_api.lookup.LookupServiceUtils;
import org.aksw.jena_sparql_api.mapper.MappedConcept;

import org.apache.jena.graph.Node;
import com.vividsolutions.jts.geom.Geometry;

public class LookupServiceUtilsGeo {
    public static LookupService createGeoLookupService(QueryExecutionFactory sparqlService, MappedConcept mappedConcept) {

        LookupService ls = LookupServiceUtils.createLookupService(sparqlService, mappedConcept);
        LookupService result = LookupServiceTransformValue.create(ls, FN_ParseWkt.create());

        return result;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy