[ 
https://issues.apache.org/jira/browse/STANBOL-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14319192#comment-14319192
 ] 

Amindri Udugala commented on STANBOL-1412:
------------------------------------------

Hi All, 
I submitted a patch for this issue. The current debug log is as follows

09:35:14,981 [Indexing: Entity Source Reader Deamon] DEBUG 
source.LineBasedEntityIterator -  - entity = http://rdf.freebase.com/ns/m.013w8h
09:35:14,981 [Indexing: Entity Source Reader Deamon] DEBUG 
source.LineBasedEntityIterator -  - score =
09:35:14,981 [Indexing: Entity Source Reader Deamon] DEBUG 
jenatdb.RdfIndexingSource - No Statements found for id 
http://rdf.freebase.com/ns/m.013w8h (Node: http://rdf.freebase.com/ns/m.013w8h)!
09:35:14,981 [Indexing: Entity Source Reader Deamon] DEBUG 
impl.EntityIdBasedIndexingDaemon - unable to get Data for Entity 
http://rdf.freebase.com/ns/m.013w8h (score=norm:0.40854257|orig:624.0)
09:35:14,981 [Indexing: Entity Source Reader Deamon] DEBUG 
source.LineBasedEntityIterator - > line =     624 m.0121rx
09:35:14,981 [Indexing: Entity Source Reader Deamon] DEBUG 
source.LineBasedEntityIterator -  - id = m.0121rx
09:35:14,981 [Indexing: Entity Source Reader Deamon] DEBUG 
source.LineBasedEntityIterator -  - entity = http://rdf.freebase.com/ns/m.0121rx
09:35:14,981 [Indexing: Entity Source Reader Deamon] DEBUG 
source.LineBasedEntityIterator -  - score =
09:35:14,981 [Indexing: Entity Source Reader Deamon] DEBUG 
jenatdb.RdfIndexingSource - No Statements found for id 
http://rdf.freebase.com/ns/m.0121rx (Node: http://rdf.freebase.com/ns/m.0121rx)!
09:35:14,981 [Indexing: Entity Source Reader Deamon] DEBUG 
impl.EntityIdBasedIndexingDaemon - unable to get Data for Entity 
http://rdf.freebase.com/ns/m.0121rx (score=norm:0.40854257|orig:624.0)
09:35:14,981 [Indexing: Entity Source Reader Deamon] DEBUG 
source.LineBasedEntityIterator - > line =     623 m.0y447fx
09:35:14,981 [Indexing: Entity Source Reader Deamon] DEBUG 
source.LineBasedEntityIterator -  - id = m.0y447fx


> While indexing final entity Id drops the first character when using the 
> default namespace
> -----------------------------------------------------------------------------------------
>
>                 Key: STANBOL-1412
>                 URL: https://issues.apache.org/jira/browse/STANBOL-1412
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Entityhub
>            Reporter: Amindri Udugala
>            Priority: Minor
>              Labels: indexing
>         Attachments: 
> Fixing_the_final_entity_id_when_using_the_default_namespace_prefix.patch
>
>
> LineBasedEntityIterator.parseEntityFromLine(String) drops the frist character 
> of the entity when creating the whole entity id(including the namespace) , 
> when using the the default namespace.
> The entity id is extracted from the incoming links.txt
> Debug log would be as follows...
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG 
> source.LineBasedEntityIterator - > line =    1834 m.0p79gt5
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG 
> source.LineBasedEntityIterator -  - id = m.0p79gt5
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG 
> source.LineBasedEntityIterator -  - entity = 
> http://rdf.freebase.com/ns/.0p79gt5
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG 
> source.LineBasedEntityIterator -  - score =
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG 
> jenatdb.RdfIndexingSource - No Statements found for id 
> http://rdf.freebase.com/ns/.0p79gt5 (Node: 
> http://rdf.freebase.com/ns/.0p79gt5)!
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG 
> impl.EntityIdBasedIndexingDaemon - unable to get Data for Entity 
> http://rdf.freebase.com/ns/.0p79gt5 (score=norm:0.4768925|orig:1834.0)
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG 
> source.LineBasedEntityIterator - > line =    1834 m.01xs04m
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG 
> source.LineBasedEntityIterator -  - id = m.01xs04m
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG 
> source.LineBasedEntityIterator -  - entity = 
> http://rdf.freebase.com/ns/.01xs04m
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG 
> source.LineBasedEntityIterator -  - score =
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG 
> jenatdb.RdfIndexingSource - No Statements found for id 
> http://rdf.freebase.com/ns/.01xs04m (Node: 
> http://rdf.freebase.com/ns/.01xs04m)!
> 09:31:01,946 [Indexing: Entity Source Reader Deamon] DEBUG 
> impl.EntityIdBasedIndexingDaemon - unable to get Data for Entity 
> http://rdf.freebase.com/ns/.01xs04m (score=norm:0.4768925|orig:1834.0)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to