From b95b84a26dfc1a2eb92d1148509b2783030b2bb6 Mon Sep 17 00:00:00 2001
From: daxid <david.rouquet@tetras-libre.fr>
Date: Fri, 11 Apr 2025 21:14:11 +0200
Subject: [PATCH] QCU manual edition

---
 tetras_extraction/schemes/.project            |  11 +
 .../schemes/macao-manual-edition.ttl          | 333 ++++++++++++++++++
 tetras_extraction/schemes/macao_schema.ttl    |  30 +-
 3 files changed, 357 insertions(+), 17 deletions(-)
 create mode 100644 tetras_extraction/schemes/.project

diff --git a/tetras_extraction/schemes/.project b/tetras_extraction/schemes/.project
new file mode 100644
index 0000000..2b1efb5
--- /dev/null
+++ b/tetras_extraction/schemes/.project
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>schemes</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+	</buildSpec>
+	<natures>
+	</natures>
+</projectDescription>
diff --git a/tetras_extraction/schemes/macao-manual-edition.ttl b/tetras_extraction/schemes/macao-manual-edition.ttl
index f34aa71..8ee6f19 100644
--- a/tetras_extraction/schemes/macao-manual-edition.ttl
+++ b/tetras_extraction/schemes/macao-manual-edition.ttl
@@ -16,6 +16,18 @@
   owl:imports macao: ;
   owl:versionInfo "Created with TopBraid Composer" ;
 .
+macao-manual-edition:ExerciceQC_manualEdit
+  rdf:type owl:Class ;
+  rdfs:subClassOf macao-manual-edition:ExerciceQC_manualEdit ;
+  rdfs:subClassOf macao:ExerciceQC_QCU ;
+.
+macao-manual-edition:Reponse_manualEdit
+  rdf:type owl:Class ;
+  rdfs:subClassOf macao:Reponse ;
+.
+macao:aReponse
+  rdfs:domain macao:Exercice ;
+.
 macao:pg262
   macao:surveyjs_json """{
   \"correctComment\": \"Bonnes réponses !\",
@@ -90,6 +102,55 @@ macao:pg262
 
 """ ;
 .
+macao:pg359
+  rdf:type macao-manual-edition:ExerciceQC_manualEdit ;
+  rdf:type macao:ExerciceQC_QCU ;
+  macao:aReponse macao:pg359_1 ;
+  macao:aReponse macao:pg359_2 ;
+  macao:aReponse macao:pg359_3 ;
+  macao:commentaireSucces_md "Bonne réponse !" ;
+  macao:commentaireSugg_md "Non, il s'aggit d'un énoncé affirmatif." ;
+  macao:description_md_manual_edition """Indiquez la nature
+de l'énoncé en cliquant sur la case qui convient.Bonne réponse !
+
+**We must leave at once.**""" ;
+.
+macao:pg359_1
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_1" ;
+  macao:correct "true"^^xsd:boolean ;
+  macao:html_md "Énoncé affirmatif" ;
+  macao:id "1" ;
+  macao:index 0 ;
+  rdfs:subClassOf macao:pg359 ;
+.
+macao:pg359_2
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_2" ;
+  macao:correct "false"^^xsd:boolean ;
+  macao:html_md "Énoncé négatif" ;
+  macao:id "2" ;
+  macao:index 1 ;
+  rdfs:subClassOf macao:pg359 ;
+.
+macao:pg359_3
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_3" ;
+  macao:correct "false"^^xsd:boolean ;
+  macao:html_md "Énoncé interrogatif" ;
+  macao:id "3" ;
+  macao:index 2 ;
+  rdfs:subClassOf macao:pg359 ;
+.
 macao:pg376
   macao:description_md_manual_edition """Ecoutez et répétez chacun des mots.
 
@@ -114,6 +175,45 @@ Chaque mot ne comporte qu'une syllabe. Pour écouter, cliquez sur la flèche.
 | {{< audio id=\"blurred1\" src=\"media/blurred1/blurred1_01.mp3\" class=\"something\" >}} | blurred |
 | {{< audio id=\"son_a2\" src=\"media/son_a2/son_a2_01.mp3\" class=\"something\" >}} | a | """ ;
 .
+macao:pg379
+  rdf:type macao-manual-edition:ExerciceQC_manualEdit ;
+  rdf:type macao:ExerciceQC_QCU ;
+  macao:aReponse macao:pg379_1 ;
+  macao:aReponse macao:pg379_2 ;
+  macao:commentaireSucces_md "Bonne réponse !" ;
+  macao:commentaireSugg_md "Non, il s'aggit d'une réponse affirmative complète" ;
+  macao:description_md_manual_edition """Indiquez la nature
+de la réponse en cliquant sur la case qui convient.
+
+\"Will you post this letter tomorrow?\"
+
+\"Don't worry, **I will see to it.**\"
+""" ;
+.
+macao:pg379_1
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_1" ;
+  macao:correct "true"^^xsd:boolean ;
+  macao:html_md "Réponse affirmative complète" ;
+  macao:id "1" ;
+  macao:index 0 ;
+  rdfs:subClassOf macao:pg379 ;
+.
+macao:pg379_2
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_2" ;
+  macao:correct "false"^^xsd:boolean ;
+  macao:html_md "Réponse affirmative brève" ;
+  macao:id "2" ;
+  macao:index 1 ;
+  rdfs:subClassOf macao:pg379 ;
+.
 macao:pg396
   macao:surveyjs_json """{
   \"correctComment\": \"Bonnes réponses !\",
@@ -186,6 +286,104 @@ macao:pg396
   ]
 }""" ;
 .
+macao:pg448
+  rdf:type macao-manual-edition:ExerciceQC_manualEdit ;
+  rdf:type macao:ExerciceQC_QCU ;
+  macao:aReponse macao:pg448_1 ;
+  macao:aReponse macao:pg448_2 ;
+  macao:aReponse macao:pg448_3 ;
+  macao:commentaireSucces_md "Bonne réponse !" ;
+  macao:commentaireSugg_md "Non, il s'aggit d'un énoncé interrogatif." ;
+  macao:description_md_manual_edition """Indiquez la nature
+de l'énoncé en cliquant sur la case qui convient.
+
+**Can you pass me the salt, please?**""" ;
+.
+macao:pg448_1
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_1" ;
+  macao:correct "false"^^xsd:boolean ;
+  macao:html_md "Énoncé affirmatif" ;
+  macao:id "1" ;
+  macao:index 0 ;
+  rdfs:subClassOf macao:pg448 ;
+.
+macao:pg448_2
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_2" ;
+  macao:correct "false"^^xsd:boolean ;
+  macao:html_md "Énoncé négatif" ;
+  macao:id "2" ;
+  macao:index 1 ;
+  rdfs:subClassOf macao:pg448 ;
+.
+macao:pg448_3
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_3" ;
+  macao:correct "true"^^xsd:boolean ;
+  macao:html_md "Énoncé interrogatif" ;
+  macao:id "3" ;
+  macao:index 2 ;
+  rdfs:subClassOf macao:pg448 ;
+.
+macao:pg543
+  rdf:type macao-manual-edition:ExerciceQC_manualEdit ;
+  rdf:type macao:ExerciceQC_QCU ;
+  macao:aReponse macao:pg543_1 ;
+  macao:aReponse macao:pg543_2 ;
+  macao:aReponse macao:pg543_3 ;
+  macao:commentaireSucces_md "Bonne réponse !" ;
+  macao:commentaireSugg_md "Non, il s'aggit d'un énoncé négatif." ;
+  macao:description_md_manual_edition """Indiquez la nature
+de l'énoncé en cliquant sur la case qui convient.
+
+**We haven't met them yet.**""" ;
+.
+macao:pg543_1
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_1" ;
+  macao:correct "false"^^xsd:boolean ;
+  macao:html_md "Énoncé affirmatif" ;
+  macao:id "1" ;
+  macao:index 0 ;
+  rdfs:subClassOf macao:pg543 ;
+.
+macao:pg543_2
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_2" ;
+  macao:correct "true"^^xsd:boolean ;
+  macao:html_md "Énoncé négatif" ;
+  macao:id "2" ;
+  macao:index 1 ;
+  rdfs:subClassOf macao:pg543 ;
+.
+macao:pg543_3
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_3" ;
+  macao:correct "false"^^xsd:boolean ;
+  macao:html_md "Énoncé interrogatif" ;
+  macao:id "3" ;
+  macao:index 2 ;
+  rdfs:subClassOf macao:pg543 ;
+.
 macao:pg60
   macao:surveyjs_json """{
   \"correctComment\": \"Bonnes réponses !\",
@@ -244,6 +442,44 @@ macao:pg60
 
 """ ;
 .
