dat-ecosystem-archive/datBase

Add Schema.org context for Dat Explore

thadguidry opened this issue · 1 comments

Here is the essential script for what we currently are exposing in the catalog listing (I think).
But correct me if I am wrong.
I'd like someone to point me to the area of code where we could begin leveraging Schema.org for published Dat's , then I can help contribute more. The idea is that each Dat would have a script snippet. You can play with it here: http://tinyurl.com/ybt2jyzv

It also seems that we probably want to expand the publish options to the Dat Registry to support more Schema.org context
https://docs.datproject.org/publish

<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Dataset",
  "name": "${md.title}",
  "author": {
    "name":"${md.author}",
    "sameAs": "${md.twitterSite}"
  },
  "description": "${md.description}",
  "image": "${md.image}",
  "url": "${url}"
}
</script>

you want support linked data on dat archives? super cool 😎