server/src/app/Libraries/Mergers/RdfMerger.php
author ymh <ymh.work@gmail.com>
Wed, 23 Nov 2016 09:53:31 +0100
changeset 440 2206d4330b60
parent 18 f2a40bbc27f6
permissions -rw-r--r--
Added tag 0.0.12 for changeset 86f274d1fead

<?php
namespace CorpusParole\Libraries\Mergers;

/**
 * merge graphes after mapping them.
 */
interface RdfMerger {


    /**
     * Merge an Rdf Graph from one model to another
     *
     * @param EasyRdf\Graph $baseGraph The graph used as base for the merge
     * @param EasyRdf\Graph $srcGraph The source graph with the new triples to add
     *
     * @return EasyRdf\Graph The new merged graph
     */
    function mergeGraph($baseGraph, $srcGraph);

}