sparql - Mapping DBpedia types to Wikipedia Categories -


I am trying to map dibepedia types in Wikipedia categories, one simple example is the following SPARQL query

< Choose pre> different? Where's the cat? DBPDA-OWL: Lacrosse Player; DCTRM: Subject? Cat Filter (regex (? Cat, 'players', 'i'))} Limit 100


But it is highly inefficient because it has previously named the names of DBipedia as DBipedia Identify organizations (resources) and then remove their respective Wikipedia categories. I am trying to do this mapping for many other Dibepedia types.
Is there a direct or more efficient way to do this?

can help improve the filter; & Hellip;

As an initial note, if you remove or improve your filter, then you can get some speed. You can of course remove it, but you can make it even more effective, Because you are not actually using any special regular expressions. To check the URI (cat ('str (? Cat)', 'player') for the cat in the

  filter (?)  
< P string player may also be (I'm not sure) ? of rdfs: label Check and check that, because you do not have to make a case or string conversion.

& hellip; But there are many of the result.

But it is highly inefficient because it is the first DBPP Nominated entities (resources) need to map dbipedia types and then their related Wikipedia categories I am trying to do this mapping for many other Dibepedia types. Is there a direct or more efficient way to do this? / P>

I'm not sure what exactly is incompetent in DBipedia is the only way to type and categories that the processing of resources There are categories (through rdf: type ) ((through dcterms: subject ) if you want to find a connection, you can use these types of examples and those categories Need to find the ones they are related to. There is a possibility that you can provide categories of articles by a particular Infobox and can be used in infobox mapping to provide DBipedia type. This is the only way to get the category / DBPDA-type directly, which I can think of, and I do not know that there is such information in the current dataset.

Wikipedia categories are not a type hierarchy, there will be too many of those categories with which particular types of examples are related. For example, we can calculate the number of categories with the number of questions related to fish and lacrosse player :

  select? Type (counting as a separate category? NCKments) where {values} {{dbpedia-owl: fish dbpedia-owl: lacrosse player}? Type ^ a / dcterms: subject? Category} by group? Type  

  type ncategories http://dbpedia.org/ontology/LacrossePlayer 346 http: // Dbpedia.org/ontology/Fish 2375  

This question responds very quickly, and you can find those categories very easily:

  Type a different type? Category where {values} type {Dbpedia-owl: fish dbpda-owl: lacrosse player} type ^ a / dctrm: subject? Category} order? Type limit 4000  

When you start using such types of people who have many more examples, however, it matters big, Take some time for. For example, select Location :

 ? Type (counting (different category) as? Ncategories) where {values} type {dbpedia-owl: place}? Type ^ a / dcterms: subject? Category} by group? Type  

  type ncategories Http://dbpedia.org/ontology/place191172  

I You do not want to try dragging the data down from the remote server, if you want to remove it, then you should load the data locally.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -