all repos — blog @ 0dfcbe5903f3986e956d72c7c13a9ece47025d5c

Code and content for 5ika.ch

content/garden/websem.md (view raw)

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