Location of a course

From Schema Course extension Community Group
Jump to: navigation, search
Schema Course Extension Wiki
Navigation
Main Page
Outline use cases
Example sites
Other useful links
Community group home page
email list for group
schema.org Git hub issue
Requirement d) must be able to identify the location where a course is offered, arises from the use case where a searcher is concerned about where a course is offered.

Proposal

Use the location property inherited from Event for each CourseInstance.

See email discussion thread starting at on Dates and locations of a CourseInstance & the lessons it comprises.

Example

Based on Fife College Accounting Code example

PRE-MARKUP:
[Course]
  name: HNC Accounting
  hasCourseInstance [CourseInstance]:
    courseMode: Full Time
    startDate:  2016-08-29
    location:   St Brycedale Campus Kirkcaldy
  hasCourseInstance [CourseInstance]:
    courseMode: Full Time
    startDate:  2016-08-29
    location:   Halbeath Campus Dunfermline

MICRODATA:
<!--TODO-->

RDFA:
<body vocab="http://schema.org/" typeof="Course">
<!-- A college course offered at several locations -->
<!-- based on http://www.fife.ac.uk/student/courses/course/HCACC -->
  <h1 property="name">HNC Accounting</h1>       
  <h2>This course is currently offered on the date(s) and venue(s) listed below.</h2>
    <table >
      <tbody>
        <tr >
          <th scope="col" >Method of Study</th>
          <th scope="col" >Starts</th>
          <th scope="col" >Ends</th>
          <th scope="col" >Based at</th>
        </tr>
        <tr rel="hasCourseInstance" typeOf="CourseInstance">
          <td property="courseMode">Full Time</td>
          <td property="startDate">29 Aug 2016</td>
          <td property="endDate">23 Jun 2017</td>
          <td property="location">St Brycedale Campus Kirkcaldy</td>
        </tr>
        <tr rel="hasCourseInstance" typeOf="CourseInstance">
          <td property="courseMode">Full Time</td>
          <td property="startDate">29 Aug 2016</td>
          <td property="endDate">23 Jun 2017</td>
          <td  property="location">Halbeath Campus Dunfermline</td>
        </tr>
      </tbody>
    </table>  
</body>