polifonia-project / clef Goto Github PK
View Code? Open in Web Editor NEWLight-weight Linked Open Data native cataloguing and crowdsourcing platform
License: ISC License
Light-weight Linked Open Data native cataloguing and crowdsourcing platform
License: ISC License
It helps to have a linkable URL.
In some cases, the URL overflows, e.g. https://projects.dharc.unibo.it/musow/view-1638795966-4064233
Snip:
From source code (No virtualenv)
- download the source code from the latest release or clone the repository
- install requirements.txt with pip (pip3 install requirements.txt)
This has to be pip3 install -r requirements.txt
fixed as per polifonia-project/web_portal#3
I'm using the new version of clef, and some problems occurred to me when creating and deleting templates:
The same thing happens when it comes to resources: even if they have been deleted as triples from the knowledge graph, their turtle file stays in the folder resources.
Need the ability to hide triples from the front end, but make sure that they are not deleted from record graphs. This is necessary when there are values that should not be shown to users. Currently, if I import a graph via Blazegraph that contains triples that are not in the model, they are deleted if I edit the record via the back end.
Currently if I create two fields in the template creation page (regardless of type) w/ the same rdf property on the front end the values for each will be combined in the output of each. Example:
- One template field is named ‘Academic Discipline’: Textbox, dcterm:subject, value=entity
- Another is named ‘Primary Subject’: Textbox, dcterm:subject, value=URL
In the front end my record will display each field separately but combine all values for both. It would be useful to have a way for this to be split if needed such as in the above example where I want to make a clear distinction between what the values of the dcterm:subject property represent.
It would be nice to have the possibility to recognise multiple language tags for strings both in the back and front end. Currently additional strings w/ language tags can be added to a triple via Blazegraph however the system doesn’t do anything with them.
In the back end there should be the possibility to specify the language of a string input (Text box > free text, Text Area, Dropdown/Checbox labels) as well as add additional ones. This should be available in the record creation form (rather than the template creation form).
For example if a template’s field matches text box > free text, the record creation form should display an additional option to specify the language of the input as well as the option to add more languages, in which case more fields will be required. Alternatively the language strings could be specified in the text input directly, with the @+letters+comma combination used to separate them in the graph (e.g. my string@en, mia string@it, etc…), as this combination is unlikely to occur naturally (?).
In template.html, the script lines with this structure:
$$("#type__$id option[value$$=$field['type']]").attr("selected","selected");
have no closing square parentheses ']'. This causes a syntax error when trying to modify the template since values are not loaded correctly.
This error is present in every version of CLEF currently available, so even after the correction in the new one it might happen that someone still encounters it.
The repository has moved here to continue the development beyond the usage in musoW. Here the previous issue tracker
To satisfy the constraints of complex models while preserving the usability and user-friendliness of the product, Template creators should be allowed to define multiple linked Templates (referring to different classes) to be associated with a single Web form. In other words, the end-user should be able to generate multiple Records (with different Classes) by filling a single form.
For instance, let's consider the following example about the modelling of provenance information with CIDOC-CRM:
<https://example.com/work/663763> a crm:E22_Man-made-object ;
crm:P24i_changed_ownership_through <https://example.com/acquisition/22734637> ;
crm:P24i_changed_ownership_through <https://example.com/acquisition/22734638> ;
crm:P24i_changed_ownership_through <https://example.com/acquisition/22734639> .
<https://example.com/acquisition/22734637> a crm:E8_Acquisition ;
crm:P22_transferred_title_to <https://example.com/person/223> ;
crm:P4_has_time-span <https://example.com/acquisition_timespan/0466456> .
<https://example.com/acquisition_timespan/0466456> a crm:E52_Time-Span ;
crm:P81a_end_of_the_begin "1640-01-01"^^xsd:date ;
crm:p81b_begin_of_the_end "1862-12-31"^^xsd:date .
Instead of filling in three different forms (Man-made-object; Acquisition; Time-Span), the end-user will need to select the Man-made-object Template, fill in a "Time-span of the Acquisition" input field, and save the data. The system will automatically process it and generate three separate Records (one for each class).
Two suggestions for possible future developments of the application:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.