+macao:pg7851
+  rdf:type macao-manual-edition:ExerciceQC_manualEdit ;
+  rdf:type macao:ExerciceQC_QCU ;
+  macao:aReponse macao:pg7851_1 ;
+  macao:aReponse macao:pg7851_2 ;
+  macao:commentaireSucces_md "Bonne réponse !" ;
+  macao:commentaireSugg_md "Non, il s'agit d'une réponse affirmative brève" ;
+  macao:description_md_manual_edition """Indiquez la nature
+de la réponse en cliquant sur la case qui convient.
+
+\"Will you come tomorrow?\"
+
+\"**Yes, I will**\"""" ;
+.
+macao:pg7851_1
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_1" ;
+  macao:correct "false"^^xsd:boolean ;
+  macao:html_md "Réponse affirmative complète" ;
+  macao:id "1" ;
+  macao:index 0 ;
+  rdfs:subClassOf macao:pg7851 ;
+.
+macao:pg7851_2
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_2" ;
+  macao:correct "true"^^xsd:boolean ;
+  macao:html_md "Réponse affirmative brève" ;
+  macao:id "2" ;
+  macao:index 1 ;
+  rdfs:subClassOf macao:pg7851 ;
+.
 macao:pg85
   macao:surveyjs_json """{
   \"correctComment\": \"**Bonnes réponses \\!**\\n\\n business: 2 syllabes.\\n\\n Wednesday: 2 syllabes.\\n\\n oranges: 3 syllabes.\\n\\n different: 2 syllabes.\",
@@ -350,6 +586,55 @@ macao:pg861
 
 """ ;
 .
+macao:pg875
+  rdf:type macao-manual-edition:ExerciceQC_manualEdit ;
+  rdf:type macao:ExerciceQC_QCU ;
+  macao:aReponse macao:pg875_1 ;
+  macao:aReponse macao:pg875_2 ;
+  macao:aReponse macao:pg875_3 ;
+  macao:commentaireSucces_md "Bonne réponse !" ;
+  macao:commentaireSugg_md "Non, il s'aggit d'un énoncé affirmatif." ;
+  macao:description_md_manual_edition """Indiquez la nature
+de l'énoncé en cliquant sur la case qui convient.
+
+**It can be rough at times.**""" ;
+.
+macao:pg875_1
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_1" ;
+  macao:correct "true"^^xsd:boolean ;
+  macao:html_md "Énoncé affirmatif" ;
+  macao:id "1" ;
+  macao:index 0 ;
+  rdfs:subClassOf macao:pg875 ;
+.
+macao:pg875_2
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_2" ;
+  macao:correct "false"^^xsd:boolean ;
+  macao:html_md "Énoncé négatif" ;
+  macao:id "2" ;
+  macao:index 1 ;
+  rdfs:subClassOf macao:pg875 ;
+.
+macao:pg875_3
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_3" ;
+  macao:correct "false"^^xsd:boolean ;
+  macao:html_md "Énoncé interrogatif" ;
+  macao:id "3" ;
+  macao:index 2 ;
+  rdfs:subClassOf macao:pg875 ;
+.
 macao:pg88
   macao:surveyjs_json """{
   \"correctComment\": '\\n\\n lively: 2 syllabes.\\n\\n chocolate: 2 syllabes.\\n\\n precisely : 3 syllabes.\\n\\n *On remarque que les mots entendus ne présentent pas le même nombre de syllabes orales et de \"**syllabes écrites**\": par exemple, **chocolate**, qui s\\'écrit avec 4 syllabes, se prononce en 2 syllabes.*',
@@ -398,3 +683,51 @@ macao:pg88
 
 """ ;
 .
