Changes between Initial Version and Version 1 of SadiDayOne

Show
Ignore:
Timestamp:
2010/02/09 18:28:57 (14 years ago)
Author:
markw
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SadiDayOne

    v1 v1  
     1= Day 1:  SADI Web Services =  
     2 
     3Today 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. 
     4 
     5For 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: 
     6 
     7{{{ 
     8 
     9<rdf:RDF  
     10 xml:base="http://sadiframework.org/ontologies/service_objects.owl#"  
     11 xmlns:service="http://sadiframework.org/ontologies/service_objects.owl#"  
     12 xmlns:owl="http://www.w3.org/2002/07/owl#"  
     13 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"  
     14 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"  
     15 xmlns:misc="http://sadiframework.org/ontologies/miscellaneousObjects.owl#"  
     16 xmlns="http://sadiframework.org/ontologies/service_objects.owl#"> 
     17 
     18<!-- Ontology Information --> 
     19<owl:Ontology rdf:about=""> 
     20  <owl:imports> 
     21    <owl:Ontology rdf:about="http://sadiframework.org/ontologies/service_objects.owl#"/> 
     22  </owl:imports> 
     23  <owl:imports> 
     24     <owl:Ontology rdf:about="http://protege.stanford.edu/plugins/owl/dc/protege-dc.owl"/> 
     25  </owl:imports> 
     26  <owl:imports> 
     27    <owl:Ontology rdf:about="http://purl.oclc.org/SADI/LSRN"/> 
     28  </owl:imports> 
     29</owl:Ontology> 
     30 
     31<owl:SymmetricProperty rdf:about="http://sadiframework.org/ontologies/service_objects.owl#isParalogOf"/> 
     32 
     33<owl:Class rdf:about="http://sadiframework.org/ontologies/service_objects.owl#getKEGGParalogsByGene_Output"> 
     34   <rdfs:subClassOf rdf:resource="http://purl.oclc.org/SADI/LSRN/KEGG_Record"/> 
     35   <rdfs:subClassOf> 
     36      <owl:Restriction> 
     37          <owl:onProperty rdf:resource="http://sadiframework.org/ontologies/service_objects.owl#isParalogOf"/> 
     38          <owl:someValuesFrom rdf:resource="http://purl.oclc.org/SADI/LSRN/KEGG_Record"/> 
     39      </owl:Restriction> 
     40   </rdfs:subClassOf> 
     41</owl:Class> 
     42 
     43</rdf:RDF> 
     44}}} 
     45 
     46The important things to note are: 
     47 
     481. We are explicitly importing any ontology we refer to 
     492. our output class is a subclass of the input data-type (in this case, a KEGG_Record id) 
     503. 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.'''   
     51