Hi Vânia, On Wed, Jan 5, 2011 at 23:22, Vânia Rodrigues <[email protected]> wrote: > A few days ago I sent an email reporting a problem, because I couldn't add > mappings with infobox pages that use the character '/' on the link. I tried > to solve my problem creating a new infobox page at wikipedia wich is a > redirect to the previous one. Now I can create my mapping but I don't have > any result when I click on "test this mapping" > (http://mappings.dbpedia.org/server/mappings/pt/extractionSamples/Mapping_pt:Info_Genero_musical). > I read somewhere in the wiki that I can't use redirect pages, but I have one > mapping that is working > (http://mappings.dbpedia.org/index.php/Mapping_pt:Info_artista_musical) and > it's a redirect page, so I'm not sure if I can use this or not.
Indeed, you have created a mapping with the name of a redirect (Info_artista_musical) that points to an inbobox template. When extracting data, the framework is looking for templates on Wikipedia pages having this name. If people use the redirect name in Wikipedia instead of the canonical name of the template (Info/Música/artista), it is possible to extract data using your mapping. This is why it works for these examples: http://pt.wikipedia.org/wiki/Armin_van_Buuren http://pt.wikipedia.org/wiki/Billie_Holiday But there is no Wikipedia page that uses the redirect name Info_Genero_musical. Every page about music genres in the Portuguese Wikipedia seems to use the canonical name Info/Gênero_musical. Therefore, the test mapping for Info_Genero_musical does not produces any output. > I'm asking > for some advise for this problem, because in my language all the infobox I > want to use have the '/' on the link. We should definitely fix this. Creating mappings for the canonical name of infoboxes is the right thing to do, because then all infoboxes can be extracted: that ones that use the canonical name and the ones that use redirect names (they are resolved to the canonical name). I can propose another work-around until this is fixed. You can download the extraction framework [1] and start it in server mode. In the input box that will appear in your browser, you can enter the URI of the article you would like to extract. For example, I tested it for Rock_and_roll, Samba and House_music of the Portuguese Wikipedia, which all use the template Info/Gênero_musical. I know this is not as convenient as the test mappings, but maybe it is a possibility until we fixed the bug. Cheers, Max [1] http://sourceforge.net/projects/dbpedia/ ------------------------------------------------------------------------------ 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
