DigitalCommons / open-data

0 stars 0 forks source link

ESSGlobal Vocab extensions #20

Closed ColmMassey closed 4 years ago

ColmMassey commented 4 years ago

We need to add the following categories in order to support the ICA/ILO categorisations.

Agriculture, Industry, Utilities & Transport to Economic Activities/Sectors (Modified) VES

And

Mutual, National apex, National sectoral federation or union, Regional, state or provincial level federation or union, Cooperative group, Government agency/body to Organisational Structure VES

ColmMassey commented 4 years ago

And demonstrate their use by extending ICA data importer to support.

ColmMassey commented 4 years ago

Can we see if there is an existing schema that would work for the ICA's Regions & SuperRegions?

sunnydean commented 4 years ago

Installing rapper could be a bit of a hassle in the future for others so i'm putting in the related info here: http://librdf.org/raptor/INSTALL.html -- link for raptor package (includes rapper)

https://github.com/timrdf/prizms/issues/87 (fix the configure bug for missing library)

https://github.com/ruby-rdf/rdf-raptor/issues/20 (fix for rapper: error while loading shared libraries: libraptor2.so.0: cannot open shared object file: No such file or directory )

sunnydean commented 4 years ago

https://github.com/essglobal-linked-open-data/map-sse

This is the repo that the https://vocabs.solidarityeconomy.coop/essglobal/V2a/vocab-content/essglobal-vocab.html is based on and contains the most recent code

sunnydean commented 4 years ago

BTW @ColmMassey what was the thought behind making a seperate modified definition? (i.e. Economic Activities/Sectors (Modified) VES) instead of just adding to the old one?

And do you have any idea why the html/rdf is not generated from the ttl and skos?

sunnydean commented 4 years ago

Note:

http://purl.org/essglobal/vocab/economicSector rdfs:label "Economic Sector"@en ; rdfs:label "Setor Económico"@pt ; dc:description "A categorization of the type of activities carried on by SSE initiatives."@en ; dc:description "Categorização do tipo de atividades exercidas por iniciativas da ESS."@pt ; rdfs:isDefinedBy http://purl.org/essglobal/vocab/ ; dc:issued "2014-02-06"^^xsd:date ; dc:modified "2019-05-28"^^xsd:date ; a owl:DatatypeProperty ; rdfs:range http://purl.org/essglobal/vocab/ActivitiesModified ;
rdfs:domain http://purl.org/essglobal/vocab/SSEInitiative .

http://purl.org/essglobal/vocab/primarySector rdfs:label "Primary Sector"@en ; dc:description "The primary activity carried out by SSE initiatives."@en ; rdfs:isDefinedBy http://purl.org/essglobal/vocab/ ; dc:issued "2019-05-20"^^xsd:date ; dc:modified "2019-05-20"^^xsd:date ; a owl:DatatypeProperty ; rdfs:range http://purl.org/essglobal/vocab/ActivitiesModified ;
rdfs:domain http://purl.org/essglobal/vocab/SSEInitiative .

This could be potentially incorrect, the range should include both concepts of http://purl.org/essglobal/vocab/ActivitiesModified and http://purl.org/essglobal/vocab/Activities

(might be fixed by just specifying their equivalence)

ColmMassey commented 4 years ago

BTW @ColmMassey what was the thought behind making a seperate modified definition? (i.e. Economic Activities/Sectors (Modified) VES) instead of just adding to the old one?

When we were presenting the original list of activities to people, it was felt that it was too long a list and wasn't useful for groups todescribe what they did. So the team (I wasn't part of this) created a new list. This is big open ended issue.

ColmMassey commented 4 years ago

And do you have any idea why the html/rdf is not generated from the ttl and skos?

I don't know anything about how they are generated. Soz.

ColmMassey commented 4 years ago

This could be potentially incorrect, the range should include both concepts of http://purl.org/essglobal/vocab/ActivitiesModified and http://purl.org/essglobal/vocab/Activities

Would be good to discuss this. next week.

sunnydean commented 4 years ago

Ah, just had a sudden realisation...

I added the activities and generated the dictionary, seems to be working perfectly fine, I just need to upload and make the swap in the rdf converter for the ICA data.

BUT

My previous comment describes a potential error in the ontology. If we fix (the perceived) error we can just use the existing ontology definitions (e.g. https://vocabs.solidarityeconomy.coop/essglobal/V2a/html-content/essglobal.html#activities-A08) instead of creating new ones. But then again. I will just extend the definition for now and we can open up a different ticket in the future for changing the ontology

sunnydean commented 4 years ago

It seems like the added term for:

https://w3id.solidarityeconomy.coop/essglobal/V2a/standard/organisational-structure/OS115

is not commited to the vocabulary repo: https://github.com/essglobal-linked-open-data/map-sse/tree/extension-test

I guess the latest commit there should have included it but something glitched a bit with git? @joebillings https://github.com/essglobal-linked-open-data/map-sse/commit/94a21064f7fea1addff9dcf3029f105fc083560e

I will add it in with some additional fixes to the repo

sunnydean commented 4 years ago

@ColmMassey updated and made a couple of changes as well

Added the terms Updated dates fixed anchoring bug for AM Fixed name of OS100 Commited uncommited changes to repository (I need access) +some minor fixes to the html

I also updated the mapping for the sausage factory We need to update the mapping for activities/organisation structures in the maps as well

sunnydean commented 4 years ago

Updated the map as well: http://dev.ica.solidarityeconomy.coop/

Shall we close this?

ColmMassey commented 4 years ago

We need to update the mapping for activities/organisation structures in the maps as well

Does this warrant anew Issue and then we close this one?

ColmMassey commented 4 years ago

Updated the map as well: http://dev.ica.solidarityeconomy.coop/ What do you mean by this? The org types all seem to be displayed as undefined. Activities not displayed yet. Did you mean something else?

sunnydean commented 4 years ago

@ColmMassey Apologies, I updated the map only locally and forgot to deploy. Should be good now: https://dev.ica.solidarityeconomy.coop/

ColmMassey commented 4 years ago

Would you still expect some of them to be undefined, like https://data1.solidarityeconomy.coop/ICA/42.html

ColmMassey commented 4 years ago

Would you still expect some of them to be undefined, like https://data1.solidarityeconomy.coop/ICA/42.html

Scratch that. It hadn't refreshed, for some reason. The undefined are gone!

sunnydean commented 4 years ago

Can we see if there is an existing schema that would work for the ICA's Regions & SuperRegions?

https://en.m.wikipedia.org/wiki/Geopolitical_ontology

This kindoff applies and moreover we can link the entry to dbpedia (at least its country) and get richer data

But I'm not completely sure that's the way to do it since region and super region is implied by the combination of city and country. I.e. we can just join the results from a query for our initiative and a query for the region of a specific city/country from some geo-tripple store

ColmMassey commented 4 years ago

https://schema.org/Continent https://schema.org/PostalAddress http://www.healthdata.org/sites/default/files/files/Projects/GBD/GBDRegions_countries.pdf

ColmMassey commented 4 years ago

Shifted Region/Super Region description to new Issue.