+macao:pg900
+  rdf:type macao-manual-edition:ExerciceQC_manualEdit ;
+  rdf:type macao:ExerciceQC_QCU ;
+  macao:aReponse macao:pg900_1 ;
+  macao:aReponse macao:pg900_2 ;
+  macao:aReponse macao:pg900_3 ;
+  macao:commentaireSugg_md "Non, il s'aggit d'un énoncé affirmatif" ;
+  macao:description_md_manual_edition """Indiquez la nature
+de l'énoncé en cliquant sur la case qui convient.
+
+**The neighbours have got a nice swimming-pool**""" ;
+.
+macao:pg900_1
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_1" ;
+  macao:correct "true"^^xsd:boolean ;
+  macao:html_md "Énoncé affirmatif" ;
+  macao:id "1" ;
+  macao:index 0 ;
+  rdfs:subClassOf macao:pg900 ;
+.
+macao:pg900_2
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_2" ;
+  macao:correct "false"^^xsd:boolean ;
+  macao:html_md "Énoncé négatif" ;
+  macao:id "2" ;
+  macao:index 1 ;
+  rdfs:subClassOf macao:pg900 ;
+.
+macao:pg900_3
+  rdf:type macao-manual-edition:Reponse_manualEdit ;
+  rdf:type macao:MacaoContenu ;
+  rdf:type macao:MacaoObject ;
+  rdf:type macao:Reponse ;
+  macao:__protege_display_name "pg359_3" ;
+  macao:correct "false"^^xsd:boolean ;
+  macao:html_md "Énoncé interrogatif" ;
+  macao:id "3" ;
+  macao:index 2 ;
+  rdfs:subClassOf macao:pg900 ;
+.
diff --git a/tetras_extraction/schemes/macao_schema.ttl b/tetras_extraction/schemes/macao_schema.ttl
index b430438..6fb28e4 100644
--- a/tetras_extraction/schemes/macao_schema.ttl
+++ b/tetras_extraction/schemes/macao_schema.ttl
@@ -16,6 +16,10 @@
   rdf:type owl:Class ;
   rdfs:subClassOf :MacaoContenu ;
 .
+:Champ
+  rdf:type owl:Class ;
+  rdfs:subClassOf :MacaoContenu ;
+.
 :Cours
   rdf:type owl:Class ;
   rdfs:subClassOf :Activite ;
@@ -28,6 +32,10 @@
   rdf:type owl:Class ;
   rdfs:subClassOf :Exercice ;
 .
+:ExerciceListe
+  rdf:type owl:Class ;
+  rdfs:subClassOf :Exercice ;
+.
 :ExerciceQC
   rdf:type owl:Class ;
   rdfs:subClassOf :Exercice ;
@@ -100,6 +108,11 @@
   rdfs:domain :Exercice ;
   rdfs:range :Reponse ;
 .
+:aSegment
+  rdf:type owl:ObjectProperty ;
+  rdfs:domain :ExerciceTAT ;
+  rdfs:range :Segment ;
+.
 :cheminFichier
   rdf:type owl:DatatypeProperty ;
   rdfs:domain :MacaoRessource ;
@@ -136,7 +149,6 @@
 :commentaireSugg
   rdf:type owl:DatatypeProperty ;
   rdfs:domain :Activite ;
-  rdfs:domain :Reponse ;
 .
 :commentaireSugg_html
   rdf:type owl:DatatypeProperty ;
@@ -242,19 +254,3 @@
       :ExerciceTAT
     ) ;
 ].
-
-### Addition from Eliott
-
-###  http://www.semanticweb.org/eliott/ontologies/2024/4/macao/Reponse
-:Champ rdf:type owl:Class ;
-         rdfs:subClassOf :MacaoContenu .
-
-
-###  http://www.semanticweb.org/eliott/ontologies/2024/4/macao/Reponse
-:Reponse rdf:type owl:Class ;
-         rdfs:subClassOf :MacaoContenu .
-
-         ###  http://www.semanticweb.org/eliott/ontologies/2024/4/macao/aReponseIncorrecte
-:aSegment rdf:type owl:ObjectProperty ;
-          rdfs:domain :ExerciceTAT ;
-          rdfs:range :Segment .
-- 
GitLab