Hi, currently, there is no mapping for Infobox_election yet that the MappingExtractor could use. http://mappings.dbpedia.org/index.php/Mapping:Infobox_election
That is why the data is extracted by the InfoboxExtractor, which uses our initial, now three year old infobox parsing approach and accepts a lot of input without normalizing, cleaning or checking it. This extractor produces relations with the namespace http://dbpedia.org/property/ (or dbpedia2: in the SPARQL interface). Cheers, Max On Sun, Jul 25, 2010 at 2:07 PM, George Hamilton <[email protected]> wrote: > > Hi > > I am new to SPARQL but would like to use dbpedia for fetching election > results. I've tried the following query > > http://dbpedia.org/snorql/?query=SELECT+*%0D%0AWHERE+%7B%0D%0A++%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FUnited_Kingdom_general_election%252C_2001%3E+dbpedia2%3Aleader+%3Fleader+.%0D%0A++%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FUnited_Kingdom_general_election%252C_2001%3E+dbpedia2%3ApopularVote+%3Fvote%0D%0A%7D > > but the results come out unormalised. > > I expected to see: > > Tony Blair 10724953 > William Hague 8357,615 > Charles Kennedy 4814321 > > > Can anyone suggest what is going wrong? > > Thanks > > George > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Dbpedia-discussion mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion > > ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
