I finally got around to fix this problem. Template names containing a slash are now no longer a problem for the mappings server.
They can now be validated and you can test the mapping with extraction samples, see for example http://mappings.dbpedia.org/server/mappings/pt/extractionSamples/Mapping_pt:Info/Pol%C3%ADtico http://mappings.dbpedia.org/server/mappings/pt/validate/Mapping_pt:Info/Bebida This is especially relevant for writing Portuguese mappings. Cheers, Max On Thu, Dec 16, 2010 at 18:04, Max Jakob <[email protected]> wrote: > Hi Vania, > > at the moment, I don't know how to fix this, but I would propose a > work-around. I think only the Validator has a problem with the slash. > But you can save the mapping without a problem. > > Create a page without a '/', write the mapping and evaluate it. When > you are done and the mapping is valid, do not save the page that you > just used, copy the mapping code and create a new page. This time use > the real title with '/'. Paste the mapping code and save. > > Best, > Max > > On Thu, Dec 16, 2010 at 12:45 AM, Vânia Rodrigues > <[email protected]> wrote: >> Hello! >> >> I'm trying to create a mapping for an infobox in my language (pt), but I >> have a problem. If I use this link >> (http://mappings.dbpedia.org/index.php?title=Mapping_pt:Info/Gênero_musical) when >> I try to validate my code I get the following error: >> Error Messsage: Stacktrace: >> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:997) >> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:947) >> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:938) >> com.sun.jersey.server.impl.container.httpserver.HttpHandlerContainer.handle(HttpHandlerContainer.java:187) >> com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65) >> sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:65) >> com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:68) >> sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:555) >> com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:65) >> sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:527) >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >> java.lang.Thread.run(Thread.java:619) >> I believe that this is happing because I'm using the char '/' on my link. >> When I changed it >> to http://mappings.dbpedia.org/index.php?title=Mapping_pt:Info_Gênero_musical >> the error did not occured. My problem is that I need to use the first link >> in order to correspond the mapping to the right infobox at wikipedia (this >> one: http://pt.wikipedia.org/wiki/Predefinição:Info/Gênero_musical). >> Does anyone have any idea how can I fix this problem? >> Thank you. >> Vânia >> ------------------------------------------------------------------------------ >> Lotusphere 2011 >> Register now for Lotusphere 2011 and learn how >> to connect the dots, take your collaborative environment >> to the next level, and enter the era of Social Business. >> http://p.sf.net/sfu/lotusphere-d2d >> _______________________________________________ >> Dbpedia-discussion mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion >> >> > ------------------------------------------------------------------------------ Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
