Hi Umutcan,

It works the way you described. Thanks very much!
Sometimes the assurance that one is on the right path is all what you need
:)

Best Wishes,
Gin

On Mon, Jul 20, 2015 at 7:07 PM, Umutcan Simsek <umutcan.sim...@mni.thm.de>
wrote:

> Hi Gin,
>
> I think your configuration is correct. As far as I remember, any rdf:type
> triple should appear in enhancement results. For the other triples you want
> to obtain from linked entity, you should define the triples to be
> dereferenced from configuration. The mapping you mention is mapping a
> property to rdfs:label, in order to enable engine to query values of those
> properties as well, but I don't think that is your problem.
>
> Can you post an example enhancement result?
>
> Best
>
> Umutcan
>
> Am 2015-07-20 19:44, schrieb Gintautas Sulskus:
>
>> Hi Umutcan,
>>
>> could you please elaborate a bit more on this?
>>
>> My stack:
>>
>>    - Use a 6 year old Drugbank dataset from [1] for testing.
>>    - Solr Yard with *ehealth.solrindex.zip* index configuration. Used
>>    default indexer configuration.
>>    - ManagedSite Yard Site with default configuration
>>    - EntityHub Linking engine
>>
>>
>>
>> I reckon I need to modify a Type Mapping field in EntityHub Linking
>> engine?
>> E.g. {DrugStore field} > rdf:type?
>>
>> [1]
>> https://github.com/anjeve/lodd/tree/master/datasets/DrugBank/d2r%20server
>>
>> Best Regards,
>> Gin
>>
>> On Mon, Jul 20, 2015 at 4:44 PM, Umutcan Şimşek <
>> umutcan.sim...@mni.thm.de>
>> wrote:
>>
>>  Hi,
>>>
>>> My solution to that to use an entity linking engine with a local custom
>>> vocabulary (ManagedSite). The EntityAnnotation created by the engine will
>>> contain rdf:type triples, after that you can show whichever type you
>>> want.
>>>
>>> Regards
>>> Umutcan
>>>
>>>
>>> On 07/20/2015 05:01 PM, Gintautas Sulskus wrote:
>>>
>>>  Hi Devs,
>>>>
>>>> My post is a follow-up of the "Showing custom entity types" thread [1]
>>>>
>>>> In particular, I am interested where the classification is specified in
>>>> the
>>>> eHealth example [2].
>>>> How do I annotate drug-related entities as "Drugs" rather than
>>>> "Others". I
>>>> can't seem to find the exact configuration point in the example eHealth
>>>> code [3]. Would you kindly help me out with that?
>>>>
>>>> [1] https://www.mail-archive.com/dev%40stanbol.apache.org/msg04048.html
>>>> [2] https://stanbol.apache.org/docs/trunk/customvocabulary.html
>>>> [3]
>>>>
>>>>
>>>> https://github.com/apache/stanbol/tree/17db70cb87ae5bbb905c1dbe76fbe4c0ca1dd90d/demos/ehealth
>>>>
>>>> Best Regards,
>>>> Gin
>>>>
>>>>
>>>>
>>>
>

Reply via email to