oceanproteinportal / api

A Python API module for the Ocean Protein Portal
1 stars 0 forks source link

SPARQL query - models.py:76 - get_dataset_mapping.json #1

Closed jaclynsaunders closed 2 years ago

jaclynsaunders commented 3 years ago

models.py: 76

param input: None returns: map of datasets with “_id” and “shortname” ES query: {"_source": ["opp:shortName"]}

SELECT DISTINCT ?shortname ?dataset
WHERE {
  ?dataset rdf:type <http://schema.oceanproteinportal.org/v2/OPPDataset> .
  ?dataset opp:shortName ?shortname
}

Snorql OPP query

@sanjaygovindarajan

jaclynsaunders commented 2 years ago

@ashepherd - Hey, just checking -- can this issue be marked as resolved? Thanks!