http://www.co-ode.org/ontologies/pizza/pizza.owl#VegetarianPizza
Any pizza that does not have fish topping and does not have meat topping is a VegetarianPizza. Members of this class do not need to have any toppings at all.
Instances of pizza.owl:VegetarianPizza can have the following properties:
PROPERTY | TYPE | DESCRIPTION | RANGE |
---|---|---|---|
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 |
@prefix : <http://www.co-ode.org/ontologies/pizza/pizza.owl#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
:VegetarianPizza a owl:Class ;
rdfs:label "PizzaVegetariana"@pt ;
rdfs:comment "Any pizza that does not have fish topping and does not have meat topping is a VegetarianPizza. Members of this class do not need to have any toppings at all."@en ;
owl:disjointWith :NonVegetarianPizza ;
owl:equivalentClass [ a owl:Class ;
owl:intersectionOf ( :Pizza [ a owl:Class ;
owl:complementOf [ a owl:Restriction ;
owl:onProperty :hasTopping ;
owl:someValuesFrom :MeatTopping ] ] [ a owl:Class ;
owl:complementOf [ a owl:Restriction ;
owl:onProperty :hasTopping ;
owl:someValuesFrom :FishTopping ] ] ) ] .