pizza.owl:SpicyPizza leaf node


URI

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

Label

PizzaTemperada

Description

Any pizza that has a spicy topping is a SpicyPizza

Usage

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

PROPERTYTYPEDESCRIPTIONRANGE
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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

:SpicyPizza a owl:Class ;
    rdfs:label "PizzaTemperada"@pt ;
    rdfs:comment "Any pizza that has a spicy topping is a SpicyPizza"@en ;
    owl:equivalentClass [ a owl:Class ;
            owl:intersectionOf ( :Pizza [ a owl:Restriction ;
                        owl:onProperty :hasTopping ;
                        owl:someValuesFrom :SpicyTopping ] ) ] .