Wimmics / solid-start

Projet SOLID Inria - Startin'blox
MIT License
1 stars 0 forks source link

SIB Next-steps after demonstration #36

Open balessan opened 8 months ago

balessan commented 8 months ago

URI example: https://api.community.startinblox.com/

Client-side example:

<solid-form-search
   fields="skills"
   rdf-type-skills="foaf:user"
   predicate-skills="hasSkill"

/></solid-form-search>
<solid-display
   data-src="https://api.community.startinblox.com/users/"
   >
</solid-display>

Server-side example:

{
  "@context": "https://cdn.startinblox.com/owl/context.jsonld",
  "@type": [
       "dcat:Dataset",
       "ldp:Container",
       "idx:Entrypoint"
  ],
  "@id": "https://api.community.startinblox.com/users/",
  "idx:indexes": {
      "@id": "https://api.community.startinblox.com/users/indexes/"
  },
  "dcat:Resource": [
    {
      "@id": "https://api.community.startinblox.com/users/antoine/"
    },
    {
      "@id": "https://api.community.startinblox.com/users/balessan/"
    },
    {
      "@id": "https://api.community.startinblox.com/users/sylvain/"
    }
  ],
  "ldp:contains": [
    {
      "@id": "https://api.community.startinblox.com/users/antoine/"
    },
    {
      "@id": "https://api.community.startinblox.com/users/balessan/"
    },
    {
      "@id": "https://api.community.startinblox.com/users/sylvain/"
    }
  ]
}

Description of an index:


{
  "@context": "https://cdn.startinblox.com/owl/context.jsonld",
  "@type": [
       "dcat:Dataset",
       "ldp:Container",
       "idx:Entrypoint"
  ],
  "@id": "https://api.community.startinblox.com/users/",
  "idx:indexes": {
      "@id": "https://api.community.startinblox.com/users/indexes/"
  },
https://api.community.startinblox.com/users/indexes/
lecoqlibre commented 7 months ago

Technical deliveries:

Into the SiB framework:

About the string indexes: The depth of the index branches must be fixed. Each branch must have the same depth regardless of the data.