Hi all,

some Wikipedia pages contain coordinates in multiple places, that's
why DBpedia extracts multiple values.

Some pages using
http://en.wikipedia.org/wiki/Template:Infobox_Australian_place contain
latd values that seem to say that the place is in the Northern
hemisphere.

Examples:

>From the wikitext of http://en.wikipedia.org/wiki/Melbourne:

| coordinates =
{{Coord|37|48|49|S|144|57|47|E|type:city(4000000)_region:AU-VIC|display=inline,title}}

Looks correct - |S| means southern hemisphere, and DBpedia extracts
this correctly.

| latd  =37  |latm =48 |lats  =49
| longd =144 |longm =57 |longs =47

To me (and to DBpedia), this looks like Melbourne is in the Northern hemisphere.

Similar for http://en.wikipedia.org/wiki/Prahran,_Victoria

{{Coord|-37.852|144.998|format=dms|type:city_region:AU-VIC|display=title}}

looks correct

|longd=144.998|latd=37.852

looks like Northern hemisphere.

This needs further investigation. If the values are wrong, we should
find out how many pages are affected. Or maybe
Template:Infobox_Australian_place expects the latd value to be
positive, because it knows that all values will be in the Southern
hemisphere anyway? In this case, we'd have to improve our framework to
be able to handle such a special case.


JC

On Thu, Jul 26, 2012 at 3:57 PM, jordi castells <[email protected]> wrote:
> Thanks Sebastian & Pablo for your responses.
>
> I checked, as you suggested, the live endpoint but the problem persists. Not
> on all the points, for example Melbourne is okay, but
> http://live.dbpedia.org/page/Prahran,_Victoria still has two geo:lat
> objects.
>
> I also would like to note that this page is not in sync with Wikipedia page
> of Prahran. I'm thinking of the possibility that the extractors source code
> is okay now, but
> not when the articles were extracted.
> Last update of this Wikipedia page is 18 July 2012. I checked the added
> triples on http://live.dbpedia.org/liveupdates/2012/07/18/ but there is no
> reference to the Prahran resource.
>
> And thanks, I also like the images. When it's done I will upload them at the
> wiki.
>
> Salut!
>
> --Castells--
> http://jcastellssala.wordpress.com
>
>
>
> On Thu, Jul 26, 2012 at 7:58 AM, Sebastian Hellmann
> <[email protected]> wrote:
>>
>> Hello Jordi,
>> these are nice images, maybe you can add them and/or your project to
>> wiki.dbpedia.org and link it at:
>> http://wiki.dbpedia.org/Applications
>>
>> For the generation of geocoordinates a two step process is involved, which
>> includes some Java/Scala code, i.e. the Geoparser and also some  mapping
>> rules
>> in the Mappings Wiki http://mappings.dbpedia.org/
>> for example see the Geocoordinate mapping on
>> http://mappings.dbpedia.org/index.php/Mapping_en:Infobox_settlement
>>
>> I would suggest the following:
>> DBpedia 3.8 is almost ready and maybe the bug with the duplicates is fixed
>> already, so we don't have to do anything.
>> You might also want to try the live endpoint:
>> http://live.dbpedia.org/resource/Melbourne
>>
>> All the best,
>> Sebastian
>>
>>
>> Am 25.07.2012 15:35, schrieb jordi castells:
>>
>> Hello
>>
>> I have been working with dbpedia the last months, I also asked something
>> about the point values on the mailing list,
>> and you already gave me good advice on other semantic datasets to check.
>>
>> I continued working with dbpedia because I want other information provided
>> about the Points datasets, relations, wikipedia abstracts etc.
>>
>> But I would like to ask again the question on how the point values are
>> generated. Recently I plotted DBpedia points on a map:
>> http://i.imgur.com/lVVbQ.png
>> To determine the most populated zones. There are some errors, but I assume
>> that it's okay, it is impossible
>> not to have errors.
>>
>> What worries me is the kind of duplication found on Australia:
>> http://i.imgur.com/fTAwb.png
>>
>> For example, the N-triples for Melbourne lat,lon are the following:
>> ---
>> <http://dbpedia.org/resource/Melbourne>    <
>> http://www.w3.org/2003/01/geo/wgs84_pos#lat>    "37.8136"^^<
>> http://www.w3.org/2001/XMLSchema#float> .
>> <http://dbpedia.org/resource/Melbourne>    <
>> http://www.w3.org/2003/01/geo/wgs84_pos#lat>    "-37.8136"^^<
>> http://www.w3.org/2001/XMLSchema#float> .
>> <http://dbpedia.org/resource/Melbourne>    <
>> http://www.w3.org/2003/01/geo/wgs84_pos#long>    "144.963"^^<
>> http://www.w3.org/2001/XMLSchema#float> .
>> ---
>>
>> Repeating the latitude with positive and negative values. making it
>> impossible for a machine to determine the correct place.
>> Other points have duplicated latitudes or longitudes, but those are so
>> close that it makes no big difference (like
>>
>> http://dbpedia.org/page/Ben_Lomond,_California<http://dbpedia.org/page/Saratoga,_California>
>> ).
>>
>> This is why I write to the mailing list. To point out those errors, ask
>> again how the geo:lat, geo:lon predicates are populated, and to offer my
>> help if I can do something to improve it.
>>
>> Salut!
>>
>> *--Jordi Castells--*
>> http://jcastellssala.wordpress.com
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>
>>
>>
>> _______________________________________________
>> Dbpedia-discussion mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>>
>>
>>
>> --
>> Dipl. Inf. Sebastian Hellmann
>> Department of Computer Science, University of Leipzig
>> Events:
>>   * http://sabre2012.infai.org/mlode (Leipzig, Sept. 23-24-25, 2012)
>>   * http://wole2012.eurecom.fr (*Deadline: July 31st 2012*)
>> Projects: http://nlp2rdf.org , http://dbpedia.org
>> Homepage: http://bis.informatik.uni-leipzig.de/SebastianHellmann
>> Research Group: http://aksw.org
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Dbpedia-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to