Hi Sabine

> I am trying to map the following:
> http://de.wikipedia.org/wiki/Vorlage:Infobox_Atoll
> 
> This became:
> http://mappings.dbpedia.org/index.php/Mapping_de:Infobox_Atoll (well not
> all
> in there by now)
> 
> Now the problem lies in "GEWAESSER" (=water)
> 
> Since a "water" is like a river a "BodyOfWater" it became an Ontology
> class:
> http://mappings.dbpedia.org/server/ontology/classes#Water
> (which IMHO is correct like I created it)

There is no need for your new ontology class "Water". The class BodyOfWater 
already represents this general class for water areas.
For the Atoll mapping you need a ontology property for a BodyOfWater in that 
the Atoll is located.To make this clear you should name the ontology property 
locatedInBodyOfWater. That would look like this:

{{ObjectProperty
| rdfs:la...@en = locatedInBodyOfWater
| rdfs:comm...@en = ex. an ocean is a water
| rdfs:la...@de = Gewässer
| rdfs:domain = place
| rdfs:range = BodyOfWater
}}

But the easier and more abstract way is to take the locatedInArea ontology 
property that already exists.
http://mappings.dbpedia.org/index.php/OntologyProperty:LocatedInArea

> Then back to the mapping:
> http://mappings.dbpedia.org/index.php/Mapping_de:Infobox_Atoll
> 
> here "water" needed to be created as a OntologyProperty:
> http://mappings.dbpedia.org/index.php/OntologyProperty:Water (and here I
> don't have a clue if this is correct, because I simply don't find a valid
> example)
> 
> I looked at "river" to get an example:
> http://mappings.dbpedia.org/index.php/OntologyProperty:River
> but what I don't understand is why
> rdfs:domain = Island

Sorry, you couldn't understand it because this is a mistake. The domain should 
be Place.

Another example:
The domain of your OntologyProperty archipelago should be the new ontology 
class "Atoll" an the range could be a "Archipelago" class. If there is no class 
like that and you don't want to create it, leave out the range property. The 
range is set to owl:Thing by deafult (the same for the domain).

{{ObjectProperty
| rdfs:la...@en = archipelago
| rdfs:domain = Atoll
}}
 
> It could also be that I simply don't see the obvious - but sorry, I don't
> see it. For now I will go ahead mapping only existing parts of Infoboxes,
> but it's a pity because almost none will be complete.
> 
> Cheers and thanks in advance,
> 
> Bina


Regards,
Paul

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to