server/src/app/Libraries/Mergers/RdfMerger.php
author nowmad@23.1.168.192.in-addr.arpa
Thu, 17 Dec 2015 12:11:06 +0100
changeset 59 1fca3af481a5
parent 18 f2a40bbc27f6
permissions -rw-r--r--
update visu and add sample datas

<?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);

}