content/garden/websem.md (view raw)
1---
2Title: Web sémantique
3---
4
5# WebSem
6
7## Récupérer les données d'un endpoint SOLID en JSON-ld
8
9```bash
10curl https://pod.5ika.ch/profile/card -H "Accept: application/ld+json"
11```
12
13## Faire une requête SPARQL à un endpoint solid
14
15> Utilise l'utilitaire <https://comunica.dev/docs/query/getting_started/query_cli/>
16
17```bash
18comunica-sparql https://pod.5ika.ch/profile/card "SELECT * WHERE { ?s ?p ?o } LIMIT 100"
19```