Hi Paul,
ok now I get it. With your explanation in mind I'm just wondering how
to circumvent the obstacles set by articles that use infoboxes like
"Ort_in_Argentinien". The problem is that when using the template one
has to select a specific province which is defined in a list of
provinces:
| [[Liste der Provinzen Argentiniens|Provinz]]:
| {{#switch: {{{Provinz|}}}
|Salta = [[Salta (Provinz)|Salta]]
|Buenos Aires (Provinz) = [[Buenos Aires (Provinz)|Buenos Aires]] (Provinz)
...
When these provinces' names do not correspond to the actual titles of
the wikipedia articles the extraction of the specific property fails.
So what possibilities do we mappers have to handle that problem? Or is
it inevitable without restricting the syntax of infoboxes?
Regards,
Bastian
2011/4/4 Paul Kreis <[email protected]>:
> Hi Bastian,
> generally, if an infobox property is mapped to an ontology object property,
> the DBpedia framework "searches" for Wikilinks in the infobox property
> value. For instance a fictitious property:
> | country = World cup 2010 in [[South Africa]].
> If this property is mapped to an ontology object property, the DBpedia
> framework would extract a triple with an object:
> <http://dbpedia.org/resource/South_Africa>. If the infobox property is mapped
> to an ontology datatype property with xsd:string as range, the framework
> would extract a triple with an literal as object: "World cup 2010 in South
> Africa"@en . In a case where an infobox value doesn't contain a link, but is
> mapped to an ontology object property, normally nothing would be extracted.
> But the framework do some simple entity recognition. In your example:
> "|Lage=Südafrika" a Wikipedia article exists that has exactly the name of the
> property value: http://de.wikipedia.org/wiki/S%C3%BCdafrika. Therefore the
> framework is able to extract the correct resource.
>
> regards,
> Paul
>
> -------- Original-Nachricht --------
>> Datum: Mon, 4 Apr 2011 09:52:46 +0200
>> Von: Bastian Gorholt <[email protected]>
>> An: Paul Kreis <[email protected]>
>> CC: [email protected]
>> Betreff: Re: [Dbpedia-discussion] Missing properties after mapping extraction
>
>> Hi Paul,
>>
>> I don't know if I got you right.
>>
>> > With a look at the infobox of Ushuaia you can see that the property
>> values don't contain wikilinks. "Provinz" is mapped to the
>> OntologyProperty:County, "Bürgermeister" is mapped to
>> OntologyProperty:LeaderName and URL is
>> mapped to OntologyProperty:WikiPageExternalLink (personally, I would prefer
>> foaf:homepage btw). All of these three ontology properties are object
>> properties, therefore they expect a wikilink.
>>
>> Do you mean that merely such properties can be extracted: [[some
>> value]]? If that is true I wonder why also simple values (without the
>> brackets) are extracted in other cases. For instance in
>> http://de.wikipedia.org/wiki/Addo-Elefanten-Nationalpark the property
>> |Lage=Südafrika is evaluated and the information does not vanish
>> during the extraction process. Just test the mapping at
>> http://mappings.dbpedia.org/index.php/Mapping_de:Infobox_Schutzgebiet.
>>
>> Cheers,
>> Bastian
>>
>> >
>> > -------- Original-Nachricht --------
>> >> Datum: Fri, 1 Apr 2011 12:55:58 +0200
>> >> Von: Bastian Gorholt <[email protected]>
>> >> An: [email protected]
>> >> Betreff: [Dbpedia-discussion] Missing properties after mapping
>> extraction
>> >
>> >> Hi everybody,
>> >>
>> >> I encountered another problem after defining new mappings for dbpedia.
>> >> I created a German mapping "Ort in Argentinien":
>> >>
>> http://mappings.dbpedia.org/index.php/Mapping_de:Infobox_Ort_in_Argentinien
>> >>
>> >> As you can see it includes mappings for the properties "Provinz" and
>> >> "URL". Unfortunately when I test the mapping the mapped properties
>> >> province and wikiPageExternalLink are not within the results, at all.
>> >> Furthermore if you have a look at the results of Ushaia and compare
>> >> them with the source text of the corresponding article
>> >> http://de.wikipedia.org/wiki/Ushuaia you will recognize additional
>> >> missing properties: department (Departamento) and leaderName
>> >> (Bürgermeister).
>> >>
>> >> Does anybody spot the root of all evil in this example?
>> >>
>> >> Cheers,
>> >> Bastian
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> Create and publish websites with WebMatrix
>> >> Use the most popular FREE web apps or write code yourself;
>> >> WebMatrix provides all the features you need to develop and
>> >> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>> >> _______________________________________________
>> >> Dbpedia-discussion mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>> >
>> >
>> ------------------------------------------------------------------------------
>> > Create and publish websites with WebMatrix
>> > Use the most popular FREE web apps or write code yourself;
>> > WebMatrix provides all the features you need to develop and
>> > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>> > _______________________________________________
>> > Dbpedia-discussion mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>> >
>
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion