Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-1412

While indexing final entity Id drops the first character when using the default namespace

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Entityhub
    • Labels:

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              amindri Amindri Udugala
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: