PREVIOUS UP   Technologies Internet et Education, © TECFA
  3. Exemple de sensibilisation

3. Exemple de sensibilisation

3.1 Une problématique typique

Exemple 3-1: Exemple: Faire une topic map pour un cours

3.2 Quelques éléments d'une simple "topic map"

(à importer dans un topic map viewer)

 

3.3 Tous les éléments sont des topics

Exemple 3-2: Un topic pour la notion de portail

<topic id="topic_portal"
>
  <baseName>
   <baseNameString>C3MS Portal (Community, Collaboration and Content Management System)
   </baseNameString>
  </baseName>
 </topic>

Exemple 3-3: Un topic pour la notion de cours

<topic id="topic_course">
  <baseName>
   <baseNameString>Course</baseNameString>
  </baseName>
 </topic>

3.4 Relations entre topics

Exemple 3-4: Définition d'une association

 

Voici le code pour cette simple relation:


 
<association>
  <instanceOf>
   <topicRef xlink:type="simple" xlink:href="#rel_uses_portal
"/>
  </instanceOf>
  <member>
   <roleSpec>
    <topicRef xlink:type="simple" xlink:href="#role_is_course
"/>
   </roleSpec>
   <topicRef xlink:type="simple" xlink:href="#topic_course
"/>
  </member>
  <member>
   <roleSpec>
    <topicRef xlink:type="simple" xlink:href="#role_is_portal"/>
   </roleSpec>
   <topicRef xlink:type="simple" xlink:href="#topic_portal"/>
  </member>
</association>
 
<topic id="rel_uses_portal">
  <baseName>
   <baseNameString>uses portal
   </baseNameString>
  </baseName>
 </topic>
 
<topic id="role_is_course">
  <baseName>
   <baseNameString>is Course
   </baseNameString>
  </baseName>
 </topic>
 
 <topic id="role_is_portal">
  <baseName>
   <baseNameString>is Portal
   </baseNameString>
  </baseName>
 </topic>

3.5 Instances

Exemple 3-5: Instances d'un topic

<topic id="topic_course1
">
  <instanceOf>
     <topicRef xlink:type="simple" xlink:href="#topic_course"/>
  </instanceOf>
  <baseName>
   <baseNameString>STAF-18 Course</baseNameString>
  </baseName>
  <occurrence>
      ..........
  </occurrence>
 </topic>
 
<topic id="topic_course
">
   <baseName>
      <baseNameString>Course </baseNameString>
   </baseName>
</topic>

3.6 Occurances

Exemple 3-6: Le cours staf18

<topic id="topic_course1">
  <instanceOf>
     <topicRef xlink:type="simple" xlink:href="#topic_course"/>
  </instanceOf>
  <baseName>
     <baseNameString>STAF-18 Course</baseNameString>
  </baseName>
  <occurrence>
   <resourceRef xlink:type="simple" xlink:href="http://tecfa.unige.ch/tecfa/teaching/staf18/staf18-overview.html" />
  </occurrence>
 </topic>

Exemple 3-7: Un étudiant avec 2 occurrences (URLs)

 <topic id="topic_student1">
  <instanceOf>
   <topicRef xlink:type="simple" xlink:href="#topic_student"/>
  </instanceOf>
  <baseName>
   <baseNameString>Pierre Muller</baseNameString>
  </baseName>
  <occurrence>
   <instanceOf>
    <topicRef xlink:type="simple" xlink:href="#topic_homepage"/>
   </instanceOf>
   <resourceRef xlink:type="simple" 
                xlink:href="http://tecfa.unige.ch/perso/staf/Muller/"/>
  </occurrence>
 
  <occurrence>
   <instanceOf>
    <topicRef xlink:type="simple" xlink:href="#topic_workpage"/>
   </instanceOf>
   <!-- one of (resourceRef resourceData) -->
   <resourceRef xlink:type="simple" 
               xlink:href="http://tecfa.unige.ch/staf/staf-i/Muller/"/>
  </occurrence>
  </topic>
 
 

.... et ce n'est pas encore tout (à continuer) !


PREVIOUS UP -- TIE