http://www.co-ode.org/ontologies/pizza/pizza.owl#hasTopping
Note that hasTopping is inverse functional because isToppingOf is functional
DOMAIN | PROPERTY | RANGE |
---|---|---|
pizza.owl:Pizza | pizza.owl:hasTopping | pizza.owl:PizzaTopping |
@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#> .
:hasTopping a owl:InverseFunctionalProperty,
owl:ObjectProperty ;
rdfs:comment "Note that hasTopping is inverse functional because isToppingOf is functional"@en ;
rdfs:domain :Pizza ;
rdfs:range :PizzaTopping ;
rdfs:subPropertyOf :hasIngredient ;
owl:inverseOf :isToppingOf .