Thank you Dimitris. These links are really helpful.
Best regards,
Mehmet
From: Dimitris Kontokostas [mailto:jimk...@gmail.com]
Sent: Thursday 23 January 2014 12:17 PM
To: Mehmet Ali Abdulhayoglu
Cc: dbpedia-discussion@lists.sourceforge.net
Subject: Re: [Dbpedia-discussion] Extracting region/state information for
populated places
Dear Mehmet
you can improve / increate the data that are extracted from Wikipedia by better
mapping the infobox to the DBpedia ontology [1] [2]
This is a crowdsourced process that needs regular updates due to changes in
Wikipedia templates
Once you improve the mappings, DBpedia Live [3] will reflect all the changes
(within a short time) but dbpedia.org<http://dbpedia.org> will be updated on
the next static release.
Best,
Dimitris
[1] http://mappings.dbpedia.org/index.php/Mapping_en:Infobox_German_location
[2]
http://mappings.dbpedia.org/server/templatestatistics/en/?template=Infobox_German_location
[3] http://live.dbpedia.org
On Thu, Jan 23, 2014 at 12:45 PM, Mehmet Ali Abdulhayoglu
<mehmetali.abdulhayo...@kuleuven.be<mailto:mehmetali.abdulhayo...@kuleuven.be>>
wrote:
Hello everyone,
I am a bibliometrics PhD and I am a newbie to dbpedia. I have been trying to
get region info through
Wiki infoboxes. I wrote the query as below:
SELECT DISTINCT *
WHERE {
?city rdf:type dbpedia-owl:PopulatedPlace .
?city rdfs:label ?label.
?city dbpedia-owl:abstract ?abstract .
?city dbpedia-owl:country ?country .
?country dbpprop:commonName ?country_name.
OPTIONAL { ?city dbpedia-owl:isPartOf ?partOf } .
OPTIONAL { ?partOf dbpprop:name ?partOfname } .
OPTIONAL { ?city dbpprop:region ?region }.
OPTIONAL { ?city dbpedia-owl:postalCode ?postal_code }.
FILTER ( lang(?abstract) = 'en' && lang(?label) = 'en' && regex(?country,
"Germany") && regex(?label, "Bonn"))
I realized that there is no region information for some places in their related
dbpedia pages even though the region info
appears in the original Wikipedia page. For example, for Bonn of Germany
http://en.wikipedia.org/wiki/Bonn
contains state info (North Rhine-Westphalia). However, in its dbpedia page
http://dbpedia.org/page/Bonn
I could not find this information. The same issue is valid for Leuven, Belgium.
Actually, the region information appears only
in the abstract part.
Am I missing something?
If you can guide me, it would be great.
Thanks in advance.
Kindest regards,
Mehmet
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net<mailto:Dbpedia-discussion@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
--
Kontokostas Dimitris
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion