Hi Adrian,

On 02/09/2013 06:21 PM, Adrian Gschwend wrote:
On 09.02.13 17:20, Mohamed Morsey wrote:

Hi Tom, hi Mohamed,

>>That seems very wrong.  Where is this mapping/extraction defined?
>>And why are there two different mappings?
>
>Theres is only one mapping for "Infobox Swiss Town", and infobox
>attribute "municipality_code" is mapped to DBpedia property
>"municipalityCode". This value is extracted by the "InfoboxExtractor"
>which depends on some heuristics to infer the datatype of the
>extracted information. Similar issue was discussed here [1].
ok but is there any reason that there are two properties?

Actually there are 2 extractors which extract data from an infobox, specifically the "InfoboxExtractor" and the "MappingExtractor". The InfoboxExtractor, extracts all infobox attributes and uses the attribute name as the property name in DBpedia.
For example in [1], there is the following attribute:

   | languages        = German

this attribute name is used as is, and represented in the "http://dbpedia.org/property/"; namespace, i.e. "http://dbpedia.org/property/languages";.

The MappingExtractor, extracts structured data based on hand-generated mappings of Wikipedia infoboxes to the DBpedia ontology. It then extracts the value of each Wikipedia property defined for that type of infobox, and generates an appropriate triple for it, based on those mappings.
The DBpedia mappings is available at [2].

You can find more information about the extractors here [3].


>>That seems not quite as wrong, but still wrong since the
>>identifier string doesn't really have an associated language.
>
>You are right in that.
yeah that was confusing me too, had to cast it to integer in SPARQL to
be able to map that. Could this be fixed?

cu

Adrian

[1] http://en.wikipedia.org/w/index.php?title=Samstagern&action=edit
[2] http://mappings.dbpedia.org/
[3] http://wiki.dbpedia.org/DeveloperDocumentation/Extractor

--
Kind Regards
Mohamed Morsey
Department of Computer Science
University of Leipzig

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to