Start and end of Course
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 f "must be able to identify the period over which the course events are offered" arises from use case 1.3 where the searcher is concerned about the date & time at which course events are offered. There are two aspects to this, the date and times of individual events associated with the course and the time span over which the course as a whole runs: this requirement arises from the latter.
Proposal
Use the startDate and endDate inherited from Event for each CourseInstance.
See email discussion thread starting at dates of a course and previous thread on Dates and locations of a CourseInstance & the lessons it comprises.
Examples
Example 1. Describing one offering of an online course.
Based on Coursera Data Scientist's Toolbox Code example
PRE-MARKUP:
<!-- A MOOC / free online course. As a simple one-off course -->
<!-- Based on https://www.coursera.org/course/datascitoolbox -->
[Course]
name: The Data Scientist’s Toolbox
hasCourseInstance [CourseInstance]:
startDate: February 15
endDate: March 21
MICRODATA:
<!--TODO-->
RDFA:
<body vocab="http://schema.org/">
<!-- A MOOC / free online course. As a simple one-off course -->
<!-- Based on https://www.coursera.org/course/datascitoolbox -->
<main typeof="Course">
<h1 property="name">The Data Scientist's Toolbox</h1>
<div rel="hasCourseInstance" typeof="CourseInstance">
<h2>Session dates</h2>
<span property="startDate">February 15</span> -
<span property="endDate">March 21</span>
</div>
</main>
</body>
JSON:
<!--TODO-->
Example 2. Describing two offerings of a face-to-face course.
Based on Fife College Accounting Code example
PRE-MARKUP:
[Course]
name: HNC Accounting
description: This course is designed for those wishing to take up a career in Accounting
and Financial Administration within a range of organisations....
hasCourseInstance [CourseInstance]:
courseMode: Full Time
startDate: 2016-08-29
location: St Brycedale Campus Kirkcaldy
hasCourseInstance [CourseInstance]:
courseMode: Evenings only and weekends
startDate: 2016-08-31
location: St Brycedale Campus Kirkcaldy
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>Course Details</h1>
<h2 property="name">HNC Accounting</h2>
<p property="description">This course is designed for those wishing to take up
a career in Accounting and Financial Administration within a range of
organisations....</p>
<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">Evenings only and weekends</td>
<td property="startDate">31 Aug 2016</td>
<td property="endDate">21 Jun 2017</td>
<td property="location">St Brycedale Campus Kirkcaldy</td>
</tr>
</tbody>
</table>
</body>
JSON:
<!--TODO-->