Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7051073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:13:13+00:00 2026-05-28T03:13:13+00:00

I’m looking for the best way to model an application around the whole schema.org

  • 0

I’m looking for the best way to model an application around the whole schema.org stuff. The Schema.org Hierarchie contains now around 500 different Types which can be used to markup microdata on a website: http://schema.org/docs/full.html

The goal is to build a generic system around all of those Things, without modeling the 500+ different tables using Default SQL Databases.

As a starting example the JobPosting seems quite simple to model as it just have some fields and just two links to Organisation and Place Objects: see http://schema.org/JobPosting

Which Database System (SQL, MongoDB, Cassandra, neo4J, Sesame, …) would you suggest to model this kind of Data? There are even some special Graph or RDF Databases which may be another option.

Bonus Question:
Another Problem which blows my mind at the moment, is the Multiple Inheritance which some objects are based on, e.g. http://schema.org/Dentist is a LocalBusiness Organization but also a Place, so it has fields from several different parents.

So I’m looking for a System with:

  • Variable Columns as I don’t want to model those zillion of attributes using SQL-DDL
  • Multiple Inheritance or something like this (Mixins)
  • Useful Link betweens Records (like a JobPosting points to the Organization and the Place it belongs to)
  • Simple Queries (like, getting all JobPosting for a given Organization)

Please let me know what kind of information would help to find a better answer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T03:13:14+00:00Added an answer on May 28, 2026 at 3:13 am

    I think MongoDB can be a good fit, because its documents make it easier to represent the individual schemas. (solves the variable column problem).

    To solve the linking, it makes sense to store references only. For example, in the JobPosting, you probably want to store an OrganizationId and a PlaceId, because these are fairly complex documents. This also makes querying a certain organization’s JobPostings trivial.

    Note Sometimes, embedding might be more appropriate, but that depends heavily on the way your documents are updated. In particular, many objects might refer to the same address, so a change in address should be reflected everywhere. Sometimes, the opposite is true. This is a key question that can be answered only by you. It depends on how the system is used.

    In any case, the linking means that a single lookup might have to traverse a tree of references. Again, this depends greatly on the use case:

    Suppose you want to display a JobPosting. Now you could display a list of properties, and for “Organization” all you print is “ACME, Inc.” with a link. That link will send you to the details page of “ACME, Inc.” In this case, your queries are very straightforward. The only thing you need to do is to copy the organization name to the JobPosting (de-normalization), so it’s easier to display.

    If, on the other hand, you want to display everything in-place, you will have to perform more queries and build the domain model object in code. This is not a big deal, but requires additional care in case of circular references and the like.

    I guess the best approach is to use the respective most specific type as a collection name (so a ContactPoint ends up in the ContactPoint collection, a PostalAddress in the PostalAddress collection, etc.).

    The only remaining problem is multiple inheritance or mixins. I haven’t used ruby before, but I guess the mongodb ruby driver supporting mixins.

    You will still have to cope with indexing and the like, but again, this depends greatly on the use cases. You probably want to index most foreign keys, but additional indexes will need manual care.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
Let's say I'm outputting a post title and in our database, it's Hello Y’all
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.