From: Enno M. <Enn...@bi...> - 2013-02-18 10:23:15
|
Hi Dimitris, I am not quite sure that your reply is a answer to my question. The main problem is to prevent the extraction of: http://dbpedia.org/ontology/birthPlace = http://nl.dbpedia.org/resource/13_maart when the data in the Infobox is: geboren =[[Utrecht (stad)|Utrecht]], [[13 maart]] [[1975]] the other extracted values are correct: http://dbpedia.org/ontology/birthDate 1975-03-13 http://dbpedia.org/ontology/birthPlace http://nl.dbpedia.org/resource/Utrecht_(stad) If you answer helps to prevent this from happening than please elaborate a little more. Best, Enno ________________________________ Van: Dimitris Kontokostas [ji...@gm...] Verzonden: maandag 18 februari 2013 8:38 To: Enno Meijers Cc: Gerard Kuys; Roland Cornelissen; dbp...@li... Onderwerp: Re: mapping question Hi Enno, you are right, we should include the Dutch mailing list (included) For me the best approach is to use the special date templates we already have these for Dutch [1] and we can always include more if you find any. These templates are usually better because they already include date links the *Wikipadia style* and have more formatting options (e.g. for people they display age) Dimitris [1] https://github.com/jimkont/extraction-framework/blob/master/core/src/main/scala/org/dbpedia/extraction/config/dataparser/DateTimeParserConfig.scala#L118 On Fri, Feb 15, 2013 at 10:50 PM, Enno Meijers <Enn...@bi...<mailto:Enn...@bi...>> wrote: Hi Dimirtris, Sorry for bugging you, but I ran into the following problem: f.e. Infobox presentator in Wikipedia: geboren =[[Utrecht (stad)|Utrecht]], [[13 maart]] [[1975]] Mapping: {{PropertyMapping | templateProperty = geboren | ontologyProperty = birthDate }} {{PropertyMapping | templateProperty = geboren | ontologyProperty = birthPlace }} Results in: http://dbpedia.org/ontology/birthDate 1975-03-13 http://dbpedia.org/ontology/birthPlace http://nl.dbpedia.org/resource/Utrecht_(stad) http://dbpedia.org/ontology/birthPlace http://nl.dbpedia.org/resource/13_maart Is there a way to prevent the second result for birthPlace? For Infobox_auteur (writer) I used two properties in the Infobox one for the birthDate (geboortedatum) and another for the Birthplace (geboorteplaats). But this means editing by hand for all these cases. Do you have a solution? Best, Enno BTW: should I post questions like this on the (nl)dbpedia.org<http://dbpedia.org> list? -- Kontokostas Dimitris |