GeoscienceAustralia / Placenames-Ontology

Codes and other documentation for transformation, querying and managing the Place Names dataset in Linked Data format.
Creative Commons Attribution 4.0 International
2 stars 3 forks source link

Formalize the Place Type classification vocabulary #22

Open dr-shorthair opened 4 years ago

dr-shorthair commented 4 years ago

Currently visible at https://vocabs.ands.org.au/repository/api/lda/ga/place-type/v1-0/resource?uri=http://pid.geoscience.gov.au/def/voc/ga/PlaceType

The Groups and Categories would be better implemented as skos:Collection rather than broader concepts - they are a way of organizing the classification, they are now classifiers themselves.

bellie888 commented 4 years ago

That's a question for Shane Crossman. GA and Shane put a lot of work into that vocab, although I know they are looking for your input very much. :)

dr-shorthair commented 4 years ago

Looks like Lara Sedgmen was looking after this, but she doesn't appear to be attached to this GitHub repo.

bellie888 commented 4 years ago

Best to talk to Shane. I do remember one meeting with Lara.

dr-shorthair commented 4 years ago

In the current model, the place-type is associated with the Place rather than the PlaceName but this may not be correct - see https://raw.githack.com/GeoscienceAustralia/Place-Names/master/images/placename-details.png

ibastrak commented 4 years ago

Do we need to say it’s hasPlaceNameOrigin?

ibastrak commented 4 years ago

Sorry, hasPlaceNameOrigin or something similar to indicate indigenous connection

dr-shorthair commented 4 years ago

Suggest you look at the ontology documentation and in particular the summary image which shows pretty much everything. Then we can re-evaluate the design to verify if it meets all the requirements.

bellie888 commented 4 years ago

I remember Nick et al talking about this because a Place can have several names, Aboriginal Name, Local Name, Historical name etc, so one placename can have several 'Names'

ibastrak commented 4 years ago

Just to clarify:

Lara’s involvement was through GA vocabulary publication process – she is moving them to RVA. I don’t think she would want to be involved in out HitHub repo.

Jenny Long from my section is looking after their context. Not sure if Jenny is part of the group. She is going through a quite quick learning curve with vocabularies.

Any required modifications for vocabularies would need to go through Joe, Shane and myself – if the GA process is not quite right now, we will need to talk to our geoinformatics section about it.

dr-shorthair commented 4 years ago

@bellie888 Indeed. That's why Place and PlaceName are separated. But that does mean that the various tags must be on the right thing. That's not clear to me that we've got it right yet.

dr-shorthair commented 4 years ago

The use of skos:narrower to create the taxonomy is incorrect, at least in parts. I pulled down the Place-type source from https://vocabs.ands.org.au/viewById/260 It could be remediated using the following SPARQL process:

  1. Find the leaf nodes and give them type pt:Type
    INSERT { ?s a pt:Type }
    WHERE {
    ?s a skos:Concept . 
    NOT EXISTS { ?s skos:narrower ?t . }
    }
  2. Find the root nodes and give them type pt:Group, and add skos:member predicates toremove the type skos:Concept
    
    INSERT { ?s a pt:Group , skos:Collection ;  skos:member ?u .}
    WHERE {
    ?s a skos:Concept ; 
        skos:narrower ?u .
    NOT EXISTS { ?s skos:broader ?t . }
    }

DELETE { ?s a skos:Concept ; skos:narrower ?u .} WHERE { ?s a skos:Concept ; skos:narrower ?u . NOT EXISTS { ?s skos:broader ?t . } }

3. Find the middle layer and make them `pt:Category`

INSERT { ?s a pt:Category , skos:Collection ; skos:member ?u .} WHERE { ?s a skos:Concept ; skos:broader ?t ; skos:narrower ?u . }

DELETE { ?s a skos:Concept ; skos:broader ?t ; skos:narrower ?u .} WHERE { ?s a skos:Concept ; skos:broader ?t ; skos:narrower ?u . }

Fix up type of `pt:UNCLASSIFIED`
and fix up the `skos:topConceptOf` relationships 

DELETE { ?s skos:topConceptOf ?c } WHERE { { ?s a pt:Group } UNION {?s a pt:Category } ?s skos:topConceptOf ?c } INSERT { http://pid.geoscience.gov.au/def/voc/ga/PlaceType skos:hasTopConcept ?s } WHERE { ?s a skos:Concept . }

ibastrak commented 4 years ago

returning to this conversation

( content moved to https://github.com/GeoscienceAustralia/Place-Names/issues/25#issuecomment-630593926 )

dr-shorthair commented 4 years ago

Current version of the Place Type classification in RVA. The terminology is structured into a taxonomy e.g.

TERRAIN └ LANDFORM     └ BANK     └ BAR     └ ...     └ MOUNTAIN     └ ... └ UNDERSEA     └ ... └ UNDER_ICE     └ ...

These are all encoded as skos:Concept. That is as it should be if they all to be used as classifiers directly: e.g. if Uluru / Ayers Rock must be classified as ( MOUNTAIN , LANDFORM , TERRAIN )

But it seems to me that

  1. Uluru / Ayers Rock is a MOUNTAIN
  2. MOUNTAIN is a member of the LANDFORM category
  3. LANDFORM is a member of the TERRAIN group

i.e. every MOUNTAIN is a LANDFORM, and every LANDFORM is a TERRAIN - you can find that out by looking up MOUNTAIN and LANDFORM and TERRAIN. So it is redundant to reproduce the whole path-from-the-classification-taxonomy within the record for each individual place like Uluru / Ayers Rock.

BTW - the GA PID service appears to be down at present - so http://pid.geoscience.gov.au/def/voc/ga/PlaceType/LANDFORM is giving a 404. It should redirect to https://vocabs.ands.org.au/repository/api/lda/ga/place-type/v1-0/resource?uri=http://pid.geoscience.gov.au/def/voc/ga/PlaceType/LANDFORM .

dr-shorthair commented 4 years ago

It would be useful to clarify this, then we can consider whether the taxonomy should be encoded as

Collection -member→ Concept

or as

Concept -narrower→ Concept