Multiple Interlink's override eachother's output file

15 views
Skip to first unread message

Franck Michel

unread,
Apr 26, 2017, 11:47:18 AM4/26/17
to Silk
Hi all,

Second topic today. I'm using Silk single machine 2.7.1.

Here is my problem: I declare 2 Interlink elements, each having one dedicated output:
 
   <Interlinks>

       
<Interlink id="1">
           
<SourceDataset dataSource="..." var="a">...</SourceDataset>
           
<TargetDataset dataSource="..." var="b">...</TargetDataset>
             
           
<LinkageRule linkType="skos:closeMatch">...</LinkageRule>

           
<Outputs>
               
<Output id="reference-with-date" type="file" minConfidence="0.5" >
                   
<Param name="file" value="reference-with-date-accept.nt"/>
                   
<Param name="format" value="N-Triples"/>
               
</Output>
           
</Outputs>
       
</Interlink>
       
       
<Interlink id="2">
           
<SourceDataset dataSource="..." var="a">...</SourceDataset>
           
<TargetDataset dataSource="..." var="b">...</TargetDataset>
             
           
<LinkageRule linkType="skos:relatedMatch">...</LinkageRule>
           
           
<Outputs>
               
<Output id="synonym-with-date" type="file" minConfidence="0.5" >
                   
<Param name="file" value="synonym-with-date-accept.nt"/>
                   
<Param name="format" value="N-Triples"/>
               
</Output>
           
</Outputs>
         
</Interlink>

   
</Interlinks>

The first Interlink executes and generates the appropriate file with closeMatch alignements.

But the, the second executes, generates the appropriate file with relatedMatch alignements but it also overrides the file generated by the previous one.

I've tried this by defining the named output in the interlink, then put the details in the Outputs section at the end of the Silk file. That behaves the same.

Any trick?

Thx,
   Franck.
Reply all
Reply to author
Forward
0 new messages