MaastrichtU-IDS / fair-enough

♻️ Service to define and run evaluations of the FAIR principles (Findable, Accessible, Interoperable, Reusable) on online resources
https://fair-enough.semanticscience.org
MIT License
7 stars 4 forks source link

Better querying of the evaluations results #13

Closed vemonet closed 2 years ago

vemonet commented 2 years ago

Users should be able to query the evaluations results to answer questions like "get me all evaluations that have a score of 1 for the metric test i1-structrured metadata and a score of 0 for i1-license"

Either:

vemonet commented 2 years ago

Done

query MyQuery {
  evaluations(filterTests: [
    {metric: "https://w3id.org/fair-enough/metrics/tests/f1-metadata-identifier-persistent", score: 1},
    {metric: "https://w3id.org/fair-enough/metrics/tests/f3-metadata-identifier-in-metadata", score: 1}
  ]) {
    subject
    results {
      metricTest
      score
    }
  }
}