http://www.co-ode.org/ontologies/pizza/pizza.owl#InterestingPizza
Any pizza that has at least 3 toppings. Note that this is a cardinality constraint on the hasTopping property and NOT a qualified cardinality constraint (QCR). A QCR would specify from which class the members in this relationship must be. eg has at least 3 toppings from PizzaTopping. This is currently not supported in OWL.
Instances of pizza.owl:InterestingPizza 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#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
:InterestingPizza a owl:Class ;
rdfs:label "PizzaInteressante"@pt ;
rdfs:comment "Any pizza that has at least 3 toppings. Note that this is a cardinality constraint on the hasTopping property and NOT a qualified cardinality constraint (QCR). A QCR would specify from which class the members in this relationship must be. eg has at least 3 toppings from PizzaTopping. This is currently not supported in OWL."@en ;
owl:equivalentClass [ a owl:Class ;
owl:intersectionOf ( [ a owl:Restriction ;
owl:minCardinality "3"^^xsd:nonNegativeInteger ;
owl:onProperty :hasTopping ] :Pizza ) ] .