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
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to