Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
165 lines (130 sloc) 5.69 KB

spoggy-simple

Pour utiliser Spoggy, préférez Firefox ou Chrome https://scenaristeur.github.io/spoggy-simple/

tutoriel

Cliquez sur les images pour ouvrir la video. Clic on picture to open the video.

1 Créer un nouveau graphe

Créer un nouveau graphe

2 Vider un graphe

Vider un graphe

3 Créer un nouveau noeud dans le graphe

Créer un nouveau noeud dans le graphe

4 Créer un deuxième noeud dans le graphe

Créer un deuxième noeud dans le graphe

5 Créer un lien entre deux noeuds

Créer un lien entre deux noeuds

6 Créer un triplet

Créer un triplet

todo

constructor() {
  super();
//  var socket = new WebSocket('wss://example.org/');
var socket = new WebSocket('wss://spoggy.solid.community/');
  console.log ("socket",socket)
  socket.onopen = function() {
    this.send('sub https://spoggy.solid.community/public/test/fichier.ttl');
    this.send('sub https://spoggy.solid.community/public/test/fichier2.ttl');

  };
  socket.onmessage = function(msg) {
    if (msg.data && msg.data.slice(0, 3) === 'pub') {
      // resource updated, refetch resource
      console.log("msg",msg);
      console.log("data",msg.data)
    }
  };
}

agents communication

https://github.com/scenaristeur/evejs

services solid

https://github.com/Arquisoft/dechat_en2a/tree/master/src/app/services

spoggy-simple

  • test de base, sans connexion Solid : ouvrez la page index.html dans un navigateur
  • pour le developpement ou tester la connexion avec un POD, utilisez nodejs,
cd spoggy-simple
npm update
node .

et ouvrez votre navigateur à l'adresse http://127.0.0.1:3000

Compatibilité

Testé sur Windows avec Chrome 74 et Firefox 66

svg icons

https://www.svgrepo.com/svg/46200/organization https://learncodeweb.com/web-development/icons-show-in-html-select-options/ https://icomoon.io/app/#/select

Shapes & Footprints / UI

https://shex.io/ http://shexspec.github.io/primer/#choices http://www.validatingrdf.com/tutorial/iswc2018/ https://book.validatingrdf.com/bookHtml010.html#ch040%3AShExSimpleExample http://shex.io/shex-semantics/

  • ShEx
PREFIX :       <http://example.org/>
PREFIX schema: <http://schema.org/>
PREFIX xsd:  <http://www.w3.org/2001/XMLSchema#>

:User {
  schema:name          xsd:string  ;
  schema:birthDate     xsd:date?  ;
  schema:gender        [ schema:Male schema:Female ] OR xsd:string ;
  schema:knows         IRI @:User*
}
PREFIX : <http://hl7.org/fhir/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

start = @<TensionShape>

<TensionShape> {               # An Observation has:
  :status ["preliminary" "final"]; #   status in this value set
  :subject @<UserShape>         #   a subject matching <UserShape>.
}

<UserShape> {                   # A Patient has:
 :name xsd:string*;                #   one or more names
 :birthdate xsd:date?              #   and an optional birthdate.
}

with data

PREFIX : <http://hl7.org/fhir/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

<Tension1>
  :status    "final" ;
  :subject   <User2> .

<User2>
  :name "Bob" ;
  :birthdate "1999-12-31"^^xsd:date .

query map

{FOCUS :status _}@START,
<User2>@!<TensionShape>

holacracy

https://github.com/holacracyone/Holacracy-Constitution/blob/master/Holacracy-Constitution.md#article-1-organizational-structure @en https://igipartners.com/constitution-holacracy @fr https://catalog.data.gov/dataset?q=holacracy https://schema.org/Project https://schema.org/Action https://schema.org/DislikeAction https://schema.org/DisagreeAction

holonic Spacecraft

https://catalog.data.gov/dataset/holonic-spacecraft-autonomous-agents-phase-i

You can’t perform that action at this time.