On 6/7/12 5:46 PM, Pablo Mendes wrote: > > Perhaps intermediate node mapping? > http://mappings.dbpedia.org/index.php/How_to_edit_DBpedia_Mappings#Intermediate_Node_Mapping No, I don't need to extract multiple values from a single property. I'd rather look for something like [1], but I'm not sure I got how it works. Citing from [1]:
"The first template infobox on a page defines the type of this page, while further infobox templates will be extracted as instances of the corresponding types and own URIs." a) If I understand, it's normal behaviour to build new URIs in case of multiple templates in one wiki article. Does that explain those double-underscored URIs I mentioned? b) How can I know a priori which is the first template used by a wiki article? In other words, how can I choose the non first-grade templates where I should define 'correspondingClass' and 'correspondingProperty' values? Intuitively, when multiple template occur in the same wiki article, I'd generate a unique entity (i.e. subject) and assign all the mapped types and properties to it, no matter where the templates are in the wiki article. Cheers, Marco [1] http://mappings.dbpedia.org/index.php/Template:TemplateMapping#Mapping_multiple_templates_from_one_wiki_page > > Cheers, > Pablo > > On Thu, Jun 7, 2012 at 4:49 PM, Marco Fossati <[email protected] > <mailto:[email protected]>> wrote: > > Hi Jona, > > Thank you for the quick bug fix. > However, I tested the two mentioned mappings and noticed that some > strange triple subjects are generated. > > [1] yields: > http://it.dbpedia.org/resource/Alfredo_Binda > http://it.dbpedia.org/resource/Alfredo_Binda__lfredo__1 > > [2] yields: > http://it.dbpedia.org/resource/Diabolik_(fumetto) > http://it.dbpedia.org/resource/Diabolik_(fumetto)__fumetto__1 > > Those double-underscored resources are not valid. > > I tried a random mapping from another language [3] and I got the > same issue: > http://es.dbpedia.org/resource/Jacques_Chirac > http://es.dbpedia.org/resource/Jacques_Chirac__Jacques_Chirac__1 > > It seems this occurs when there are more template mappings for the same > entity. > Any clue? > Hope this helps. > Cheers, > > Marco > > [1] > > http://mappings.dbpedia.org/server/mappings/it/extractionSamples/Mapping_it:Sportivo > [2] > > http://mappings.dbpedia.org/server/mappings/it/extractionSamples/Mapping_it:Fumetto_e_animazione > [3] > > http://mappings.dbpedia.org/server/mappings/es/extractionSamples/Mapping_es:Ficha_de_criminal > > > On 6/7/12 3:09 PM, Jona Christopher Sahnwaldt wrote: > > Hi Marco, > > > > thanks for the report! That bug is now fixed. Please try again. > > > > JC > > > > On Wed, Jun 6, 2012 at 5:58 PM, Marco > Fossati<[email protected] <mailto:[email protected]>> wrote: > >> Hi everyone, > >> > >> I'm trying to test some Italian mappings [1] [2], but it fails > with a null > >> pointer exception. > >> The stacktrace is attached. > >> Hope this helps. > >> Cheers, > >> > >> Marco > >> > >> [1] > >> > > http://mappings.dbpedia.org/server/mappings/it/extractionSamples/Mapping_it:Sportivo > >> [2] > >> > > http://mappings.dbpedia.org/server/mappings/it/extractionSamples/Mapping_it:Fumetto_e_animazione > >> > >> > > ------------------------------------------------------------------------------ > >> Live Security Virtual Conference > >> Exclusive live event will cover all the ways today's security and > >> threat landscape has changed and how IT managers can respond. > Discussions > >> will include endpoint security, mobile security and the latest > in malware > >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > >> _______________________________________________ > >> Dbpedia-discussion mailing list > >> [email protected] > <mailto:[email protected]> > >> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion > >> > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. > Discussions > will include endpoint security, mobile security and the latest in > malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Dbpedia-discussion mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
