pizza.owl:Pizza


URI

http://www.co-ode.org/ontologies/pizza/pizza.owl#Pizza

Label

Pizza

Usage

Instances of pizza.owl:Pizza can have the following properties:

PROPERTYTYPEDESCRIPTIONRANGE
From class pizza.owl:Pizza
pizza.owl:hasBase owl:FunctionalProperty pizza.owl:PizzaBase
pizza.owl:hasTopping owl:InverseFunctionalProperty Note that hasTopping is inverse functional because isToppingOf is functional pizza.owl:PizzaTopping
From class pizza.owl:Food
pizza.owl:hasIngredient owl:ObjectProperty NB Transitive - the ingredients of ingredients are ingredients of the whole pizza.owl:Food
pizza.owl:isIngredientOf owl:ObjectProperty The inverse property tree to hasIngredient - all subproperties and attributes of the properties should reflect those under hasIngredient. pizza.owl:Food
From class owl:Thing
pizza.owl:hasCountryOfOrigin owl:ObjectProperty owl:Thing
pizza.owl:hasSpiciness owl:FunctionalProperty A property created to be used with the ValuePartition - Spiciness. pizza.owl:Spiciness

Implementation

@prefix : <http://www.co-ode.org/ontologies/pizza/pizza.owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

:Pizza a owl:Class ;
    rdfs:label "Pizza"@en ;
    rdfs:subClassOf [ a owl:Restriction ;
            owl:onProperty :hasBase ;
            owl:someValuesFrom :PizzaBase ],
        :Food ;
    owl:disjointWith :IceCream,
        :PizzaBase,
        :PizzaTopping .