http://purl.org/goodrelations/v1#category
The name of a category to which this gr:ProductOrService, gr:Offering, gr:BusinessEntity, or gr:Location belongs.
Note 1: For products, it is better to add an rdf:type statement referring to a GoodRelations-compliant ontology for vertical industries instead, but if you just have a short text label, gr:category is simpler.
Note 2: You can use greater signs or slashes to informally indicate a category hierarchy, e.g. "restaurants/asian_restaurants" or "cables > usb_cables"
DOMAIN | PROPERTY | RANGE |
---|---|---|
Blank node (see implementation) | gr:category | rdfs:Literal |
@prefix gr: <http://purl.org/goodrelations/v1#> .
@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#> .
gr:category a owl:DatatypeProperty ;
rdfs:label "category (0..*)"@en ;
rdfs:comment """The name of a category to which this gr:ProductOrService, gr:Offering, gr:BusinessEntity, or gr:Location belongs.
Note 1: For products, it is better to add an rdf:type statement referring to a GoodRelations-compliant ontology for vertical industries instead, but if you just have a short text label, gr:category is simpler.
Note 2: You can use greater signs or slashes to informally indicate a category hierarchy, e.g. "restaurants/asian_restaurants" or "cables > usb_cables"
"""@en ;
rdfs:domain [ a owl:Class ;
owl:unionOf ( gr:ProductOrService gr:Offering gr:Location gr:BusinessEntity <http://schema.org/Offer> <http://schema.org/Product> <http://schema.org/Place> <http://schema.org/Organization> ) ] ;
rdfs:isDefinedBy <http://purl.org/goodrelations/v1> ;
rdfs:range rdfs:Literal .