Anonymous

Changes

Pharmacoracle

217 bytes added, 12:32, 28 August 2018
Pharmacoracle - a REST API based on the OWLAPI
===Hints on how to use it (see also example section below)===
In order to write queries to an OWL ontology we need to know the names of the OWL elements, notably OWL Properties (e.g. has_haplotype) and and OWL Classes (e.g. TPMTstar3A). The Oslo University Hospital PGx OWL ontology is still work in progress, and therefore not publicly accessible, but PharmGKB nomenclature it is kept where possibleto have a closer look at the latest OWL version of the [https://www.pgx.no/farmakorakel/haplotypes.owl GRCh37 star allele definitions], which is best studied in [https://protegewiki.stanford.edu/wiki/Protege4UserDocs Stanford's Desktop Protégé]. In addition we need to know the Manchester expressions of cardinality that are used to connect OWL Properties and OWL Classes, in particular:
{| class="wikitable"
|-