... | ... | @@ -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
|
|
|
```
|
|
|
|
... | ... | |