Skip to content

itsrdf vs fise properties #2

@VladimirAlexiev

Description

@VladimirAlexiev

If you have one NER tool and one annotation (not multiple candidates), NIF says use itsrdf properties.

If you have multiple annotations, you need to use fise properties (the NIF Stanbol profile), as illustrated below.

I think it's a very bad practice to use two completely different property sets for these two situations. Just because in the second case there's an intermediate node for the annotation, doesn't mean the properties should be completely different.

</char=0,7> a nif:Word;
  nif:anchorOf "Germany".

# one NER tool, one annotation
</char=0,7>
  itsrdf:taClassRef nerd:Country;
  itsrdf:taIdentRef dbp:Germany;
  itsrdf:taAnnotatorsRef "some tool";
  itsrdf:confidence 0.9.

# multiple annotations: separate node for each
</char=0,7/enrichment=1> a fise:EntityAnnotation;
  fise:extracted-from </char=0,7>;
  fise:entity-type nerd:Country;
  fise:entity-reference dbp:Germany;
  dc:creator "some tool";
  fise:confidence "0.9"^^xsd:float.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions