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

Make the list of properties field in the submission form and the metadata administration includes all the properties listed in the submission_metadata endpoint. #200

Closed
Tracked by #135
syphax-bouazzouni opened this issue Feb 16, 2023 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@syphax-bouazzouni
Copy link
Collaborator

syphax-bouazzouni commented Feb 16, 2023

The metadata properties selector component, does not include all the properties listed in the /submission_metadata API endpoint

image

@syphax-bouazzouni syphax-bouazzouni mentioned this issue Feb 16, 2023
7 tasks
@syphax-bouazzouni
Copy link
Collaborator Author

syphax-bouazzouni commented Feb 16, 2023

update the code with this hard-coded list (done here 88e3e09)

 [
     :format, format_equivalent],
     :version,
      :status,
      [:location, location_equivalent],
      :URI,
      :deprecated,
      :hasOntologySyntax,
      :hasFormalityLevel,
      :isOfType,
      :naturalLanguage,
      :description,
      :homepage,
      :documentation,
      :publication,
      :usedOntologyEngineeringTool,
      :abstract, :notes, :keywords, :alternative, :identifier,
      :knownUsage,
      :designedForOntologyTask,
      :hasDomain,
      :coverage,
      :example,
      :conformsToKnowledgeRepresentationParadigm,
      :usedOntologyEngineeringMethodology,
      :accrualMethod,
      :accrualPeriodicity,
      :accrualPolicy,
      :competencyQuestion,
      :versionIRI,
      :source,
      :isFormatOf,
      :hasFormat,
      :includedInDataCatalog,
      :depiction,
      :logo,
      :associatedMedia,
      :released,
      :modificationDate,
      :valid,
      :curatedOn,
      :publisher,
      :hasLicense,
      :morePermissions,
      :copyrightHolder,
      :contact,
      :hasContributor,
      :hasCreator,
      :audience,
      :toDoList,
      :useGuidelines,
      :repository,
      :bugDatabase,
      :mailingList,
      :award,
      :wasGeneratedBy,
      :wasInvalidatedBy,
      :curatedBy,
      :endorsedBy,
      :fundedBy,
      :translator,
      :useImports,
      :hasPriorVersion,
      :isAlignedTo,
      :ontologyRelatedTo,
      :isBackwardCompatibleWith,
      :isIncompatibleWith,
      :comesFromTheSameDomain,
      :similarTo,
      :explanationEvolution,
      :generalizes,
      :hasDisparateModelling,
      :hasPart,
      :usedBy,
      :workTranslation,
      :translationOfWork,
      :preferredNamespacePrefix,
      :preferredNamespaceUri,
      :keyClasses,
      :endpoint,
      :dataDump,
      :csvDump,
      :openSearchDescription,
      :uriLookupEndpoint,
      :uriRegexPattern,
      :metadataVoc,
      :exampleIdentifier,
      :numberOfClasses,
      :numberOfIndividuals,
      :numberOfProperties,
      :entities,
      :numberOfAxioms
    ]

@syphax-bouazzouni syphax-bouazzouni self-assigned this Feb 16, 2023
@syphax-bouazzouni
Copy link
Collaborator Author

@hibadjebabria169 test and close if done

@syphax-bouazzouni syphax-bouazzouni added the bug Something isn't working label Feb 16, 2023
@syphax-bouazzouni
Copy link
Collaborator Author

Also, the format and location are somehow special, they include other properties. See below what they includes

  def format_equivalent
    %w[hasOntologyLanguage prefLabelProperty synonymProperty definitionProperty authorProperty obsoleteProperty obsoleteParent]
  end

  def location_equivalent
    %w[summaryOnly pullLocation]
  end

@hibadjebabria169
Copy link

hibadjebabria169 commented Feb 16, 2023

So, here's the properties that i didn't found on the list :

  • Acronym (can't bulk edit ontology fields)
  • Title (can't bulk edit ontology fields)
  • Other identifier ( you have only identifier Uri which is different from other identifier)
  • Access rights ( viewing restrictions ) (can't bulk edit ontology fields)
  • Hidden or past name (can't bulk edit ontology fields)
  • Bibliographic reference
  • Creation date
  • Submission date
  • Notes ( here you listed only one, and actually we have 2 types of notes …) (can't bulk edit ontology fields)
  • Evaluation
  • Group (can't bulk edit ontology fields)
  • Used in the project (can't bulk edit ontology fields)
  • Analytics (can't bulk edit ontology fields)
  • ToDo list (exists with the name To do list)
  • Example of use
  • Created with
  • Hierarchy property (included in the format name)
  • Access URL (don't know where to find it)
  • Download URL (does not exist in the code, it's a computed and not editable field)
  • SPARQL endpoint (exist with name endpoint)
  • Is part of (don't know where to find it)
  • Specializes (I don't why but it's called explanationEvolution @jonquet )
  • Has disjunctions with (is not displayed and not used @jonquet )
  • Root of obsolete branch (included in the format name)
  • Root resources (don't know where to find it)
  • Changes (it's a computed and not editable field)
  • Maximum depth of the hierarchy (can't bulk edit ontology fields, metrics)
  • Maximum number of children per class (can't bulk edit ontology fields, metrics)
  • Average number of children per class (can't bulk edit ontology fields, metrics)
  • Number of classes with a single child (can't bulk edit ontology fields, metrics)
  • Number of classes with more than 25 children (can't bulk edit ontology fields, metrics)
  • Number of classes with no definition (can't bulk edit ontology fields, metrics)

@syphax-bouazzouni
Copy link
Collaborator Author

I can't include ontology metadata properties, like Acronyms, Titles, and Access rights, group, catagories ..., (the ones that are listed here: https://data.stageportal.lirmm.fr/ontology_metadata)

I can only access the submissions fields for now (and listed here https://data.stageportal.lirmm.fr/submission_metadata)

@syphax-bouazzouni
Copy link
Collaborator Author

Done #669

@jonquet
Copy link

jonquet commented Jun 10, 2024

Is there an equivalent issue so we can also see/select the metadata attributes of the ontolgy object:
https://data.agroportal.lirmm.fr/ontology_metadata

@syphax-bouazzouni
Copy link
Collaborator Author

Is there an equivalent issue so we can also see/select the metadata attributes of the ontology object: https://data.agroportal.lirmm.fr/ontology_metadata

this new input can select ontologies and submission properties, or do you mean a selector for only ontology properties?

@jonquet
Copy link

jonquet commented Jun 10, 2024

Ahh ok. Good then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants