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

be.ugent.rml.target.Target Maven / Gradle / Ivy

Go to download

The RMLMapper executes RML rules to generate high quality Linked Data from multiple originally (semi-)structured data sources.

The newest version!
package be.ugent.rml.target;

import be.ugent.rml.store.Quad;

import java.io.IOException;
import java.io.OutputStream;
import java.util.List;

/**
 * This interface represents the target of a knowledge graph.
 * For example, a local file, a SOLID pod, a Triple Store, and so on.
 */
public interface Target extends AutoCloseable {

    /**
     * This method returns an OutputStream for the target.
     * @return the OutputStream corresponding to the target.
     * @throws IOException
     */
    OutputStream getOutputStream() throws IOException;

    /**
     * This method returns the serialization format of the target.
     * @return serialization format.
     */
    String getSerializationFormat();

    /**
     * This method closes the target.
     */
    void close();

    /**
     * This method returns the metadata associated with the target.
     */
    List getMetadata();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy