org.aksw.jenax.path.plugin.JenaPluginPath Maven / Gradle / Ivy
The newest version!
package org.aksw.jenax.path.plugin;
import org.aksw.jenax.path.datatype.RDFDatatypePPath;
import org.apache.jena.datatypes.TypeMapper;
import org.apache.jena.sys.JenaSubsystemLifecycle;
public class JenaPluginPath
implements JenaSubsystemLifecycle {
public void start() {
init();
}
@Override
public void stop() {
}
public static void init() {
TypeMapper typeMapper = TypeMapper.getInstance();
typeMapper.registerDatatype(RDFDatatypePPath.INSTANCE);
}
}