Il 03/01/2011 18.57, Rajarshi Guha ha scritto: > Hi, I am working with the SKOD categories file > http://wiki.dbpedia.org/Downloads351#categories(skos) to obtain a > hierarchy of Wikipedia categories, starting a t a specified category > (Proteins for example). However, I am finding that some categories are > children of each other. > > For example, given the following triple > > <http://dbpedia.org/resource/Category:Enzymes_by_function> > <http://www.w3.org/2004/02/skos/core#broader> > <http://dbpedia.org/resource/Category:Enzymes> > > my understanding is that Enzymes is the parent of Enzymes_by_function. > > However I also find the triple: > > <http://dbpedia.org/resource/Category:Enzymes> > <http://www.w3.org/2004/02/skos/core#broader> > <http://dbpedia.org/resource/Category:Enzymes_by_function> > > which states the reverse. > > Is this by design? > > Browsing Wikipedia categories at > http://en.wikipedia.org/w/index.php?title=Special:CategoryTree&target=Proteins&mode=categories&dotree=Show+tree > I see that Enzymes is the parent of Enzymes_by_function and not the > other way around. if that's the case, how did DBpedia derive the above > triples? > > Thanks, > Hi Rajarshi, Wikipedia is made by men, and men are not perfect. If Wikipedia was written by God, such problems would not exist. If you find some disagreement between DBpedia and the current Wikipedia, it depends on the fact that DBpedia dumps refer to march 2010. If you run this SPARQL query:
http://dbpedia-live.openlinksw.com/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&should-sponge=&query=select+*+where+{%0D%0A%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FCategory%3AEnzymes%3E+skos%3Abroader+%3Fo%0D%0A}&debug=on&timeout=&format=text%2Fhtml&save=display&fname= on this endpoint http://dbpedia-live.openlinksw.com/sparql you won't see such disagreement. All the best, roberto -- Roberto Mirizzi http://sisinflab.poliba.it/mirizzi ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
