Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema org applied to visualisations: proper markup and valid workaround to describe dynamic charts #979

Open
gg4u opened this issue Feb 3, 2016 · 3 comments
Labels
no-issue-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!).

Comments

@gg4u
Copy link

gg4u commented Feb 3, 2016

Hello,

  1. any plan for applying schema to visualisations, therefore on SVG?
  2. from http://bib.schema.org/Atlas
    I read maps, charts, plates or tables, physical or in media form illustrating any subject.
    Is it a proper descriptor for objects representing "knowledge maps" and "references" and other media?
    If not, which?
  3. How to specify further and which best practice to describe a visualisation that include SVG object:
  4. Describe on the
    container + in ?
  5. how to create an itemID for an object which is new?
    E.g. in this example http://bib.schema.org/Atlas the snipper show a book, I would like to create an ID for my own object
  6. Is it valid to include descriptors in elements with css display:none property?
    The idea is to provide a description which can be read from bots, while the objective of the description would be explained by the visualisation (that is, the user have a "visual" description of elements in SVG rather than "textual of elements for bots").
@gg4u gg4u changed the title schema org applied to visualisations (D3.js and such) or valid workaround schema org applied to visualisations: proper markup and valid workaround to describe dynamic charts Feb 3, 2016
@danbri
Copy link
Contributor

danbri commented Feb 3, 2016

This is not an area that has had much attention / discussion. I know that SVG historically supported inline metadata, but I don't know much about how that has been used in practice. Do you have any overview or data on the current conventions, issues, needs etc?

@gg4u
Copy link
Author

gg4u commented Feb 4, 2016

Yes I would like to understand a best practice to describe content in a page structures like:

<div id="knowledge-map-here-will-load-ajax-visualisation-about-a-topic">
<svg id="see-example-DNA">

Each topic, or entity, carries its own visualisation that display its context.
Example:
screen shot 2016-02-04 at 9 30 12 am

1# Need

  • I thought "Atlas" as proper markup to describe this type of content, for *form illustrating any subject.
  • If not, which rationale should I follow to choose a better description, since I do not handle HTML object and the written content in the page is pulled from third party sources?
    In https://bib.schema.org/Atlas
    I read - "Usage: Fewer than 10 domains"
  • better to use a selector vastly used or poorly used? where to look for which domains are using it?

2# Tech Issues:
Visualisations are loaded via ajax and done in SVG.
If I couldn't describe SVG elements, I would like to include a markup in the page to help engines understand what the object is about.

  • Better to included markup in html, meta, or the wrapping div tag?
  • Is it a good practice to include an HTML list, as redundancy of elements in SVG , and hide the list to t he user ? I thought the search engine could go through it.

As example for the picture above, something like:

<div id="visualisation"><svg></svg></div>
<div  itemscope itemtype="http://schema.org/Atlas???"  id="listing-elements-in-visualisation" style="display:none">
    // this block is hidden to user and meant for SEO
    // add schema markup for each element in visualisation
    // itemprop="name" DNA sameAS="wikipedia.org/DNA"
    // itemprop="name" GENE sameAS="wikipedia.org/Gene"
</div>

This snippet could be provided server side in the html page, avoiding possible issues for indexing ajax.

So far any entity I display could point to wikipedia or other websites, I wonder if it is good practice or could be considered as a "copy" by a search engine and penalise the site.

3# Creating an ItemID for each visualisation?

In https://bib.schema.org/Atlas and itemID is used to point to a book.

  • Is it possible and meaningful to create and itemID for each visualisation?
<div itemscope itemtype="http://schema.org/Atlas" itemid="http://www.worldcat.org/oclc/41310554">
        <h1 itemprop="name">Atlas of the World</h1>
        <h2 itemprop="alternateName">National Geographic atlas of the world</h2>
        <div>Publisher: <span itemprop="bookEdition">7th ed.</span></div>
        <div>Publisher: <span itemprop="publisher">National Geographic Society</span></div>
        <div>Published: <span itemprop="datePublished">1999</span></div>
</div>

@github-actions
Copy link

github-actions bot commented Sep 1, 2020

This issue is being tagged as Stale due to inactivity.

@github-actions github-actions bot added the no-issue-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!). label Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-issue-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!).
Projects
None yet
Development

No branches or pull requests

2 participants