Skip to content

Using OntoGPT outside BioInformatics #471

@jamesfebin

Description

@jamesfebin

I am trying to use OntoGPT in a domain outside of bioinformatics. Presently trying something simple like extracting names of people from a given text.

I have a dumb question.

The values are pre-defined in most of the templates I have seen (Ex: vbo_names). So, when I try to modify and use the template, though it's a valid LinkML file, OntoGPT doesn't add them to OWL like only the last value in a list of people's names is added. And it gives errors like

INFO:root:Cannot determine axiom type for full_name, unprocessed=[Literal(v='Febin John James')]

Custom Template I made.

id: https://w3id.org/linkml/examples/personinfo
name: personinfo
prefixes:
  linkml: https://w3id.org/linkml/
imports:
  - linkml:types
default_range: string

classes:
  Person:
    attributes:
      full_name:
  Container:
    tree_root: true
    attributes:
      persons:
        multivalued: true
        inlined_as_list: true
        range: Person

Is there a template that's a bit generic I can use in this case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedtemplateA request for a new or modified template

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions