FAIRplus / FAIR_wizard

https://www.ebi.ac.uk/ait/fair-wizard/
Apache License 2.0
2 stars 0 forks source link

new decision tree #91

Closed FuqiX closed 2 years ago

FuqiX commented 2 years ago

@theisuru Could you please help me have a look at this decision tree? It is valided against the schema, but it can't be loaded in the webpage.

FuqiX commented 2 years ago

updated the decision tree for testing. a test path: http://localhost:8080/wizard?answers=Chemical%20and%20bioassays&answers=Data%20enrichment%20stage&answers=To%20be%20analysed%20in%20other%20workflows%20for%20any%20purposes&answers=People%20in%20this%20community&answers=Enabling%20scientific%20novelty&answers=All%20types%20of%20guidance&answers=Formats%20supporting%20communication%20and%20dissemination&answers=Yes,%20structured%20metadata%20is%20available&answers=no&answers=No&answers=No,%20no%20appropriate%20data%20vocabulary%20available&answers=Yes,%20data%20will%20be%20shared%20and%20exchanged%20with%20collaborators%20and%20other%20projects&answers=Yes&answers=No

This link should return resources, because in the question bank

{
        "text": "No",
        "description": "",
        "labels": [
          "license",
          "licensing"
        ],
        "next": "0"

in the fair_resource.json, we have recipes with this label.

{
    "id": "fw:recipe-declaring-data-permitted-uses",
    "name": "Declaring data permitted uses",
    "title": null,
    "description": "The purpose of this content is to provide guidance on how to describe permitted use of data and identify the resources that exist to do so. the aim is also to document equivalent representations and how bridges can be built between the distinct but equivalent implementations.",
    "image": null,
    "location": "https://fairplus.github.io/the-fair-cookbook/content/recipes/reusability/expressing-data-use.html",
    "status": null,
    "resourceType": "Recipe",
    "labels": [
      "policy",
      "data use agreement",
      "data use ontology",
      "licensing",
      "data sharing"
    ],

but they are not returned.

theisuru commented 2 years ago

@FuqiX could you please check now. There was a problem with answers having multiple labels and this is fixed now.