gbv / jskos

JSKOS data format for Knowledge Organization Systems
https://gbv.github.io/jskos/
38 stars 5 forks source link

Add field to describe API access #121

Open nichtich opened 7 months ago

nichtich commented 7 months ago

By now we use the non-standard field API. Better add servicealigned with dcat:DataService. Maybe this:

{
  "service": [
  {
    "apitype": "http://bartoc.org/api-type/skosmos",
    "endpoint": "https://lod.gesis.org/iso-3166-1/"
  },
  {
    "apitype": "http://bartoc.org/api-type/sparql",
    "endpoint": "https://publications.europa.eu/webapi/rdf/sparql"
  },
  {
    "apitype": "http://bartoc.org/api-type/skosmos",
    "endpoint": "https://skosmos.bartoc.org/951/"
  }
  ]
}
<> dcat:service [ a dcat:DataService ;
    dcterms:conformsTo <http://bartoc.org/api-type/skosmos> ;
    dcat:endpointURL "https://lod.gesis.org/iso-3166-1/"
 ],[ a dcat:DataService ;
    dcterms:conformsTo <http://bartoc.org/api-type/sparql> ;
    dcat:endpointURL "https://publications.europa.eu/webapi/rdf/sparql"
 ],[ a dcat:DataService ;
  dcterms:conformsTo <http://bartoc.org/api-type/skosmos> ;
  dcat:endpointURL "https://skosmos.bartoc.org/951/"
] .

Open questions: