afs:concept - AFS

AFS Integration Guide

Product
AFS
AFS_Version
7.9
Category
Reference Guide

concept agent gives in the output feed a afs:clientData tag binded with a document URI.

For more information about , see Chapter concept agent of AFS v7.9 Configuration Guide.

Example of concept agent output feed

<afs:concept>
<afs:query>
<afs:text text="a"/>
<afs:match text="label">
<afs:uri>taxo#uriA</afs:uri>
</afs:match>
</afs:query>
<afs:concepts>
<afs:concept uri="taxo#uriA">
<afs:clientData>
<doc uri="taxo#uriA">
<lib>A title</lib>
<metaData uri="foo">Suggestion 01</suggest>
<metaData uri="bar">Suggestion 02</suggest>
</doc>
</afs:clientData>
</afs:concept>
</afs:concepts>
</afs:concept>

Another example of concept agent output feed, with query "le bals pûblics d'Aix-en-provence" and thesaurus matched concept "bal public":

<afs:concept>
<afs:query>
<afs:text text="le "/>
<afs:match text="bals pûblics">
<afs:uri>lfn:taxo#QI-thm1476594</afs:uri>
</afs:match>
<afs:text text=" d'Aix-en-provence"/>
</afs:query>
<afs:concepts>
<afs:concept uri="lfn:taxo#QI-thm1476594">
<afs:clientData>
<doc psi="lfn:taxo#QI-thm1476594">
<lib>bal public</lib>
<suggest score="96" psi="lfn:taxo#QI-thm1476584">
activité lucrative de l'association déclarée
</suggest>
<suggest score="95" psi="lfn:taxo#QI-thm1476580">
produit d'activités lucratives de l'association déclarée
</suggest>
</doc>
</afs:clientData>
</afs:concept>
</afs:concepts>
</afs:concept>