GSoC Project : Schema.org Mapping Tool

Sachini's picture

I’m Sachini Herath, following my bachelors degree in Computer Science and Engineering at University of Moratuwa, Sri Lanka. Currently pursuing my third year of study, I have worked on some projects using PHP and Symphony framework (You can find the source codes in github). I’m delighted to contribute to Drupal as my Google Summer of Code project this year.

I will be building a Schema.org mapping tool as my GSoC project, mentored by Stéphane Corlosquet (scor) and Kevin O’Leary. The project consists of two components that will allow the site builders to integrate schema.org mappings to Drupal 8 sites. Although http://schema.org/ will be used as the main vocabulary for this tool, it will support any vocabulary aside from schema.org (FOAF, Dublin Core, etc).

Schema.org mapping tool:
When creating content types and fields, the site builder will be able to assign the appropriate mappings from schema.org. The tool will use some heuristics to make context aware suggestions for the appropriate mappings. The suggestion will be based on the name of the content type or field and schema.org hierarchy.

Schema.org-driven Content type builder:
The Content structure will be automatically built based on the the types and properties chosen by the site builder. The user can choose a schema.org type and then select the properties that need to be made available on site. The Content type will be generated using appropriate field types as specified in range of the property at schema.org.

Wireframes of the tools can be found here. I will be committing changes to the sandbox project (https://drupal.org/sandbox/sachini/2272937).

Feel free to contact me on IRC, I appear as ´sachini´. Looking forward for an exciting summer with Drupal!

Comments

Great Idea!

ashepherd's picture

Sachini, this sounds like a great project! If you need test cases, feel free to ping on me.

Our site, http://www.bco-dmo.org, currently adds schema.org JSON-LD by calling drupal_add_html_head() for our Dataset records at: http://www.bco-dmo.org/dataset/3035. But this project would be a much more elegant solution.

We are really looking forward to the outcomes of your project!

cheers, Adam

Good relations

pinkonomy's picture

Great project! It would also be nice to include Good relations vocabulary.
Good luck!

This is excellent. I just

John_B's picture

This is excellent.

I just mentioned it on the forum for a popular Coursera MOOC about metadata.

Once the sandbox is promoted to a full project, and Drupal 8 is out, I am sure it will be widely used.

Project Released!!

Sachini's picture

Hello eveyone,
This project is now released. The project page is https://www.drupal.org/project/rdfui

Thank you ashepherd, pinkonomy and John_B for the comments. I'm looking forward for your suggestions and comments!

Sachini

Sachini, Thanks for your

orangecoat-ciallella's picture

Sachini,

Thanks for your work.

I am curious if anyone is putting together a project to allow for downloading YAML (.yml) fields for various schema.org content types. If so, where's that conversation / project on D.O?

For instance, I'm about to build an Organization content type based on Schema.org. Since these are standard schemas it seems like devlelopers would be happy to import .yml files into their site for such standard schema.org content types.