geneontology / amigo

AmiGO is the public interface for the Gene Ontology.
http://amigo.geneontology.org
BSD 3-Clause "New" or "Revised" License
29 stars 17 forks source link

Add schema.org structured data to AmiGO pages where appropriate #534

Open kltm opened 6 years ago

kltm commented 6 years ago

This is metadata for pages that would allow better crawling and display from Google (and possible others).

For reference, see: https://agr-jira.atlassian.net/browse/AGR-1160 https://search.google.com/structured-data/testing-tool/u/0/ https://developers.google.com/search/docs/guides/sd-policies

Tagging @nathandunn

kltm commented 6 years ago

Also note: https://developers.google.com/search/docs/data-types/dataset

cmungall commented 6 years ago

Coordinate with OBO/OLS where possible: https://github.com/OBOFoundry/OBOFoundry.github.io/issues/716

nathandunn commented 6 years ago

FYI, I mapped the ids here: https://github.com/alliance-genome/agr_ui/pull/308

kltm commented 6 years ago

Talking with @cmungall ; start with terms, don't worry too much about other stuff right now.

kltm commented 6 years ago

Workspace:

<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Dataset",
  "@id": "GO:0022008",
  "name": "neurogenesis",
  "description": " Generation of cells within the nervous system. Source: GOC:curators, GOC:dph, GO_REF:0000021, GOC:dgh, GOC:jid, GOC:mtg_15jun06, GOC:cls",
  "url": "http://amigo.geneontology.org/amigo/term/GO:0022008",
  "keywords": "gene ontology term nervous system cell generation, neural cell differentiation",
  "includedInDataCatalog": "http://geneontology.org",
  "creator": {
    "@type": "Organization",
    "name": "Gene Ontology"
  },
  "version": "10.5281/zenodo.1410625",
  "license": "CC BY 4.0"
}
</script>
kltm commented 6 years ago

@cmungall We can go from here? Any idea what to do about keywords? Currently "gene ontology term" plus synonyms--I'm unsure how "strict" to be about all of this.

kltm commented 6 years ago

From https://pending.schema.org/CategoryCode as well, thinking about image and alternateName.

kltm commented 5 years ago

Note current status if work from @nathandunn https://gist.github.com/nathandunn/6fefd97f5a5a5578e302b4623e52f990

nathandunn commented 5 years ago

@kltm This work won’t come in until sometime next year. I would stick with what is in the AGR as only stuff currently here: https://schema.org/ https://schema.org/ will be guaranteed to be indexed.

However, if you provided both that would be okay. The Bioschemas proposal won’t be ratified until later.

Nathan

On Nov 5, 2018, at 11:19 AM, kltm notifications@github.com wrote:

Note current status if work from @nathandunn https://github.com/nathandunn https://gist.github.com/nathandunn/6fefd97f5a5a5578e302b4623e52f990 https://gist.github.com/nathandunn/6fefd97f5a5a5578e302b4623e52f990 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/geneontology/amigo/issues/534#issuecomment-436000766, or mute the thread https://github.com/notifications/unsubscribe-auth/AAt2qmFaMgooJP1tjFEDWznJkhGw-RiIks5usI8sgaJpZM4Wfc_K.