Giter Site home page Giter Site logo

umbel's People

Contributors

fgiasson avatar mkbergman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

umbel's Issues

how are supertypes assigned?

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

Sample API is not functioning

It seems that the umbel.org API has been down for a few weeks now. Is there a plan to continue maintaining the site?

dbpediaOntologyPages.n3 is subject to cut-down?

I've counted the RCs in two files at https://github.com/structureddynamics/UMBEL/blob/master/Named%20Entities/, and the correlation between them, using these commands:

cut -d " " -f3 dbpediaOntologyPages.n3 | perl -S prefixize.pl | sort | uniq -c > types.txt
cut -d " " -f 3 wikipediaCategoriesListsIndividuals.n3|perl -S prefixize.pl| sort | uniq -c > relatesTo.txt
join  -j 2 relatesTo.txt types.txt > relatesTo_types.txt

Results: https://gist.github.com/VladimirAlexiev/2510e8ea78aecda94dd6

  • dbpediaOntologyPages has 896423 triples, using 184 different RC (lines in types.txt)
  • wikipediaCategoriesListsIndividuals has 4395002 triples, using 1668 different RC (lines in relatesTo.txt)
  • relatesTo_types.txt shows this correlation:
    96 common RC, 28% of the relatesTo triples and 57% of the type triples

Questions/problems:

  • I see many counts in types.txt that are 10000 and 20000. I'm suspicious of such round numbers, is it possible that the mapping process has cut-down something?
  • Isn't the correlation of types to relations too small? I'd have expected that each type also corresponds to a relation triple?

remove coatOfArms, has blazon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.