Skip to content

create example that uses OLS API obo_xref key #1

Description

@andrecastro0o

RXNO is a case of an ontology which uses the AnnotationProperty: database_cross_reference (IRI: http://www.geneontology.org/formats/oboInOwl#hasDbXref) to reference external references to a entity. As the following example show with RXNO:0000138 (benzoin condensation)

rxno_138

And under the OLS API database_cross_reference appears under the key obo_xref as in the following query to RXNO:0000138

{
"iri" : "http://purl.obolibrary.org/obo/RXNO_0000138",
"label" : "benzoin condensation",
"description" : [ "A reaction between two aromatic aldehydes to give a benzoin (an alpha-hydroxyketone)." ],
"annotation" : {
"database_cross_reference" : [ "https://www.wikidata.org/wiki/Q818514", "https://www.rsc.org/Merck-Index/reaction/r35/" ],
"has_obo_namespace" : [ "RXNO" ],
"id" : [ "RXNO:0000138" ]
},
"synonyms" : [ "benzoin addition" ],
"ontology_name" : "rxno",
"ontology_prefix" : "RXNO",
"ontology_iri" : "http://purl.obolibrary.org/obo/rxno.obo.owl",
"is_obsolete" : false,
"term_replaced_by" : null,
"is_defining_ontology" : true,
"has_children" : false,
"is_root" : false,
"short_form" : "RXNO_0000138",
"obo_id" : "RXNO:0000138",
"in_subset" : null,
"obo_definition_citation" : [{"definition":"A reaction between two aromatic aldehydes to give a benzoin (an alpha-hydroxyketone).",
"oboXrefs":[{"database":null,"id":"https://orcid.org/0000-0002-4077-4719","description":null,"url":"https://orcid.org/0000-0002-4077-4719"},{"database":"RSC","id":"db","description":null,"url":null}]}],
"obo_xref" : [
{"database":null,"id":"https://www.rsc.org/Merck-Index/reaction/r35/","description":null,"url":"https://www.rsc.org/Merck-Index/reaction/r35/"}, {"database":null,"id":"https://www.wikidata.org/wiki/Q818514","description":null,"url":"https://www.wikidata.org/wiki/Q818514"}],
"obo_synonym" : null,
"is_preferred_root" : false,
}
}

It would in interesting to create an example where RXNO named reactions classes which contain oboXrefs to wikidata could be used to pull more information on reactions from Wikidata via a SPARQL Query

@StroemPhi@okoepler@sneumann

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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