ApplePie Supported Annotations

From Filtered Push Wiki
Jump to: navigation, search


A minimalist proposed "ApplePie Annotation Ontology" that specifies what must be included in annotations for new determinations ("InsertDetermination" class) and for correcting annotations ("UpdateDermination class), respectively. The class constructions express things like "There must be exactly one Expectation_Insert" (resp Expectation_Update"; For the update case, there must be an ao:Selector defined to specify which of possibly several determinations are the subject of the Annotation, etc. etc.

Plenty of namespace botches in what's below, in part because we haven't yet committed to svn a reconciliation of the examples for the two cases, David's generators get that right but I worked from the examples. --Bob Morris 20:38, 7 February 2012 (EST)

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix : <http://etaxonomy.org/ontologies/applepie.owl#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <http://etaxonomy.org/ontologies/applepie.owl> .

<http://etaxonomy.org/ontologies/applepie.owl> rdf:type owl:Ontology ;
         owl:imports <http://etaxonomy.org/ontologies/ao/aod.owl> ,
                     <http://etaxonomy.org/ontologies/ao/dwcFPModel.owl#> .


#################################################################
#
#    Classes
#
#################################################################


###  http://etaxonomy.org/ontologies/applepie.owl/InsertDetermination

<http://etaxonomy.org/ontologies/applepie.owl/InsertDetermination>
     rdf:type owl:Class ;
     owl:equivalentClass 
           [ rdf:type owl:Restriction ;
             owl:onProperty <http://etaxonomy.org/ontologies/ao/aod.owl#hasExpectation> ;
             owl:onClass <http://etaxonomy.org/ontologies/ao/aod.owl#Expectation_Insert> ;
             owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ] ,
           [ rdf:type owl:Restriction ;
             owl:onProperty <http://purl.org/ao/annotatesResource> ;
             owl:onClass <http://rs.tdwg.org/dwc/terms/Occurrence> ;
             owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger  ] ,
           [ rdf:type owl:Restriction ;
             owl:onProperty <http://purl.org/ao/hasTopic> ;
             owl:onClass <http://rs.tdwg.org/dwc/terms/Identification> ;
             owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger  ] ;
     rdfs:subClassOf <http://purl.org/ao/core/Annotation> .



###  http://etaxonomy.org/ontologies/applepie.owl/UpdateDetermination

<http://etaxonomy.org/ontologies/applepie.owl/UpdateDetermination> 
     rdf:type owl:Class ;
     owl:equivalentClass 
          [ rdf:type owl:Restriction ;
            owl:onProperty <http://purl.org/ao/annotatesResource> ;
            owl:onClass <http://rs.tdwg.org/dwc/terms/Occurrence> ;
            owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger  ] ,
          [ rdf:type owl:Restriction ;
            owl:onProperty <http://etaxonomy.org/ontologies/ao/aod.owl#hasExpectation> ;
            owl:onClass <http://etaxonomy.org/ontologies/ao/aod.owl#Expectation_Update> ;
            owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger  ] ,
          [ rdf:type owl:Restriction ;
            owl:onProperty <http://purl.org/ao/context> ;
            owl:onClass <http://rs.tdwg.org/dwc/terms/Identification> ;
            owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger  ] ,
          [ rdf:type owl:Restriction ;
            owl:onProperty <http://purl.org/ao/hasTopic> ;
            owl:onClass <http://rs.tdwg.org/dwc/terms/Identification> ;
            owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger  ] ;
      rdfs:subClassOf <http://purl.org/ao/core/Annotation> .

###  Generated by the OWL API (version 3.2.3.1824) http://owlapi.sourceforge.net