sapa / performing-arts-ch-templates

1 stars 3 forks source link

Form:Group change Rules (crm:P107i_is_current_or_former_member_of statement) #182

Closed b2d3c closed 1 year ago

b2d3c commented 2 years ago

After #181

In Form:Group, there are :

Membership / Mitglied von / Adhérent à / Membro di

image

Layout for logged people (in Group) : Association memberships / Mitglied von / Adhérent à / Membro di

ex: http://data.performing-arts.ch/a/138a6114-7bba-4ab7-bb43-ccd5ff3d7b77 image

Layout for logged people (in Veband) : Association members / Verbandsmitglieder / Membres de l’association / Membri dell’associazione

ex: http://data.performing-arts.ch/a/0afb069a-cd7e-4517-862e-fb607c4b5717 image

Members / Mitglieder / Membres / Membri

image

For Membership the property is ?Group crm:P107i_is_current_or_former_member_of ?OtherGroup.

But there is a mandatory rule : ?OtherGroup crm:P2_has_type <http://vocab.performing-arts.ch/vrjhq> (verband)

We want to remplace it with this ?OtherGroup rdf:type <https://www.ica.org/standards/RiC/ontology#CorporateBody>

SPARQL : https://www.dev.performing-arts.ch/sparql?query=PREFIX+crm%3A+%3Chttp%3A%2F%2Fwww.cidoc-crm.org%2Fcidoc-crm%2F%3E%0APREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0ASELECT+%2A+WHERE+%7B%0A++%3FInst+a+%3Chttps%3A%2F%2Fwww.ica.org%2Fstandards%2FRiC%2Fontology%23CorporateBody%3E.%0A++MINUS+%7B%3FInst+crm%3AP2_has_type+%3Fqqch%7D.%0A%7D+LIMIT+10%0A

b2d3c commented 1 year ago

see also : #290

fkraeutli commented 1 year ago

changed and deployed to Dev

b2d3c commented 1 year ago

Great!

We need now just to change the layout.

template:Group

ex: https://www.dev.performing-arts.ch/resource/?uri=http%3A%2F%2Fdata.performing-arts.ch%2Fa%2F0387974a-abfb-4d9c-9a11-f6c0f416c632 image

Association members and individual members have to be dispaly under the same label "Members".

Form:Group

image

fkraeutli commented 1 year ago

changed and deployed to dev

b2d3c commented 1 year ago

Sorry, I want to go back and to maintain in the Layout 3 labels different for :

We need just a change in the Label.

Layout ?Group

fkraeutli commented 1 year ago

I think I reverted and changed it accordingly. Can you check on dev?

b2d3c commented 1 year ago

Thanks.

Just lack in Layout ?OtherGroup (?Group crm:P107i_is_current_or_former_member_of ?OtherGroup) the change label:

ex: DEV https://www.dev.performing-arts.ch/resource/?uri=http%3A%2F%2Fdata.performing-arts.ch%2Fa%2F0387974a-abfb-4d9c-9a11-f6c0f416c632 image

fkraeutli commented 1 year ago

changed and deployed to Dev

b2d3c commented 1 year ago

Perfekt. You can deploy in prod. Thanks!