Open orenpapers opened 6 years ago
Yes, for such taxonomical relation, you need to use Sematch to load Wikipedia category taxonomy.
Do you mean like here in DBpedia Entity Similarity / DBpedia Concept Similarity? http://gsi-upm.github.io/sematch/similarity/ I tried it but I have some problems:
Thanks!
In sematch/semantic/sparql.py you can find a class called NameSPARQL, there you can find name2entities, which is simply implemented based on exact string matching to entity names.
Regarding to your question 1, what I mean is you need to load the corresponding Wikipedia category taxonomy in DBpedia, which you need to download from DBpedia dataset. Then you can use sematch/semantic/graph.py to load the taxonomy data, and then use similarity interface.
Hello, Is it possible to get hiererchical path distance between entities?
For example, Madrid -> Cities in spain -> Barcelon (distance = 1) Madria -> Cities in spain -> Cities in europe -> Rome (distance = 2)
Thanks