Skip to content

how are supertypes assigned? #7

Description

@VladimirAlexiev

I'm trying to find all RCs related to Food & Drink and I thought they all would have the supertype umbel:FoodDrink. I started with Cuisines:

  • there are a total of 55 cuisines, see 1
  • of them 31 are rdfs:subClassOf umbel:FoodDrink, see 2
  • all 55 are rdf:type rc:Cuisine but not subClassOf thereof, see 3
  • rc:Cuisine is rdfs:subClassOf umbel:FoodDrink but this so all individual cuisines will get rdf:type umbel:FoodDrink

Why all 54 cuisines have rdf:type umbel:FoodDrink but only 30 of them have rdfs:subClassOf umbel:FoodDrink? Should I use rdf:type or rdfs:subClassOf for my task?

rdfcat -x umbel_reference_concepts.n3 -out ntriple > umbel_reference_concepts.nt
perl -S prefixize.pl umbel_reference_concepts.nt > umbel_reference_concepts1.ttl
1: grep -i "cuisine.* rdf:type umbel:RefConcept" umbel_reference_concepts1.ttl
2: grep -i "cuisine.*FoodDrink" umbel_reference_concepts1.ttl
3: grep -i "cuisine.*rc:Cuisine" umbel_reference_concepts1.ttl|wc -l

Note: only 83 RCs have rdfs:subClassOf umbel:FoodDrink. They vary a lot: rc:TastePerception, rc:NorthAmericanCuisine , rc:SpoiledFood, rc:SaltingFood (an activity), rc:TripleCremeCheese, rc:BasicVegetarianDiet

Can I chat to you? skype:valexiev1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions