Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPIC: Allinson Flex Contolled Values #195

Closed
ShanaLMoore opened this issue Nov 15, 2022 · 7 comments
Closed

EPIC: Allinson Flex Contolled Values #195

ShanaLMoore opened this issue Nov 15, 2022 · 7 comments

Comments

@ShanaLMoore
Copy link
Contributor Author

ShanaLMoore commented Nov 18, 2022

UCSC has the ability to choose from multiple QA in their forms. Refer to Kiah.

@ShanaLMoore
Copy link
Contributor Author

ShanaLMoore commented Nov 18, 2022

start by trying to set up remote library of congress QA. Search the QA wiki. RIght now it may only assume local authorities.

find a term that uses both lcsh and another authority, implement the property querying both either by UCSC dropdown or a QA aggregate that will show all authorities.

how can flex do this dynamically?

this will store url but we will need the see label. We will want to index and store the label. Possible that we will write the label to fedora, solr, or our local db cached, or somehow dynamically get the label. We will need to revisit this when the time comes.

QA will return uri and label. in the form object, we could add a property_label hidden field that shadows the uri property. property and property label should be sorted by Order Already antics. (a gem that Jeremy wrote). We will also want to index the property label.

We will want to cache at the time we've retrieved the label.

CACHING LAYER
TBD

@ShanaLMoore
Copy link
Contributor Author

goal 1: on the edit page for an LCSH property, search and select functionality for a term within an authority.
goal 2: The show page will have the term's label.
goal 3: When I edit and save an existing work that has a uri term, it will continue to show the label.

Then:
multiple authorities
allow for single property to choose which authority to query
must be performant and durable.

@ShanaLMoore
Copy link
Contributor Author

Do the clients have a label? if not, we will need a job that will re-label all of the things.

@ShanaLMoore
Copy link
Contributor Author

ShanaLMoore commented Nov 18, 2022

How will this work with allinson flex?

in fedora, we write tiples (subject (the work), predicate (url), object (either a literal or an url)). Authorities will write the object as url. When there's a label, we will need to use a different predicate and the object will be a string. Because we have two different predicates, we will need to make sure we map the correct url from the authority to the correct label. Order matters!

@ShanaLMoore
Copy link
Contributor Author

Discussed during planning meeting w Rob and the team,

DOT has UI for editing QA within hyrax app

Best approach - get QA do all the things it needs to talk to the authorities

We will likely not use Lark.

step 1: connect library of congress w QA.

@jillpe
Copy link

jillpe commented Apr 19, 2023

covered in #388

@jillpe jillpe closed this as completed Apr 19, 2023
@ShanaLMoore ShanaLMoore reopened this May 2, 2024
@jillpe jillpe closed this as completed May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants