Skip to content

Documentation: Add example of how to generate template with role id. #609

@matentzn

Description

@matentzn

I am trying to run this template:

ID	Measurement definition
ID	EC EFO:0001444 and (RO:0002314 some %)
EFO:0004515	UBERON:0001015

using a query that does not involve an external ontology:

robot  template --template template.tsv --prefix "EFO: http://www.ebi.ac.uk/efo/EFO_" --prefix "RO: http://purl.obolibrary.org/obo/RO_" --prefix "UBERON: http://purl.obolibrary.org/obo/UBERON_" -o out.owl

But sed keeps failing on the expression EC EFO:0001444 and (RO:0002314 some %). (EC EFO:0001444 and % works file):

MANCHESTER PARSE ERROR the expression 'EFO:0001444 and (RO:0002314 some UBERON:0001015)' at row 3, column 3 in table "../templates/definemeasurements.tsv" cannot be parsed: encountered unknown 'some'
For details see: http://robot.obolibrary.org/template#manchester-parse-error
Use the -vvv option to show the stack trace.
Use the --help option to see usage information.

So basically, I would like to know how, or if, I can generate a template with a role if I don't have some input ontology to draw the labels from (i.e. to write an expression like: EFO:0001444 and ('inheres_in' some UBERON:0001015).

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