Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • F FrenchCropUsage
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous recommandons d'y créer tous vos nouveaux projets.

  • copain
  • FrenchCropUsage
  • Wiki
  • Publication sur le web

Publication sur le web · Changes

Page history
Publication du 14/02/2023 - Simplfication de la procédure de création de la version pour SkosPlay. authored Feb 14, 2023 by Bernard Stephan's avatar Bernard Stephan
Hide whitespace changes
Inline Side-by-side
Publication-sur-le-web.md
View page @ d046fcd9
......@@ -249,6 +249,24 @@ s-get http://localhost:3030/fcu/ default > toto.ttl
rapper -o rdfxml -i turtle toto.ttl > toto.rdf
```
17. Ouvrir toto.ttl avec Protege pour faire un export owl vers toto.owl
18. Suppression des instances de skos:Collection pour skosPlay :
```sh
s-update --service=http://localhost:3030/fcu/ """
DELETE { ?c ?p ?o } WHERE {
?c a <http://www.w3.org/2004/02/skos/core#Collection> ;
?p ?o }"""
### Vérification :
s-query --service=http://localhost:3030/fcu """
SELECT ?c WHERE { ?c a <http://www.w3.org/2004/02/skos/core#Collection> }"""
#### ...ne renvoie aucun résultat.
```
19. Récupération de la version pour skosPlay :
```sh
s-get http://localhost:3030/fcu/ default > toto_forSkosPlay.ttl
rapper -o rdfxml -i turtle toto_forSkosPlay.ttl > toto_forSkosPlay.rdf
rm toto_forSkosPlay.ttl
```
## Mise à jour du git
......@@ -265,15 +283,7 @@ git checkout master
for i in owl rdf ttl; do mv toto.$i frenchCropUsage_latest.$i ; done
for i in owl rdf ttl; do git add frenchCropUsage_latest.$i ; done
```
Création d'une version qui s'affiche correctement dans SkosPlay :
```sh
cp frenchCropUsage_latest.ttl frenchCropUsage_latest_forSkosPlay.ttl
emacs frenchCropUsage_latest_forSkosPlay.ttl
# On recherche les deux instances de skos:Collection et on les supprime
rapper -o rdfxml -i turtle frenchCropUsage_latest_forSkosPlay.ttl > frenchCropUsage_latest_forSkosPlay.rdf
mv -f toto_forSkosPlay.rdf frenchCropUsage_latest_forSkosPlay.rdf
git add frenchCropUsage_latest_forSkosPlay.rdf
```
......
Clone repository
  • Add a new crop
  • Competency questions
  • Les cultures : définition et label
  • Outil Corése
  • Outil Protégé
  • Outil gitlab
  • Outil skosplay
  • Publication sur le web
  • catégorie de cultures
  • Home
  • justification de la position dans la hiérarchie
  • mapping vers les sources
  • nom de culture ambigus
  • sources