= Day 1: SADI Web Services = Today we achieved several goals. First, we drew some conclusions about how the OWL ontologies should look for our Output classes in order to maximize our ability to discover and chain-services together through reasoning. For example, say we have a service 'getKEGGParalogsByGene', which will provide the KEGG ID of the paralogs of any input KEGG gene id. The output class would be defined as in the ontology below: {{{ }}} The important things to note are: 1. We are explicitly importing any ontology we refer to 2. our output class is a subclass of the input data-type (in this case, a KEGG_Record id) 3. out output class also includes a restriction that it promises to give you 'isParalogOf' predicates attached to additional KEGG_Record entities. '''Defining the range of the isParalogOf predicate is important, since it allows us to do reasoning about how to chain services together.'''