├── .github └── workflows │ ├── cd-config.yml │ └── ci-config.yml ├── .gitignore ├── LICENSE.md ├── README.md ├── _config.yml ├── archive ├── data-discovery │ ├── ExampleShacl │ │ ├── Bookmark2WebAnnotation.ttl │ │ ├── BookmarkShape.ttl │ │ └── WebAnnotationShape.ttl │ ├── hypothesis.md │ └── use-cases.md ├── data-validation │ ├── README.md │ ├── hypothesis.md │ └── use-cases.md ├── old-primer.bs.md ├── pull-requests │ └── data-about-a-person.md ├── resource-metadata │ ├── README.md │ └── hypothesis.md └── user-profile │ └── use-cases.md ├── build.sh ├── devbox.json ├── devbox.lock ├── meetings ├── 2019-08-13.md ├── 2019-08-26.md ├── 2019-09-09.md ├── 2019-09-30.md ├── 2019-10-07.md ├── 2019-10-21.md ├── 2019-11-18.md ├── 2019-12-16.md ├── 2020-01-07.md ├── 2020-01-13.md ├── 2020-04-13.md ├── 2020-04-20.md ├── 2020-04-27.md ├── 2020-05-11.md ├── 2020-05-18.md ├── 2020-06-01.md ├── 2020-06-08.md ├── 2020-06-15.md ├── 2020-06-22.md ├── 2020-06-29.md ├── 2020-07-06.md ├── 2020-07-28.md ├── 2020-08-11.md ├── 2020-08-18.md ├── 2020-09-01.md ├── 2020-09-08.md ├── 2020-09-18.md ├── 2020-10-06.md ├── 2020-10-20.md ├── 2020-11-24.md ├── 2020-12-8.md ├── 2021-01-05.md ├── 2021-01-11.md ├── 2021-01-12.md ├── 2021-01-19.md ├── 2021-01-26.md ├── 2021-02-02.md ├── 2021-02-09.md ├── 2021-02-16.md ├── 2021-02-23.md ├── 2021-03-02.md ├── 2021-03-09.md ├── 2021-03-26.md ├── 2021-05-04.md ├── 2021-05-11.md ├── 2021-05-18.md ├── 2021-05-25.md ├── 2021-06-01.md ├── 2021-06-08.md ├── 2021-06-15.md ├── 2021-06-22.md ├── 2021-06-29.md ├── 2021-07-20.md ├── 2021-07-27.md ├── 2021-08-03.md ├── 2021-08-10.md ├── 2021-08-17.md ├── 2021-08-24.md ├── 2021-09-07.md ├── 2021-09-21.md ├── 2021-09-28.md ├── 2021-10-05.md ├── 2021-10-26.md ├── 2021-11-16.md ├── 2021-11-23.md ├── 2021-12-22.md ├── 2022-01-04.md ├── 2022-01-25.md ├── 2022-02-01.md ├── 2022-02-08.md ├── 2022-02-15.md ├── 2022-02-23.md ├── 2022-03-01.md ├── 2022-03-08.md ├── 2022-11-21.md ├── 2022-12-05.md └── files │ └── cco-preso-6-20191021.pdf ├── package.json ├── problems-and-goals.md ├── proposals ├── index.html ├── invitation │ ├── definitions.bs │ ├── index.bs │ ├── invitation.bs │ ├── invitation.shex │ ├── invitation.tree │ ├── invitation.ttl │ └── snippets │ │ └── alice.example │ │ └── 08c5ae76-6c83-46f8-8e1d-eb14219e7f5f.ttl ├── primer │ ├── app-authorization-flow.bs │ ├── application.bs │ ├── authorization-agent.bs │ ├── data-grant.bs │ ├── diagrams │ │ ├── application-requests-access-flow.seq.mmd │ │ ├── finance.acme.example.flow.mmd │ │ ├── home.alice.example.flow.mmd │ │ ├── idp-aa-combined-external-storage.seq.mmd │ │ ├── idp-aa-combined.seq.mmd │ │ ├── na.omni.example.flow.mmd │ │ ├── pro.alice.example.flow.mmd │ │ ├── reciprocal-registration.flow.mmd │ │ ├── registry-set.flow.mmd │ │ ├── resource-indication.seq.mmd │ │ └── rnd.acme.example.flow.mmd │ ├── images │ │ ├── authorization-screen.svg │ │ └── overview.drawio.svg │ ├── resource-indication-flow.bs │ ├── shape-trees.bs │ └── snippets │ │ ├── acme.example │ │ └── acme.example.ttl │ │ ├── alice.example │ │ └── alice.example.ttl │ │ ├── auth.acme.example │ │ ├── 2437895a-3a68-4048-8965-889b7e93936c.ttl │ │ ├── 6e069259-7836-4495-ba35-fc7eca97e5aa.ttl │ │ ├── 7b6915b4-c135-4025-899c-ce53875bffe2.ttl │ │ ├── 80ef3361-730b-4f7c-93ba-4a4415de7264.ttl │ │ ├── cafafd6f-9cc6-4a5d-9cbd-8eeea95d3d4e.ttl │ │ └── f8064946-cb67-469a-8b28-652fd17090f6.ttl │ │ ├── auth.alice.example │ │ ├── 04ad5e03-872e-4b63-a81a-21d2d3922411.ttl │ │ ├── 067f19a8-1c9c-4b60-adde-c22d8e8e3814.ttl │ │ ├── 0978d42e-3eb3-4137-9c7f-160759e77860.ttl │ │ ├── 0d0a1f64-39b1-438f-85f6-37cafee3ce21.ttl │ │ ├── 0d12477a-a5ce-4b59-ab48-8be505ccd64c.ttl │ │ ├── 12daf870-a343-4684-b828-c67c5c9c997a.ttl │ │ ├── 13e60d32-77a6-4239-864d-cfe2c90807c8.ttl │ │ ├── 170c12ac-7d4f-47fe-b36d-7a9944c429d9.ttl │ │ ├── 1cf3e08b-ffe2-465a-ac5b-94ce165cb8f0.ttl │ │ ├── 1d2e21fb-b8be-4ca7-acf7-13bf2340801f.ttl │ │ ├── 329eb90a-feb9-4c95-a427-2ef23989abe9.ttl │ │ ├── 3fcef0f6-5807-4f1b-b77a-63d64df25a69.ttl │ │ ├── 43f405db-334d-4f61-8de7-0f98eae9c281.ttl │ │ ├── 54b1a123-23ca-4733-9371-700b52b9c567.ttl │ │ ├── 5dc3c14e-7830-475f-b8e3-4748d6c0bccb.ttl │ │ ├── 5dd87c6d-c352-41e5-a79c-6ae71bb20287.ttl │ │ ├── 68dd1212-b0f3-4611-aae2-f9f5ea30ee07.ttl │ │ ├── 6a9feb57-252b-43b2-8470-5a938888b2fa.ttl │ │ ├── 6b1b6e39-75e4-44f8-84f3-104b1a8210ad.ttl │ │ ├── 75a2ef88-d4d4-4f05-af1e-c2a63af08cab.ttl │ │ ├── 76849244-0e74-4d8a-8d07-48eae753faa9.ttl │ │ ├── 7b065498-fa43-4abd-a08b-467d49f3cac8.ttl │ │ ├── 7b2bc4ff-b4b8-47b8-96f6-06695f4c5126.ttl │ │ ├── 7b513402-d2a2-455f-a6d1-4a54ef90cb78.ttl │ │ ├── 7be5a39f-583d-4464-8ad8-a39e24b99fce.ttl │ │ ├── 8307e5b4-4fd6-4e76-99bf-64df6a7d2894.ttl │ │ ├── 92328851-ffb0-427d-847e-f6d9c8417648.ttl │ │ ├── 96feb105-063e-4996-ab74-5e504c6ceae5.ttl │ │ ├── 9827ae00-2778-4655-9f22-08bb9daaee26.ttl │ │ ├── 995eda6f-1567-41de-b55a-97260e6b38d9.ttl │ │ ├── 9ac499ce-f1a2-44c2-a5fb-01e3eb9a5bc9.ttl │ │ ├── a2e961fa-a26a-4cd6-b00d-7992b8cfd1b8.ttl │ │ ├── a691ee69-97d8-45c0-bb03-8e887b2db806.ttl │ │ ├── a723a19f-2275-41bf-a556-e6ae4fe880a8.ttl │ │ ├── ae7564dd-73f7-490a-9a0b-76215ffca9d3.ttl │ │ ├── b1f69979-dd47-4709-b2ed-a7119f29b135.ttl │ │ ├── b6c24b2a-3d4c-4518-8c1f-d739a51cca0d.ttl │ │ ├── bcf22534-0187-4ae4-b88f-fe0f9fa96659.ttl │ │ ├── bee6bc10-2eb9-4b2d-b0c4-84c5d9039e53.ttl │ │ ├── c205e9da-2dc5-4d1f-8be9-a3f90c13eedc.ttl │ │ ├── cb7b6b70-2c62-4ec6-88b8-b20ffb42d0b2.ttl │ │ ├── cd247a67-0879-4301-abd0-828f63abb252.ttl │ │ ├── d1c1ad91-406a-4d14-99cf-db770785440c.ttl │ │ ├── d246d4da-79d9-4232-b5ab-94282cd0a63b.ttl │ │ ├── d738e710-b06e-4ab6-9159-ee0d7d603402.ttl │ │ ├── d8f282b3-4a0e-4093-90d1-169cf7a090e8.ttl │ │ ├── dbad38a1-4f99-4cd3-9107-23743a4059a8.ttl │ │ ├── dd442d1b-bcc7-40e2-bbb9-4abfa7309fbe.ttl │ │ ├── e2765d6c-848a-4fc0-9092-556903730263.ttl │ │ ├── eac2c39c-c8b3-4880-8b9f-a3e12f7f6372.ttl │ │ ├── ecdf7b5e-5123-4a93-87bc-86ef6de389ff.ttl │ │ └── fe442ef3-5200-4b06-b4bc-fc0b495603a9.ttl │ │ ├── auth.omni.example │ │ ├── 11558b5c-a827-4355-bdff-6c200f9377e3.ttl │ │ ├── 73c5f23c-099e-452e-ab29-cbfc8c8a19f8.ttl │ │ ├── 80785fd6-e9de-4020-9430-5197fde0b731.ttl │ │ └── a7f7d66d-13ba-4ba6-8908-3ea9c2703fce.ttl │ │ ├── bob.example │ │ ├── CarePlan-shapeTreeLocator.ttl │ │ ├── CarePlan-shapeTrees.ttl │ │ ├── CarePlan-shapes.shex │ │ ├── Location-shapeTreeLocator.ttl │ │ ├── fhir-CarePlan-DataRegistration.ttl │ │ ├── fhir-Location-DataRegistration.ttl │ │ └── fhir │ │ │ ├── CarePlan │ │ │ └── HypoglycemiaManagement.ttl │ │ │ └── Location │ │ │ └── HomeAddress.ttl │ │ ├── finance.acme.example │ │ ├── 4f3fbf70-49df-47ce-a573-dc54366b01ad.ttl │ │ ├── 882eea27-b968-44e7-b8f5-87b234089057.ttl │ │ ├── ab6fd32b-ce6f-4c1e-baf3-0e42f1aae7e5.ttl │ │ ├── c2883a4d-cece-43c2-9568-5f0aa1ac64be.ttl │ │ ├── e44e3ddc-a383-4a98-ad59-a3153eea5aaf.ttl │ │ ├── e7a5a287-9481-417e-91bf-40ea738fa737.ttl │ │ └── ea7a7621-b2fd-41b1-8992-c85d624f6bcc.ttl │ │ ├── home.alice.example │ │ ├── 0fd3daa3-dd6b-4484-826b-9ebaef099241.ttl │ │ ├── 2d3d97b4-a26d-434e-afa2-e3bc8e8e2b56.ttl │ │ ├── 46fea403-8605-473b-a9a1-a86f50fb1633.ttl │ │ ├── 72eb1958-5ad1-4268-96cb-739a71592cc0.ttl │ │ ├── 92f43be4-d12c-4ca3-9bd6-c18e83167b2f.ttl │ │ ├── f6ccd3a4-45ea-4f98-8a36-98eac92a6720.ttl │ │ └── f950bae5-247c-49b2-a537-b12cda8d5758.ttl │ │ ├── na.omni.example │ │ ├── 30da889a-d65f-461d-ae52-50e19c77ed79.ttl │ │ ├── 6b800a8a-1d53-45b5-81bd-e76f1a87bdd3.ttl │ │ ├── 79a1cc9e-e498-4a66-a2f8-9957a64e9488.ttl │ │ ├── 823e7976-13cc-4641-be0f-a4a78c2d7140.ttl │ │ └── d2748fbd-565a-4a52-8709-b07a39f1fd4a.ttl │ │ ├── omni.example │ │ └── omni.example.ttl │ │ ├── performchart.example │ │ ├── 44430955-4844-466b-9e1b-04893d0a0d50.ttl │ │ └── performchart.example.ttl │ │ ├── prefixes.ttl │ │ ├── pro.alice.example │ │ ├── 106a82aa-6911-4a7e-a49b-383cbaa9da66.ttl │ │ ├── 210cf13a-4082-487f-ab2b-ad54edb234a0.ttl │ │ ├── 4d594c61-7cff-484a-a1d2-1f353ee4e1e7.ttl │ │ ├── 4d713903-d114-4890-a87c-eaed50c33e5e.ttl │ │ ├── 576520a6-af5a-4cf9-8b40-8b1512b59c73.ttl │ │ ├── 71e96aaa-f3dc-4263-97d6-a5b4c83524cb.ttl │ │ ├── 773605f0-b5bf-4d46-878d-5c167eac8b5d.ttl │ │ ├── 7a130c38-668a-4775-821a-08b38f2306fb.ttl │ │ └── ccbd77ae-f769-4e07-b41f-5136501e13e7.ttl │ │ ├── projectron.example │ │ └── projectron.example.ttl │ │ ├── rnd.acme.example │ │ ├── 02c8217e-9933-4681-9fe3-f9d207a77a91.ttl │ │ ├── 18e75c28-3649-4c24-9e58-530df3813ca3.ttl │ │ ├── 58814556-9955-482f-9d1f-0a89677f9881.ttl │ │ ├── 6e3b9ac3-254f-41cc-adbe-3f3293fd0475.ttl │ │ ├── a51a89f5-0d4d-4213-9a9e-ea2dbadc56ea.ttl │ │ ├── b51fb352-a098-4681-81aa-b655b9434932.ttl │ │ ├── d1a7b2ff-a021-40f1-8c16-ab56407a0740.ttl │ │ └── f56235d6-4e58-4492-97ec-42d3b5bfa539.ttl │ │ └── solidshapes.example │ │ ├── shapes │ │ ├── Project.shex │ │ └── Task.shex │ │ └── trees │ │ ├── Project.ttl │ │ └── Task.ttl ├── problems-and-goals │ └── index.bs ├── specification │ ├── access-authorizations.bs │ ├── access-needs.bs │ ├── agent-registrations.bs │ ├── agent.bs │ ├── application.bs │ ├── data-authorization.bs │ ├── data-registrations.bs │ ├── definitions.bs │ ├── diagrams │ │ └── social-agent-shares-access.seq.mmd │ ├── index.bs │ ├── interop.jsonld │ ├── interop.shex │ ├── interop.tree │ ├── interop.ttl │ ├── introduction.bs │ ├── security.bs │ ├── snippets │ │ ├── alice.example │ │ │ ├── 017d6a07.ttl │ │ │ ├── 0945218b.ttl │ │ │ ├── 0e36ba8f.ttl │ │ │ ├── 0e4cb692.ttl │ │ │ ├── 1912239c.ttl │ │ │ ├── 244dfe3e.ttl │ │ │ ├── 27eae14b.ttl │ │ │ ├── 2ae35a57.ttl │ │ │ ├── 2d1568fb.ttl │ │ │ ├── 2f2f3628.ttl │ │ │ ├── 391f526b.ttl │ │ │ ├── 3e94161f.ttl │ │ │ ├── 40d038ea.ttl │ │ │ ├── 4460dce3.ttl │ │ │ ├── 47e07897.ttl │ │ │ ├── 4ae3abf8.ttl │ │ │ ├── 54a1b6a0.ttl │ │ │ ├── 55363f56.ttl │ │ │ ├── 5ad22737.ttl │ │ │ ├── 5ca4692b.ttl │ │ │ ├── 60e37fe3.ttl │ │ │ ├── 6531c8e2.ttl │ │ │ ├── 66e90b51.ttl │ │ │ ├── 6da10e5b.ttl │ │ │ ├── 6ef722af.ttl │ │ │ ├── 731b43ec.ttl │ │ │ ├── 8f178288.ttl │ │ │ ├── 8fac3576.ttl │ │ │ ├── 90b0f5ad.ttl │ │ │ ├── 935458cf.ttl │ │ │ ├── 95ff7580.ttl │ │ │ ├── a0623c8f.ttl │ │ │ ├── a1umr5yx.ttl │ │ │ ├── a8a224e6.ttl │ │ │ ├── agents.ttl │ │ │ ├── alice.example.ttl │ │ │ ├── authorization.ttl │ │ │ ├── b0dc6c78.ttl │ │ │ ├── b42228af.ttl │ │ │ ├── b49afcdf.ttl │ │ │ ├── b5eea7bb.ttl │ │ │ ├── b6e125b8.ttl │ │ │ ├── c2328cdd.ttl │ │ │ ├── c4562da9.ttl │ │ │ ├── ca14a518.ttl │ │ │ ├── cc8f2f69.ttl │ │ │ ├── cce01253.ttl │ │ │ ├── d577d117.ttl │ │ │ ├── d85fd1f5.ttl │ │ │ ├── e2765d6c.ttl │ │ │ ├── ec6057d9.ttl │ │ │ ├── efc426c9.ttl │ │ │ ├── f800b10c.ttl │ │ │ ├── fa6d6553.ttl │ │ │ ├── fe818190.ttl │ │ │ └── registries.ttl │ │ ├── alice.jarvis.example │ │ │ └── alice.jarvis.example.ttl │ │ ├── bob.example │ │ │ ├── 05f60b20.ttl │ │ │ ├── 255aa181.ttl │ │ │ ├── b2b6a645.ttl │ │ │ ├── d5b5760c.ttl │ │ │ └── e4b1b154.ttl │ │ ├── data.example │ │ │ ├── pm-shapes.shex │ │ │ ├── pm-shapetrees.tree │ │ │ └── pm-vocab.ttl │ │ ├── jose.example │ │ │ ├── 10d14db3.ttl │ │ │ ├── 2aa21a8c.ttl │ │ │ ├── 69095550.ttl │ │ │ ├── 85b51e6a.ttl │ │ │ └── efba320e.ttl │ │ ├── prefixes.ttl │ │ ├── projectron.example │ │ │ ├── access-en.ttl │ │ │ ├── needs.ttl │ │ │ └── projectron.example.ttl │ │ └── work.alice.example │ │ │ ├── 16e1eae9.ttl │ │ │ ├── 6e545b74.ttl │ │ │ ├── 8501f084.ttl │ │ │ ├── 9b60a354.ttl │ │ │ ├── d33e01c8.ttl │ │ │ ├── data-registry.ttl │ │ │ └── df4ab227.ttl │ └── social-agent.bs └── ucr │ └── index.bs ├── requirements.txt ├── runtime.txt └── scripts ├── prepare-export.js └── validate-snippets.js /.github/workflows/ci-config.yml: -------------------------------------------------------------------------------- 1 | # Workflow for verifying bikeshed documents processing 2 | 3 | name: Verify processing 4 | on: 5 | # only concerned with gating PRs to the main branch 6 | pull_request: 7 | branches: [ main ] 8 | 9 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel 10 | jobs: 11 | deploy: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - name: checkout 15 | uses: actions/checkout@v2.2.0 16 | 17 | - name: setup python 18 | uses: actions/setup-python@v2 19 | with: 20 | python-version: '3.10' 21 | 22 | - name: install bikeshed 23 | run: | 24 | pipx install bikeshed 25 | bikeshed update 26 | 27 | - name: run bikeshed 28 | run: | 29 | bikeshed spec proposals/specification/index.bs 30 | bikeshed spec proposals/primer/application.bs 31 | bikeshed spec proposals/primer/authorization-agent.bs 32 | 33 | - name: generate svg 34 | run: for diagram in proposals/*/diagrams/*.seq.mmd; do docker run --rm -v "$PWD:/data" minlag/mermaid-cli -i /data/$diagram; done 35 | 36 | - name: generate png 37 | run: for diagram in proposals/*/diagrams/*.flow.mmd; do docker run --rm -v "$PWD:/data" minlag/mermaid-cli -i /data/$diagram -o /data/$diagram.png; done 38 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | proposals/**/*.html 2 | proposals/**/notes.md 3 | proposals/**/*.mmd.svg 4 | proposals/**/*.mmd.png 5 | .on-save.json 6 | 7 | node_modules 8 | package-lock.json 9 | yarn.lock 10 | dist 11 | 12 | .idea 13 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright 2019 - present 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 5 | 6 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 7 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-slate -------------------------------------------------------------------------------- /archive/data-discovery/ExampleShacl/Bookmark2WebAnnotation.ttl: -------------------------------------------------------------------------------- 1 | PREFIX owl: 2 | PREFIX bookm: 3 | PREFIX foaf: 4 | PREFIX terms: 5 | PREFIX oa: 6 | 7 | foaf:maker owl:sameAs terms:creator . 8 | terms:title owl:sameAs oa:bodyValue . 9 | bookm:recalls owl:sameAs oa:hasTarget . 10 | 11 | bookm:Bookmark owl:equivalentClass oa:Annotation . -------------------------------------------------------------------------------- /archive/data-discovery/ExampleShacl/BookmarkShape.ttl: -------------------------------------------------------------------------------- 1 | PREFIX owl: 2 | PREFIX rdf: 3 | PREFIX rdfs: 4 | PREFIX schema: 5 | PREFIX sh: 6 | PREFIX xsd: 7 | PREFIX sol: 8 | PREFIX foaf: 9 | PREFIX terms: 10 | PREFIX XML: 11 | PREFIX bookm: 12 | PREFIX : <#> 13 | 14 | :BookmarkShape 15 | rdf:type rdfs:Class; 16 | rdf:type sh:NodeShape; 17 | sh:targetClass bookm:Bookmark; 18 | sh:property [ 19 | sh:path foaf:maker; 20 | sh:description "Person creating the bookmark"; 21 | sh:name "Created By"; 22 | sh:nodeKind sh:IRI; 23 | ]; 24 | sh:property [ 25 | sh:path terms:created; 26 | sh:name "Date Created"; 27 | sh:description "The date the bookmark was created"; 28 | sh:datatype XML:dateTime; 29 | ]; 30 | sh:property [ 31 | sh:path terms:title; 32 | sh:name "Title"; 33 | sh:description "The title of the bookmark"; 34 | sh:datatype xsd:string; 35 | ]; 36 | sh:property [ 37 | sh:path bookm:recalls; 38 | sh:name "Web Site"; 39 | sh:description "The URL of the web site"; 40 | sh:nodeKind sh:IRI; 41 | ]. 42 | -------------------------------------------------------------------------------- /archive/data-discovery/hypothesis.md: -------------------------------------------------------------------------------- 1 | # Hypothesis for Implementing Data Discovery 2 | 3 | This document details a hypothesis for a data pod to define how its data is stored and indexed, so that a given application can automatically find the data that it needs. It takes into account the stated [use cases](use-cases.md). 4 | 5 | This hypothesis will be validated and refined through critical review and prototyping, with the end result being input into a candidate proposal to the [Solid Specification](https://github.com/solid/specification). 6 | 7 | ## Hypothesis: A mechanism for a new app to convert the data found on a users pod to the shape that it requires 8 | 9 | ### Assumptions: 10 | 11 | - The owner of the POD has given permission for the app to convert the data found into the shape required by the new application 12 | - The application has knowledge of the data shape in both `oldApp` and `newApp` 13 | - A suitable mapping exists between them 14 | 15 | ### Set up: 16 | 17 | The example used to illustrate the hypothesised approach relies on the following `.ttl` files. 18 | 19 | - [Bookmarks](https://anvil1.inrupt.net/public/bookmarks.ttl) (the data on the user's POD) 20 | - [Original Bookmark Shape](https://storage.googleapis.com/anvil_apps_support_data/BookmarkShape.ttl) (the shape of the data used by oldApp) 21 | - [New Bookmark Shape](https://storage.googleapis.com/anvil_apps_support_data/WebAnnotationShape.ttl) (the shape of the data used by newApp) 22 | -------------------------------------------------------------------------------- /archive/data-discovery/use-cases.md: -------------------------------------------------------------------------------- 1 | # Use Cases for Data Discovery 2 | 3 | The following use cases must be considered when designing a mechanism for a data pod to define how its data is stored and indexed so that a given application can automatically find the data that it needs. 4 | 5 | - Alice has a super file with a wide array of data that falls under many healthcare-related shapes on her Pod. She wants to share only data about ultrasound readings with her new OB-GYN without sharing information on her skin care, dentistry or other subjects. (Read-time shape validation) 6 | 7 | 8 | ## New application 9 | 10 | Alice used `AncientBookmarks` application from `OldBookmarks.example`, to record a number of bookmarks which are stored on her POD. Recently Alice's friend Bob recommended that she upgrade to the application `MyThoughtsOnIt` from `WebAnnontaions.example`. 11 | 12 | `MyThouhgtsOnIt` uses the [web annotations ontology](https://www.w3.org/TR/annotation-vocab/#motivation) as its ontology, 13 | whereas `AncientBookmarks` used a proprietary ontology to define its data. 14 | 15 | ### Actors 16 | 17 | #### Alice 18 | 19 | Alice needs to authorise `MyThoughtsOnIt` to upgrade and possibly move the bookmarks created by `AncientBookmarks`. 20 | 21 | #### WebAnnotations.example 22 | 23 | **WebAnnotations.example** needs to locate Alice's data; reconcile the bespoke ontology to its own; 24 | convert the data; (possibly) move the data to new location; 25 | provide cool functionality to create and mange web annotations. 26 | 27 | -------------------------------------------------------------------------------- /archive/data-validation/README.md: -------------------------------------------------------------------------------- 1 | # Data Validation in Solid 2 | 3 | A project undertaken by the [Data Interoperability Panel](https://github.com/solid/data-interoperability-panel). See the [original project proposal](https://github.com/solid/data-interoperability-panel/issues/1). 4 | 5 | ## Goal 6 | 7 | The aim of this project is to produce a candidate proposal to the Solid Specification that defines how and when to apply shape-based data validation as data is written/modified in the pod. 8 | 9 | ## Milestones 10 | 11 | 1. Write [use cases](use-cases.md) 12 | 2. Write [hypothesis](hypothesis.md) for intended approach 13 | 3. Create prototype *(with supporting documentation in refined hypothesis)* 14 | 4. Write and submit candidate proposal to specification 15 | -------------------------------------------------------------------------------- /archive/data-validation/hypothesis.md: -------------------------------------------------------------------------------- 1 | # Hypothesis for Implementing Data Validation 2 | 3 | The material in this document outlines a hypothesis for implementing a shape-based data validation mechanism in Solid to satisfy the stated [use cases](use-cases.md). This hypothesis will be validated and refined through critical review and prototyping, with the end result being input into a candidate proposal to the [Solid Specification](https://github.com/solid/specification). 4 | -------------------------------------------------------------------------------- /build.sh: -------------------------------------------------------------------------------- 1 | echo "Build: running bikeshed" 2 | bikeshed spec proposals/specification/index.bs 3 | bikeshed spec proposals/primer/application.bs 4 | bikeshed spec proposals/primer/authorization-agent.bs 5 | 6 | echo "Build: running mermaid for sequence diagrams" 7 | for diagram in proposals/*/diagrams/*.seq.mmd 8 | do 9 | npx mmdc -i $diagram 10 | done 11 | 12 | echo "Build: running mermaid for flowchart diagrams" 13 | for diagram in proposals/*/diagrams/*.flow.mmd 14 | do 15 | npx mmdc -i $diagram -o $diagram.png 16 | done 17 | 18 | echo "Build: done!" 19 | -------------------------------------------------------------------------------- /devbox.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.14.0/.schema/devbox.schema.json", 3 | "packages": ["bikeshed@latest"], 4 | "shell": { 5 | "init_hook": [ 6 | "alias bikeshed='bikeshed --no-update'", 7 | ] 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /meetings/2019-10-07.md: -------------------------------------------------------------------------------- 1 | # Meeting #5 - 2019-10-07 2 | ## Solid Data Interoperability Panel 3 | 4 | Time: 3:30 EST / 9:30 CEST 5 | 6 | ## Connection Info 7 | __Connect with your computer, tablet, or smartphone:__ 8 | https://global.gotomeeting.com/join/620786365 9 | 10 | __Dial in:__ 11 | United States (Toll Free): 1 866 899 4679 12 | Belgium (Toll Free): 0 800 78881 13 | Costa Rica (Toll Free): 0800 542 5404 14 | Denmark (Toll Free): 8025 3112 15 | France (Toll Free): 0 805 541 052 16 | Germany (Toll Free): 0 800 723 5274 17 | Ireland (Toll Free): 1 800 818 263 18 | Netherlands (Toll Free): 0 800 023 1954 19 | New Zealand (Toll Free): 0 800 47 0051 20 | Norway (Toll Free): 800 33 083 21 | United Kingdom (Toll Free): 0 800 031 4727 22 | 23 | __Access Code:__ 620-786-365 24 | 25 | ## Agenda 26 | 1. Update - Data Validation Work 27 | 2. Data Discovery - Use Cases 28 | 29 | ## Minutes 30 | -------------------------------------------------------------------------------- /meetings/2020-04-27.md: -------------------------------------------------------------------------------- 1 | # Solid Data Interoperability Panel 2 | April 27th, 2020 3 | 4 | Attendees: 5 | 6 | - Justin B 7 | - elf Pavlik 8 | - Jackson M 9 | - Dmitri Z 10 | - Josh C 11 | - Sander G 12 | 13 | Agenda: 14 | 15 | - shape trees update 16 | - PRM use case 17 | - ecosystem proposal update, discuss key sections at a high level - dig in more starting next week 18 | 19 | Minutes: 20 | 21 | ERIC: Presenting demo of https://github.com/janeirodigital/shapetreelib.js 22 | 23 | JUSTIN: Hoping to publish the ecosystem proposal in the panel repo before next panel session 24 | 25 | ELF PAVLIK: Sharing https://hackmd.io/Yb8qBdIoQROeF32TCa0zTg?view 26 | -------------------------------------------------------------------------------- /meetings/2020-07-28.md: -------------------------------------------------------------------------------- 1 | # Solid Interoperability Panel 2 | July 28th, 2020 3 | 4 | ## Present 5 | 6 | - Justin B 7 | - Dmitri Z 8 | - Jackson M 9 | - Josh C 10 | - e Pavlik 11 | - Angel A 12 | 13 | ## Agenda 14 | 15 | - Walkthrough of Shape Trees specification (https://shapetrees.github.io/specification/spec) 16 | 17 | ## Minutes 18 | 19 | ### Walkthrough of Shape Trees specification 20 | 21 | Reviewing: 22 | - Source - https://github.com/shapetrees/specification 23 | - Rendered - https://shapetrees.github.io/specification/spec 24 | -------------------------------------------------------------------------------- /meetings/2020-09-08.md: -------------------------------------------------------------------------------- 1 | # Solid Interoperability Panel 2 | 3 | ## Present 4 | 5 | - Justin B 6 | - Josh C 7 | - e Pavlik 8 | - Eric P 9 | - Dmitri Z 10 | 11 | ## Agenda 12 | 13 | - [Shape Trees PR for Solid W3C CG](https://github.com/shapetrees/specification/pull/23) 14 | - Project Management Scenario / Primer 15 | - Interop spec update 16 | 17 | 18 | ## Minutes 19 | 20 | ### [Shape Trees PR for Solid W3C CG](https://github.com/shapetrees/specification/pull/23) 21 | 22 | - Eric: We should decide if we want to give copywrite control to W3C or Solid Project. 23 | - Justin: I was looking at various other projects like JSON-LD, DID, SPARQL 1.2 etc. All have the same boilerplate. 24 | - Pavlik: I think we can merge #23 and close #22 with comment taht #23 has taken care of it. 25 | - Justin: Dmitri, do you know why solid spec didn't use similar boilerplate. 26 | - Dmitri: Group at that time didn't seem oriented at W3C format. 27 | 28 | 29 | ### Project Management Scenario / Primer 30 | 31 | https://github.com/solid/data-interoperability-panel/pull/60/ 32 | 33 | - Pavlik: Github label *Primer*, PR rendering (just go with netlify?) 34 | 35 | - JB: Have submitted a request to netlify for an open source account 36 | 37 | - Action Item: JB to update path names for spec / panel 38 | 39 | 40 | -------------------------------------------------------------------------------- /meetings/2020-09-18.md: -------------------------------------------------------------------------------- 1 | # Solid Interoperability Panel 2 | September 15th, 2020 3 | 4 | ## Present 5 | 6 | - Justin B 7 | - Angel Araya 8 | - Dmitri Z 9 | - Matteieu F 10 | - elf Pavlik 11 | - Beniot 12 | 13 | ## Agenda 14 | 15 | - Interop Spec - Update on Access Grants / Receipts / Remote Resources 16 | - Primer Update - https://github.com/solid/data-interoperability-panel/pull/62 17 | 18 | ## Minutes 19 | 20 | ### Interop Spec - Update on Access Grants 21 | 22 | Justin: I'll be pushing a lot of updates. For example task management can send access need request to work with projects. We have an operation to traverse shapetree and while grating access to projects user can only grant access to related tasks. 23 | Pavlik: What does it meant that user 'has projects'. 24 | Justin: Application can request access, as resource controller you can grant access to the application. 25 | Pavlik: I talk about cases where user wants to restrict application (they 'pilot') in access to data they (user) have access to but not control. 26 | Justin: Current state of document doesn't address this use case. 27 | 28 | ![](https://i.imgur.com/G6b6VVe.png) 29 | 30 | 31 | -------------------------------------------------------------------------------- /meetings/2020-10-20.md: -------------------------------------------------------------------------------- 1 | # Solid Interoperability Panel 2 | October 20th, 2020 3 | 4 | ## Present 5 | 6 | - Justin B 7 | - elf Pavlik 8 | - Eric P 9 | - Josh C 10 | - Matthieu B 11 | 12 | ## Agenda 13 | 14 | - Spec update 15 | - Github action for drafts 16 | 17 | ## Action Items 18 | 19 | - JB to setup netlify@solidproject.org and make a starter account to link to data-interoperability-panel 20 | -------------------------------------------------------------------------------- /meetings/2020-12-8.md: -------------------------------------------------------------------------------- 1 | # Solid Interoperability Panel 2 | December 8th, 2020 3 | 4 | ## Present 5 | * Hannes 6 | * ePavlik 7 | * JoshC 8 | 9 | ## Agenda 10 | 11 | - https://github.com/solid/data-interoperability-panel/pull/66 12 | 13 | ## Minutes 14 | - https://github.com/solid/data-interoperability-panel/pull/66 15 | - Suggestion to add triple to represent pointer to container so that instances represented in ldp:contains can be navigated. 16 | - interop:registeredType -- what is the assumption of adding this? What is the implication if a client does not understand shapes / shapetrees. 17 | 18 | 19 | ## Actions 20 | * JC to create GH issue to track addition of container reference as well as any updates to operations/workflows that need to be more precise -- [Created Issue](https://github.com/solid/data-interoperability-panel/issues/72) 21 | * JC to create GH issue to describe interop:updatedBy in addition to interop:registeredBy -- [Created Issue](https://github.com/solid/data-interoperability-panel/issues/73) 22 | * JC to create GH issue to clarify the usage of interop:registeredType -- what is use case? -- [Created Issue](https://github.com/solid/data-interoperability-panel/issues/74) 23 | -------------------------------------------------------------------------------- /meetings/2021-01-12.md: -------------------------------------------------------------------------------- 1 | # Solid Data Interoperability Panel 2 | January 12th, 2021 3 | 4 | ## Present 5 | 6 | - Justin B 7 | - Ruben D 8 | - Eric P 9 | - elf Pavlik 10 | - Josh C 11 | 12 | ## Agenda 13 | 14 | - Shape Tree Specification Update 15 | - Interop Specification Update 16 | - Use Cases from Ruben D 17 | - Open for discussion (Please add adjust as you like) 18 | 19 | ## Minutes 20 | 21 | - ACTION: Better context on meeting time in github - Add UTC 22 | 23 | ### Shape Tree Updates 24 | 25 | - Removing decorator versioning 26 | - https://github.com/shapetrees/specification/pull/32 27 | 28 | ### Interop Update 29 | 30 | Updated Pull Request - https://github.com/solid/data-interoperability-panel/pull/71 31 | 32 | Authorization update: 33 | - EP: On figure 20 - Add the specific shape trees in the minimized form so there is no chance for the app to misrepresent 34 | 35 | - EP: How to authorize an authorization agent the first time 36 | -------------------------------------------------------------------------------- /meetings/2021-03-09.md: -------------------------------------------------------------------------------- 1 | # Solid Interoperability Panel 2 | March 9th, 2021 3 | 4 | ## Meeting 5 | * Call: https://meet.jit.si/solid-data-interoperability 6 | 7 | ## Present 8 | 9 | - Justin B 10 | 11 | ## Agenda 12 | 13 | - Announcements 14 | - Review prior minutes - See [prior minutes](https://github.com/solid/data-interoperability-panel/pull/87) 15 | - Interop specification walkthrough - proposed times (3/25 - 9AMET, 3/29 - 8:30ET) 16 | - Issues 17 | - Pull requests 18 | - Topic Items 19 | - Mellon use case 20 | - Startin'Blox use case 21 | - Bridge relationships / Contained Access Needs and Grants 22 | - Access Decorators 23 | 24 | 25 | ### Mellon Use Cases 26 | 27 | - See https://docs.google.com/document/d/1_IZ-uAcmzhbaJ89VIndNhcT67Ny_36JNb_GjWCuSAJA/edit 28 | 29 | - Person will store research and associated artifacts in the pod, organized by shape trees 30 | - Will need to make it available to different services, making use of authorization / access needs 31 | - Will be going _____ 32 | -------------------------------------------------------------------------------- /meetings/2021-06-15.md: -------------------------------------------------------------------------------- 1 | # Solid Interoperability Panel 2 | June 15th, 2021 3 | 4 | ## Present 5 | 6 | - Justin B 7 | - Eric P 8 | - Jamie F 9 | - Juliette 10 | 11 | ## Agenda 12 | 13 | - Shape Tree Update 14 | - [Referenced Data Grant - improving ergonomy of traversal #124](https://github.com/solid/data-interoperability-panel/issues/124) 15 | 16 | ## Actions 17 | 18 | - elf Pavlik: to make PR addressing 124 19 | -------------------------------------------------------------------------------- /meetings/2021-06-22.md: -------------------------------------------------------------------------------- 1 | # Solid Interoperability 2 | June 22nd, 2021 3 | 4 | ## Present 5 | 6 | - Justin B 7 | - elf Pavlik 8 | - Eric P 9 | - Jamie F 10 | 11 | ## Agenda 12 | 13 | - [Changing shape path to referenced type and predicate](https://github.com/solid/data-interoperability-panel/pull/130) 14 | 15 | ## Minutes 16 | 17 | ### [Changing shape path to referenced type and predicate](https://github.com/solid/data-interoperability-panel/pull/130) 18 | 19 | 20 | -------------------------------------------------------------------------------- /meetings/2021-06-29.md: -------------------------------------------------------------------------------- 1 | # Solid Interoperability Panel 2 | June 29th, 2021 3 | 4 | ## Agenda 5 | 6 | * Issues 7 | * [Consider generalizing Application Registration to Agent Registration](https://github.com/solid/data-interoperability-panel/issues/132) 8 | * [Define usage of shape path for data grant with inheritinstances](https://github.com/solid/data-interoperability-panel/issues/131) 9 | * Topics 10 | * sai-js update 11 | * shapetrees update 12 | * Primer - moving snippets to an Appendix 13 | 14 | 15 | ## Minutes 16 | 17 | 18 | -------------------------------------------------------------------------------- /meetings/2021-07-20.md: -------------------------------------------------------------------------------- 1 | 2 | # 2021-07-20 Solid Interoperability 3 | 4 | https://meet.jit.si/solid-data-interoperability 5 | 6 | ## Agenda 7 | 8 | * [Separate each Data Grant from Access Grant PR#141](https://github.com/solid/data-interoperability-panel/pull/141) 9 | * [consider alternatives for app registration discovery I#91](https://github.com/solid/data-interoperability-panel/issues/91) 10 | * [Data Grant should include information about who owns the data I#140](https://github.com/solid/data-interoperability-panel/issues/140) 11 | * [Data Grants - new diagrams (+ renaming suggestions)](https://hackmd.io/s_w3eSF3RBSWY-OMhxPwig?view) 12 | * [Create more specific shapes for Data Grant - one per data grant scope I#109](https://github.com/solid/data-interoperability-panel/issues/109) 13 | * [Define usage of Shape Path for Data Grant with InheritInstances scope I#131](https://github.com/solid/data-interoperability-panel/issues/131) 14 | 15 | ## Present 16 | 17 | ## Minutes 18 | 19 | ## Actions 20 | 21 | - Consider switching naming for: 22 | - Data Registration -> Data Collection 23 | - Remote Data Registrati 24 | -------------------------------------------------------------------------------- /meetings/2021-08-10.md: -------------------------------------------------------------------------------- 1 | # 2021-08-10 Data Interoperability 2 | 3 | https://meet.jit.si/solid-data-interoperability 4 | 5 | ## Agenda 6 | 7 | * [Vocab updates PR#146](https://github.com/solid/data-interoperability-panel/pull/146) 8 | * ShapeTree spec update 9 | * Review of changes to SAI spec 10 | * (if time allows) plans for shapetrees.pub 11 | -------------------------------------------------------------------------------- /meetings/files/cco-preso-6-20191021.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solid/data-interoperability-panel/b1aa5b6d33d362cab931e0fa7c3674b51f45950b/meetings/files/cco-preso-6-20191021.pdf -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "data-interoperability-panel", 3 | "version": "1.0.0", 4 | "description": "", 5 | "scripts": { 6 | "test": "node scripts/validate-snippets.js", 7 | "postinstall": "node scripts/prepare-export.js" 8 | }, 9 | "main": "dist/index.json", 10 | "license": "MIT", 11 | "devDependencies": { 12 | "@mermaid-js/mermaid-cli": "^8.10.1", 13 | "turtle-validator": "^1.1.1" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /proposals/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Solid Data Interoperability Panel: Proposals 8 | 9 | 10 | 11 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /proposals/invitation/invitation.shex: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX invite: 3 | PREFIX xsd: 4 | 5 | # Access Invitation 6 | <#AccessInvitationShape> { 7 | a [ invite:AccessInvitation ] ; 8 | interop:registeredBy IRI ; 9 | interop:registeredWith IRI? ; 10 | interop:registeredAt xsd:dateTime ; 11 | interop:updatedAt xsd:dateTime ; 12 | interop:expiresAt xsd:dateTime? ; 13 | interop:hasAccessNeedGroup @<#:AccessNeedGroupShape>+ ; 14 | interop:hasDataGrant @<#:DataGrantShape>+ ; 15 | invite:hasAccessInvitationChannel @<#:AccessInvitationChannelShape>+ 16 | } 17 | 18 | # Access Invitation Channel 19 | <#AccessInvitationChannelShape> { 20 | a @<#ChannelTypes> ; 21 | invite:channelTarget xsd:string ; 22 | invite:channelCode xsd:string ; 23 | invite:isValidated xsd:boolean ; 24 | invite:remainingAttempts xsd:integer 25 | } 26 | 27 | # Access Invitation Channel Types 28 | <#ChannelTypes> [ 29 | invite:PhoneInvitationChannel # Telephone 30 | invite:EmailInvitationChannel # E-mail 31 | invite:SMSInvitationChannel # SMS (Simple Messaging Service) 32 | invite:OfflineInvitationChannel # Other communication, e.g. verbal, shared note 33 | invite:LDNInvitationChannel # Linked Data Notification 34 | ] 35 | -------------------------------------------------------------------------------- /proposals/invitation/invitation.tree: -------------------------------------------------------------------------------- 1 | PREFIX st: 2 | PREFIX invite: 3 | 4 | # Access Invitation 5 | <#AccessInvitationTree> 6 | a st:ShapeTree ; 7 | st:expectsType st:Resource ; 8 | st:shape invite:AccessInvitationShape . 9 | -------------------------------------------------------------------------------- /proposals/primer/diagrams/finance.acme.example.flow.mmd: -------------------------------------------------------------------------------- 1 | flowchart LR 2 | 3 | AcmeFinanceRegistry(["🗄️ Data Registry (Professional)"]) 4 | AcmeFinanceProjects["📁 Projects 🌿"] 5 | AcmeFinanceTasks["📁 Tasks 🌿"] 6 | PAf1("📄 P-Af-1") 7 | PAf2("📄 P-Af-2") 8 | TAf1("📄 T-Af-1") 9 | TAf2("📄 T-Af-2") 10 | TAf3("📄 T-Af-3") 11 | 12 | subgraph finance.acme.example 13 | AcmeFinanceRegistry -- :hasDataRegistration --> AcmeFinanceProjects 14 | AcmeFinanceProjects -- ldp:contains --> PAf1 15 | AcmeFinanceProjects -- ldp:contains --> PAf2 16 | AcmeFinanceRegistry -- :hasDataRegistration --> AcmeFinanceTasks 17 | AcmeFinanceTasks -- ldp:contains ---> TAf1 18 | AcmeFinanceTasks -- ldp:contains ---> TAf2 19 | AcmeFinanceTasks -- ldp:contains ---> TAf3 20 | PAf1 -- pm:hasTask --> TAf1 21 | PAf1 -- pm:hasTask --> TAf2 22 | PAf2 -- pm:hasTask --> TAf3 23 | end 24 | -------------------------------------------------------------------------------- /proposals/primer/diagrams/home.alice.example.flow.mmd: -------------------------------------------------------------------------------- 1 | flowchart LR 2 | 3 | AliceHomeRegistry(["🗄️ Data Registry (Home)"]) 4 | AliceHomeProjects["📁 Projects 🌿"] 5 | AliceHomeTasks["📁 Tasks 🌿"] 6 | PAh1("📄 P-Ah-1") 7 | TAh1("📄 T-Ah-1") 8 | TAh2("📄 T-Ah-2") 9 | TAh3("📄 T-Ah-3") 10 | 11 | subgraph home.alice.example 12 | AliceHomeRegistry -- :hasDataRegistration --> AliceHomeProjects 13 | AliceHomeProjects -- ldp:contains --> PAh1 14 | AliceHomeRegistry -- :hasDataRegistration --> AliceHomeTasks 15 | AliceHomeTasks -- ldp:contains ---> TAh1 16 | AliceHomeTasks -- ldp:contains ---> TAh2 17 | AliceHomeTasks -- ldp:contains ---> TAh3 18 | PAh1 -- pm:hasTask --> TAh1 19 | PAh1 -- pm:hasTask --> TAh2 20 | end 21 | -------------------------------------------------------------------------------- /proposals/primer/diagrams/na.omni.example.flow.mmd: -------------------------------------------------------------------------------- 1 | flowchart LR 2 | 3 | OmniNaRegistry(["🗄️ Data Registry (Home)"]) 4 | OmniNaProjects["📁 Projects 🌿"] 5 | OmniNaTasks["📁 Tasks 🌿"] 6 | POn1("📄 P-On-1") 7 | TOn1("📄 T-On-1") 8 | TOn2("📄 T-On-2") 9 | 10 | subgraph na.omni.example 11 | OmniNaRegistry -- :hasDataRegistration --> OmniNaProjects 12 | OmniNaProjects -- ldp:contains --> POn1 13 | OmniNaRegistry -- :hasDataRegistration --> OmniNaTasks 14 | OmniNaTasks -- ldp:contains ---> TOn1 15 | OmniNaTasks -- ldp:contains ---> TOn2 16 | POn1 -- pm:hasTask --> TOn1 17 | POn1 -- pm:hasTask --> TOn2 18 | end 19 | -------------------------------------------------------------------------------- /proposals/primer/diagrams/pro.alice.example.flow.mmd: -------------------------------------------------------------------------------- 1 | flowchart LR 2 | 3 | AliceProRegistry(["🗄️ Data Registry (Professional)"]) 4 | AliceProProjects["📁 Projects 🌿"] 5 | AliceProTasks["📁 Tasks 🌿"] 6 | PAp1("📄 P-Ap-1") 7 | PAp2("📄 P-Ap-2") 8 | TAp1("📄 T-Ap-1") 9 | TAp2("📄 T-Ap-2") 10 | TAp3("📄 T-Ap-3") 11 | TAp4("📄 T-Ap-4") 12 | 13 | subgraph pro.alice.example 14 | AliceProRegistry -- :hasDataRegistration --> AliceProProjects 15 | AliceProProjects -- ldp:contains --> PAp1 16 | AliceProProjects -- ldp:contains --> PAp2 17 | AliceProRegistry -- :hasDataRegistration --> AliceProTasks 18 | AliceProTasks -- ldp:contains ---> TAp1 19 | AliceProTasks -- ldp:contains ---> TAp2 20 | AliceProTasks -- ldp:contains ---> TAp3 21 | AliceProTasks -- ldp:contains ---> TAp4 22 | PAp1 -- pm:hasTask --> TAp1 23 | PAp1 -- pm:hasTask --> TAp2 24 | PAp2 -- pm:hasTask --> TAp3 25 | end 26 | -------------------------------------------------------------------------------- /proposals/primer/diagrams/reciprocal-registration.flow.mmd: -------------------------------------------------------------------------------- 1 | flowchart TB 2 | 3 | AliceAgentRegistry(["Agent Registry"]) 4 | AliceAgentAcme["🏢 ACME"] 5 | 6 | AcmeAgentRegistry(["Agent Registry"]) 7 | AcmeAgentAlice["👩 Alice"] 8 | 9 | 10 | AcmeAgentAlice -- :reciprocalRegistration ----> AliceAgentAcme 11 | AliceAgentAcme -- :reciprocalRegistration ----> AcmeAgentAlice 12 | 13 | subgraph auth.acme.example 14 | AcmeAgentRegistry -- :hasSocialAgentRegistration --> AcmeAgentAlice 15 | end 16 | 17 | subgraph auth.alice.example 18 | AliceAgentRegistry -- :hasSocialAgentRegistration --> AliceAgentAcme 19 | end 20 | -------------------------------------------------------------------------------- /proposals/primer/diagrams/registry-set.flow.mmd: -------------------------------------------------------------------------------- 1 | flowchart LR 2 | 3 | AliceRegistrySet{{"Registry Set"}} 4 | AliceAgentRegistry(["Agent Registry"]) 5 | AliceAuthorizationRegistry(["Authorization Registry"]) 6 | AliceProRegistry(["🗄️ Data Registry (Professional)"]) 7 | AliceHomeRegistry(["🗄️ Data Registry (Home)"]) 8 | 9 | subgraph auth.alice.example 10 | AliceRegistrySet -- :hasAuthorizationRegistry --> AliceAuthorizationRegistry 11 | AliceRegistrySet -- :hasAgentRegistry --> AliceAgentRegistry 12 | end 13 | 14 | subgraph home.alice.example 15 | AliceRegistrySet -- :hasDataRegistry ---> AliceHomeRegistry 16 | end 17 | 18 | subgraph pro.alice.example 19 | AliceRegistrySet -- :hasDataRegistry ---> AliceProRegistry 20 | end 21 | -------------------------------------------------------------------------------- /proposals/primer/diagrams/resource-indication.seq.mmd: -------------------------------------------------------------------------------- 1 | sequenceDiagram 2 | participant Projectron's ID Document 3 | participant Projectron 4 | participant Authorization Agent 5 | participant Alice's Pod 6 | Note over Projectron: 1. 👩 Alice is authenticated Projectron 7 | Note over Projectron: 2. 👩 Alice has authorized Projectron 8 | Note over Projectron, Alice's Pod: 3. Projectron has read its Access Grant and displayed projects 9 | Note over Projectron: 4. 👩 Alice initiates sharing of a specific project 10 | Projectron-->>Authorization Agent: 5. Redirect to Authorization Agent (indicating resource) 11 | Note over Authorization Agent, Alice's Pod: 6. Fetch indicated project 12 | Note over Authorization Agent, Alice's Pod: 7. Check who already has access to that project 13 | Note over Authorization Agent, Alice's Pod: 8. Fetch list of all social agents 14 | Note over Authorization Agent: 9. 👩 Alice chooses social agents and modes of access for each 15 | Note over Authorization Agent, Alice's Pod: 10. Record new authorizations for selected agents 16 | Note over Authorization Agent, Alice's Pod: 11. Regenerate access grants for selected agents 17 | Note over Projectron's ID Document, Authorization Agent: 11. Discovers Projectron's Authorization Callback Endpoint 18 | Authorization Agent-->>Projectron: 13. Redirect Alice back to Projectron 19 | Note over Projectron: 14. 👩 Alice continues using Projectron 20 | -------------------------------------------------------------------------------- /proposals/primer/diagrams/rnd.acme.example.flow.mmd: -------------------------------------------------------------------------------- 1 | flowchart LR 2 | 3 | AcmeRndRegistry(["🗄️ Data Registry (Professional)"]) 4 | AcmeRndProjects["📁 Projects 🌿"] 5 | AcmeRndTasks["📁 Tasks 🌿"] 6 | PAr1("📄 P-Ar-1") 7 | PAr2("📄 P-Ar-2") 8 | TAr1("📄 T-Ar-1") 9 | TAr2("📄 T-Ar-2") 10 | TAr3("📄 T-Ar-3") 11 | TAr4("📄 T-Ar-4") 12 | 13 | subgraph rnd.acme.example 14 | AcmeRndRegistry -- :hasDataRegistration --> AcmeRndProjects 15 | AcmeRndProjects -- ldp:contains --> PAr1 16 | AcmeRndProjects -- ldp:contains --> PAr2 17 | AcmeRndRegistry -- :hasDataRegistration --> AcmeRndTasks 18 | AcmeRndTasks -- ldp:contains ---> TAr1 19 | AcmeRndTasks -- ldp:contains ---> TAr2 20 | AcmeRndTasks -- ldp:contains ---> TAr3 21 | AcmeRndTasks -- ldp:contains ---> TAr4 22 | PAr1 -- pm:hasTask --> TAr1 23 | PAr1 -- pm:hasTask --> TAr2 24 | PAr2 -- pm:hasTask --> TAr3 25 | PAr2 -- pm:hasTask --> TAr4 26 | end 27 | -------------------------------------------------------------------------------- /proposals/primer/shape-trees.bs: -------------------------------------------------------------------------------- 1 | # Shape Tree # {#shape-tree} 2 | 3 | Shape Trees [[SHAPETREES]] allow for the definition and validation of data hierarchies 4 | including which shapes [[SHEX]] should be used to validate data. 5 | In our examples, we are going to use the following Shapes and Shape Trees. 6 | 7 |
8 |
 9 |   path: snippets/solidshapes.example/trees/Project.ttl
10 |   highlight: turtle
11 |   show: 6-100
12 |   
13 |
Project shape tree
14 |
15 | 16 |
17 |
18 |   path: snippets/solidshapes.example/shapes/Project.shex
19 |   highlight: shex
20 |   show: 6-100
21 |   
22 |
Project shape (ShEx)
23 |
24 | 25 |
26 |
27 |   path: snippets/solidshapes.example/trees/Task.ttl
28 |   highlight: turtle
29 |   show: 5-100
30 |   
31 |
Task shape tree
32 |
33 | 34 |
35 |
36 |   path: snippets/solidshapes.example/shapes/Task.shex
37 |   highlight: shex
38 |   show: 6-100
39 |   
40 |
Task shape (ShEx)
41 |
42 | 43 | Issue: Reference shape path documentation 44 | -------------------------------------------------------------------------------- /proposals/primer/snippets/acme.example/acme.example.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX acme: 3 | 4 | acme:\#corp 5 | a interop:Agent . 6 | -------------------------------------------------------------------------------- /proposals/primer/snippets/alice.example/alice.example.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice: 3 | PREFIX alice-auth: 4 | 5 | alice:\#id 6 | a interop:Agent ; 7 | interop:hasRegistrySet alice-auth:13e60d32-77a6-4239-864d-cfe2c90807c8 ; 8 | interop:hasAuthorizationAgent . 9 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.acme.example/2437895a-3a68-4048-8965-889b7e93936c.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice-auth: 4 | PREFIX acme-auth: 5 | 6 | acme-auth:2437895a-3a68-4048-8965-889b7e93936c 7 | a interop:SocialAgentRegistration ; 8 | interop:registeredBy ; 9 | interop:registeredWith ; 10 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 11 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 12 | interop:registeredAgent ; 13 | interop:hasAccessGrant acme-auth:7b6915b4-c135-4025-899c-ce53875bffe2 ; 14 | interop:reciprocalRegistration alice-auth:5dc3c14e-7830-475f-b8e3-4748d6c0bccb . 15 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.acme.example/6e069259-7836-4495-ba35-fc7eca97e5aa.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX acme-auth: 5 | PREFIX acme-finance: 6 | 7 | acme-auth:6e069259-7836-4495-ba35-fc7eca97e5aa 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Task ; 11 | interop:hasDataRegistration acme-finance:4f3fbf70-49df-47ce-a573-dc54366b01ad ; 12 | interop:accessMode acl:Read, acl:Write ; 13 | interop:scopeOfGrant interop:Inherited ; 14 | interop:inheritsFromGrant 15 | acme-auth:80ef3361-730b-4f7c-93ba-4a4415de7264 . 16 | 17 | acme-finance:4f3fbf70-49df-47ce-a573-dc54366b01ad 18 | interop:iriPrefix "https://finance.acme.example/" . 19 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.acme.example/7b6915b4-c135-4025-899c-ce53875bffe2.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX acme-auth: 4 | 5 | acme-auth:7b6915b4-c135-4025-899c-ce53875bffe2 6 | a interop:AccessGrant ; 7 | interop:grantedBy ; 8 | interop:grantedWith ; 9 | interop:grantedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 10 | interop:updatedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 11 | interop:providedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 12 | interop:fromAgent ; 13 | interop:viaAgent ; 14 | interop:hasAccessGrantSubject 15 | acme-auth:7b6915b4-c135-4025-899c-ce53875bffe2\#grant-subject ; 16 | interop:hasDataGrant 17 | acme-auth:f8064946-cb67-469a-8b28-652fd17090f6 , 18 | acme-auth:cafafd6f-9cc6-4a5d-9cbd-8eeea95d3d4e , 19 | acme-auth:80ef3361-730b-4f7c-93ba-4a4415de7264 , 20 | acme-auth:6e069259-7836-4495-ba35-fc7eca97e5aa . 21 | 22 | acme-auth:7b6915b4-c135-4025-899c-ce53875bffe2\#grant-subject 23 | a interop:AccessGrantSubject ; 24 | interop:accessByAgent . 25 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.acme.example/80ef3361-730b-4f7c-93ba-4a4415de7264.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX acme-auth: 5 | PREFIX acme-finance: 6 | 7 | acme-auth:80ef3361-730b-4f7c-93ba-4a4415de7264 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Project ; 11 | interop:hasDataRegistration acme-finance:882eea27-b968-44e7-b8f5-87b234089057 ; 12 | interop:accessMode acl:Read, acl:Write ; 13 | interop:scopeOfGrant interop:AllFromRegistry . 14 | acme-auth:6e069259-7836-4495-ba35-fc7eca97e5aa 15 | interop:inheritsFromGrant 16 | acme-auth:80ef3361-730b-4f7c-93ba-4a4415de7264 . 17 | 18 | acme-finance:882eea27-b968-44e7-b8f5-87b234089057 19 | interop:iriPrefix "https://finance.acme.example/" . 20 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.acme.example/cafafd6f-9cc6-4a5d-9cbd-8eeea95d3d4e.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX acme-auth: 5 | PREFIX acme-rnd: 6 | 7 | acme-auth:cafafd6f-9cc6-4a5d-9cbd-8eeea95d3d4e 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Task ; 11 | interop:hasDataRegistration acme-rnd:f56235d6-4e58-4492-97ec-42d3b5bfa539 ; 12 | interop:accessMode acl:Read, acl:Write ; 13 | interop:scopeOfGrant interop:Inherited ; 14 | interop:inheritsFromGrant 15 | acme-auth:f8064946-cb67-469a-8b28-652fd17090f6 . 16 | 17 | acme-rnd:f56235d6-4e58-4492-97ec-42d3b5bfa539 18 | interop:iriPrefix "https://rnd.acme.example/" . 19 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.acme.example/f8064946-cb67-469a-8b28-652fd17090f6.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX acme-auth: 5 | PREFIX acme-rnd: 6 | 7 | acme-auth:f8064946-cb67-469a-8b28-652fd17090f6 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Project ; 11 | interop:hasDataRegistration acme-rnd:6e3b9ac3-254f-41cc-adbe-3f3293fd0475 ; 12 | interop:accessMode acl:Read, acl:Write ; 13 | interop:scopeOfGrant interop:AllFromRegistry . 14 | 15 | acme-auth:cafafd6f-9cc6-4a5d-9cbd-8eeea95d3d4e 16 | interop:inheritsFromGrant 17 | acme-auth:f8064946-cb67-469a-8b28-652fd17090f6 . 18 | 19 | acme-rnd:6e3b9ac3-254f-41cc-adbe-3f3293fd0475 20 | interop:iriPrefix "https://rnd.acme.example/" . 21 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/04ad5e03-872e-4b63-a81a-21d2d3922411.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice-auth: 3 | 4 | alice-auth:04ad5e03-872e-4b63-a81a-21d2d3922411 5 | a interop:AccessConsent ; 6 | interop:hasAccessNeedGroup ; 7 | interop:grantedBy ; 8 | interop:grantedWith ; 9 | interop:grantee ; 10 | interop:hasDataConsent 11 | alice-auth:d246d4da-79d9-4232-b5ab-94282cd0a63b , 12 | alice-auth:dbad38a1-4f99-4cd3-9107-23743a4059a8 , 13 | alice-auth:8307e5b4-4fd6-4e76-99bf-64df6a7d2894 . 14 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/067f19a8-1c9c-4b60-adde-c22d8e8e3814.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX alice-pro: 6 | 7 | alice-auth:067f19a8-1c9c-4b60-adde-c22d8e8e3814 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Project ; 11 | interop:hasDataRegistration alice-pro:773605f0-b5bf-4d46-878d-5c167eac8b5d ; 12 | interop:accessMode acl:Read ; 13 | interop:scopeOfGrant interop:AllFromRegistry . 14 | 15 | alice-auth:5dd87c6d-c352-41e5-a79c-6ae71bb20287 16 | interop:inheritsFromGrant 17 | alice-auth:067f19a8-1c9c-4b60-adde-c22d8e8e3814 . 18 | 19 | alice-pro:773605f0-b5bf-4d46-878d-5c167eac8b5d 20 | interop:iriPrefix "https://pro.alice.example/" . 21 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/0978d42e-3eb3-4137-9c7f-160759e77860.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX omni-auth: 6 | PREFIX omni-na: 7 | 8 | alice-auth:0978d42e-3eb3-4137-9c7f-160759e77860 9 | a interop:DelegatedDataGrant ; 10 | interop:dataOwner ; 11 | interop:registeredShapeTree solidtrees:Task ; 12 | interop:hasDataRegistration omni-na:6b800a8a-1d53-45b5-81bd-e76f1a87bdd3 ; 13 | interop:accessMode acl:Read ; 14 | interop:scopeOfGrant interop:Inherited ; 15 | interop:delegationOfGrant 16 | omni-auth:73c5f23c-099e-452e-ab29-cbfc8c8a19f8 ; 17 | interop:inheritsFromGrant 18 | alice-auth:ae7564dd-73f7-490a-9a0b-76215ffca9d3 . 19 | 20 | omni-na:6b800a8a-1d53-45b5-81bd-e76f1a87bdd3 21 | interop:iriPrefix "https://na.omni.example/" . 22 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/0d0a1f64-39b1-438f-85f6-37cafee3ce21.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice-auth: 4 | 5 | alice-auth:0d0a1f64-39b1-438f-85f6-37cafee3ce21 6 | a interop:AccessGrantRegistry ; 7 | interop:hasRegistration 8 | alice-auth:3fcef0f6-5807-4f1b-b77a-63d64df25a69 , 9 | alice-auth:6b1b6e39-75e4-44f8-84f3-104b1a8210ad . 10 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/0d12477a-a5ce-4b59-ab48-8be505ccd64c.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice-auth: 3 | 4 | alice-auth:0d12477a-a5ce-4b59-ab48-8be505ccd64c 5 | a interop:AccessConsent ; 6 | interop:hasAccessNeedGroup ; 7 | interop:grantedBy ; 8 | interop:grantedWith ; 9 | interop:grantee ; 10 | interop:hasDataConsent 11 | alice-auth:bee6bc10-2eb9-4b2d-b0c4-84c5d9039e53 . 12 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/12daf870-a343-4684-b828-c67c5c9c997a.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX acme-auth: 6 | PREFIX acme-rnd: 7 | 8 | alice-auth:12daf870-a343-4684-b828-c67c5c9c997a 9 | a interop:DelegatedDataGrant ; 10 | interop:dataOwner ; 11 | interop:registeredShapeTree solidtrees:Project ; 12 | interop:hasDataRegistration acme-rnd:6e3b9ac3-254f-41cc-adbe-3f3293fd0475 ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:scopeOfGrant interop:AllFromRegistry ; 15 | interop:delegationOfGrant 16 | acme-auth:f8064946-cb67-469a-8b28-652fd17090f6 . 17 | 18 | alice-auth:c205e9da-2dc5-4d1f-8be9-a3f90c13eedc 19 | interop:inheritsFromGrant 20 | alice-auth:12daf870-a343-4684-b828-c67c5c9c997a . 21 | 22 | acme-rnd:6e3b9ac3-254f-41cc-adbe-3f3293fd0475 23 | interop:iriPrefix "https://rnd.acme.example/" . 24 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/13e60d32-77a6-4239-864d-cfe2c90807c8.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice-auth: 3 | PREFIX alice-pro: 4 | PREFIX alice-home: 5 | 6 | alice-auth:13e60d32-77a6-4239-864d-cfe2c90807c8 7 | a interop:RegistrySet; 8 | interop:hasAgentRegistry alice-auth:1cf3e08b-ffe2-465a-ac5b-94ce165cb8f0 ; 9 | interop:hasAccessConsentRegistry alice-auth:96feb105-063e-4996-ab74-5e504c6ceae5 ; 10 | interop:hasDataRegistry 11 | alice-pro:71e96aaa-f3dc-4263-97d6-a5b4c83524cb , 12 | alice-home:2d3d97b4-a26d-434e-afa2-e3bc8e8e2b56 . 13 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/170c12ac-7d4f-47fe-b36d-7a9944c429d9.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice-auth: 4 | 5 | alice-auth:170c12ac-7d4f-47fe-b36d-7a9944c429d9 6 | a interop:ApplicationRegistration ; 7 | interop:registeredBy ; 8 | interop:registeredWith ; 9 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 10 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 11 | interop:registeredAgent ; 12 | interop:hasAccessGrant alice-auth:7b513402-d2a2-455f-a6d1-4a54ef90cb78 . 13 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/1cf3e08b-ffe2-465a-ac5b-94ce165cb8f0.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice-auth: 3 | 4 | alice-auth:1cf3e08b-ffe2-465a-ac5b-94ce165cb8f0 5 | a interop:AgentRegistry ; 6 | interop:hasSocialAgentRegistration 7 | alice-auth:b1f69979-dd47-4709-b2ed-a7119f29b135 , 8 | alice-auth:5dc3c14e-7830-475f-b8e3-4748d6c0bccb ; 9 | interop:hasApplicationRegistration 10 | alice-auth:bcf22534-0187-4ae4-b88f-fe0f9fa96659 , 11 | alice-auth:170c12ac-7d4f-47fe-b36d-7a9944c429d9 . 12 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/1d2e21fb-b8be-4ca7-acf7-13bf2340801f.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX acme-auth: 6 | PREFIX acme-rnd: 7 | 8 | alice-auth:1d2e21fb-b8be-4ca7-acf7-13bf2340801f 9 | a interop:DelegatedDataGrant ; 10 | interop:dataOwner ; 11 | interop:registeredShapeTree solidtrees:Task ; 12 | interop:hasDataRegistration acme-rnd:f56235d6-4e58-4492-97ec-42d3b5bfa539 ; 13 | interop:accessMode acl:Read ; 14 | interop:scopeOfGrant interop:Inherited ; 15 | interop:delegationOfGrant 16 | acme-auth:cafafd6f-9cc6-4a5d-9cbd-8eeea95d3d4e ; 17 | interop:inheritsFromGrant 18 | alice-auth:995eda6f-1567-41de-b55a-97260e6b38d9 . 19 | 20 | acme-rnd:f56235d6-4e58-4492-97ec-42d3b5bfa539 21 | interop:iriPrefix "https://rnd.acme.example/" . 22 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/329eb90a-feb9-4c95-a427-2ef23989abe9.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX omni-auth: 6 | 7 | alice-auth:329eb90a-feb9-4c95-a427-2ef23989abe9 8 | a interop:DataConsent ; 9 | interop:grantedBy ; 10 | interop:grantedWith ; 11 | interop:grantee ; 12 | interop:registeredShapeTree solidtrees:Project ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:dataOwner ; 15 | interop:scopeOfConsent interop:SelectedFromRegistry ; 16 | interop:selectedDataGrant 17 | omni-auth:a7f7d66d-13ba-4ba6-8908-3ea9c2703fce . 18 | alice-auth:fe442ef3-5200-4b06-b4bc-fc0b495603a9 19 | interop:inheritsFromConsent 20 | alice-auth:329eb90a-feb9-4c95-a427-2ef23989abe9 . 21 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/3fcef0f6-5807-4f1b-b77a-63d64df25a69.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice-auth: 4 | 5 | alice-auth:3fcef0f6-5807-4f1b-b77a-63d64df25a69 6 | a interop:AccessGrant ; 7 | interop:grantedBy ; 8 | interop:grantedWith ; 9 | interop:grantedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 10 | interop:updatedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 11 | interop:hasAccessGrantSubject <#grant-subject> ; 12 | interop:hasAccessNeedGroup <#need-group-pm> ; 13 | interop:hasDataGrant 14 | alice-auth:cd247a67-0879-4301-abd0-828f63abb252 , 15 | alice-auth:9827ae00-2778-4655-9f22-08bb9daaee26 , 16 | alice-auth:7b2bc4ff-b4b8-47b8-96f6-06695f4c5126 , 17 | alice-auth:54b1a123-23ca-4733-9371-700b52b9c567 , 18 | alice-auth:12daf870-a343-4684-b828-c67c5c9c997a , 19 | alice-auth:7be5a39f-583d-4464-8ad8-a39e24b99fce , 20 | alice-auth:c205e9da-2dc5-4d1f-8be9-a3f90c13eedc , 21 | alice-auth:68dd1212-b0f3-4611-aae2-f9f5ea30ee07 , 22 | alice-auth:92328851-ffb0-427d-847e-f6d9c8417648 , 23 | alice-auth:a2e961fa-a26a-4cd6-b00d-7992b8cfd1b8 . 24 | 25 | <#grant-subject> 26 | a interop:AccessGrantSubject ; 27 | interop:accessByAgent ; 28 | interop:accessByApplication . 29 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/43f405db-334d-4f61-8de7-0f98eae9c281.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice-auth: 3 | 4 | alice-auth:43f405db-334d-4f61-8de7-0f98eae9c281 5 | a interop:AccessConsent ; 6 | interop:hasAccessNeedGroup ; 7 | interop:grantedBy ; 8 | interop:grantedWith ; 9 | interop:grantee ; 10 | interop:hasDataConsent 11 | alice-auth:9ac499ce-f1a2-44c2-a5fb-01e3eb9a5bc9 . 12 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/54b1a123-23ca-4733-9371-700b52b9c567.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX alice-home: 6 | 7 | alice-auth:54b1a123-23ca-4733-9371-700b52b9c567 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Task ; 11 | interop:hasDataRegistration alice-home:92f43be4-d12c-4ca3-9bd6-c18e83167b2f ; 12 | interop:accessMode acl:Read, acl:Write ; 13 | interop:scopeOfGrant interop:Inherited ; 14 | interop:inheritsFromGrant 15 | alice-auth:7b2bc4ff-b4b8-47b8-96f6-06695f4c5126 . 16 | 17 | alice-home:92f43be4-d12c-4ca3-9bd6-c18e83167b2f 18 | interop:iriPrefix "https://home.alice.example/" . 19 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/5dc3c14e-7830-475f-b8e3-4748d6c0bccb.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice-auth: 4 | PREFIX acme-auth: 5 | 6 | alice-auth:5dc3c14e-7830-475f-b8e3-4748d6c0bccb 7 | a interop:SocialAgentRegistration ; 8 | interop:registeredBy ; 9 | interop:registeredWith ; 10 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 11 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 12 | interop:registeredAgent ; 13 | interop:reciprocalRegistration acme-auth:2437895a-3a68-4048-8965-889b7e93936c . 14 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/5dd87c6d-c352-41e5-a79c-6ae71bb20287.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX alice-pro: 6 | 7 | alice-auth:5dd87c6d-c352-41e5-a79c-6ae71bb20287 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Task ; 11 | interop:hasDataRegistration alice-pro:4d594c61-7cff-484a-a1d2-1f353ee4e1e7 ; 12 | interop:accessMode acl:Read ; 13 | interop:scopeOfGrant interop:Inherited ; 14 | interop:inheritsFromGrant 15 | alice-auth:067f19a8-1c9c-4b60-adde-c22d8e8e3814 . 16 | 17 | alice-pro:4d594c61-7cff-484a-a1d2-1f353ee4e1e7 18 | interop:iriPrefix "https://pro.alice.example/" . 19 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/68dd1212-b0f3-4611-aae2-f9f5ea30ee07.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX acme-auth: 6 | PREFIX acme-finance: 7 | 8 | alice-auth:68dd1212-b0f3-4611-aae2-f9f5ea30ee07 9 | a interop:DelegatedDataGrant ; 10 | interop:dataOwner ; 11 | interop:registeredShapeTree solidtrees:Task ; 12 | interop:hasDataRegistration acme-finance:4f3fbf70-49df-47ce-a573-dc54366b01ad ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:scopeOfGrant interop:Inherited ; 15 | interop:delegationOfGrant 16 | acme-auth:6e069259-7836-4495-ba35-fc7eca97e5aa ; 17 | interop:inheritsFromGrant 18 | alice-auth:7be5a39f-583d-4464-8ad8-a39e24b99fce . 19 | 20 | acme-finance:4f3fbf70-49df-47ce-a573-dc54366b01ad 21 | interop:iriPrefix "https://finance.acme.example/" . 22 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/6a9feb57-252b-43b2-8470-5a938888b2fa.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | 6 | alice-auth:6a9feb57-252b-43b2-8470-5a938888b2fa 7 | a interop:DataConsent ; 8 | interop:grantedBy ; 9 | interop:grantedWith ; 10 | interop:grantee ; 11 | interop:registeredShapeTree solidtrees:Task ; 12 | interop:accessMode acl:Read, acl:Write ; 13 | interop:dataOwner ; 14 | interop:scopeOfConsent interop:Inherited ; 15 | interop:inheritsFromConsent 16 | alice-auth:e2765d6c-848a-4fc0-9092-556903730263 . 17 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/6b1b6e39-75e4-44f8-84f3-104b1a8210ad.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice-auth: 4 | 5 | alice-auth:6b1b6e39-75e4-44f8-84f3-104b1a8210ad 6 | a interop:AccessGrant ; 7 | interop:grantedBy ; 8 | interop:grantedWith ; 9 | interop:grantedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 10 | interop:updatedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 11 | interop:hasAccessGrantSubject <#grant-subject> ; 12 | interop:hasDataGrant 13 | alice-auth:995eda6f-1567-41de-b55a-97260e6b38d9 , 14 | alice-auth:d8f282b3-4a0e-4093-90d1-169cf7a090e8 , 15 | alice-auth:1d2e21fb-b8be-4ca7-acf7-13bf2340801f , 16 | alice-auth:cb7b6b70-2c62-4ec6-88b8-b20ffb42d0b2 , 17 | alice-auth:ae7564dd-73f7-490a-9a0b-76215ffca9d3 , 18 | alice-auth:0978d42e-3eb3-4137-9c7f-160759e77860 , 19 | alice-auth:067f19a8-1c9c-4b60-adde-c22d8e8e3814 , 20 | alice-auth:5dd87c6d-c352-41e5-a79c-6ae71bb20287 , 21 | alice-auth:d738e710-b06e-4ab6-9159-ee0d7d603402 , 22 | alice-auth:a723a19f-2275-41bf-a556-e6ae4fe880a8 . 23 | 24 | <#grant-subject> 25 | a interop:AccessGrantSubject ; 26 | interop:accessByAgent ; 27 | interop:accessByApplication . 28 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/75a2ef88-d4d4-4f05-af1e-c2a63af08cab.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice-auth: 3 | 4 | alice-auth:75a2ef88-d4d4-4f05-af1e-c2a63af08cab 5 | a interop:AccessConsent ; 6 | interop:hasAccessNeedGroup ; 7 | interop:grantedBy ; 8 | interop:grantedWith ; 9 | interop:grantee ; 10 | interop:hasDataConsent 11 | alice-auth:a691ee69-97d8-45c0-bb03-8e887b2db806 , 12 | alice-auth:ecdf7b5e-5123-4a93-87bc-86ef6de389ff . 13 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/76849244-0e74-4d8a-8d07-48eae753faa9.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice-auth: 4 | 5 | alice-auth:76849244-0e74-4d8a-8d07-48eae753faa9 6 | a interop:SocialAgentRegistration ; 7 | interop:registeredBy ; 8 | interop:registeredWith ; 9 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 10 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 11 | interop:registeredAgent . 12 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/7b065498-fa43-4abd-a08b-467d49f3cac8.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX omni-auth: 4 | PREFIX alice-auth: 5 | 6 | alice-auth:7b065498-fa43-4abd-a08b-467d49f3cac8 7 | a interop:AccessGrant ; 8 | interop:grantedBy ; 9 | interop:grantedWith ; 10 | interop:grantedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 11 | interop:updatedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 12 | interop:providedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 13 | interop:fromAgent ; 14 | interop:viaAgent ; 15 | interop:hasAccessGrantSubject 16 | omni-auth:11558b5c-a827-4355-bdff-6c200f9377e3\#grant-subject ; 17 | interop:hasDataGrant 18 | omni-auth:a7f7d66d-13ba-4ba6-8908-3ea9c2703fce , 19 | omni-auth:73c5f23c-099e-452e-ab29-cbfc8c8a19f8 . 20 | 21 | omni-auth:11558b5c-a827-4355-bdff-6c200f9377e3\#grant-subject 22 | a interop:AccessGrantSubject ; 23 | interop:accessByAgent . 24 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/7b2bc4ff-b4b8-47b8-96f6-06695f4c5126.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX alice-home: 6 | 7 | alice-auth:7b2bc4ff-b4b8-47b8-96f6-06695f4c5126 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Project ; 11 | interop:hasDataRegistration alice-home:f6ccd3a4-45ea-4f98-8a36-98eac92a6720 ; 12 | interop:accessMode acl:Read, acl:Write ; 13 | interop:scopeOfGrant interop:AllFromRegistry . 14 | 15 | alice-auth:54b1a123-23ca-4733-9371-700b52b9c567 16 | interop:inheritsFromGrant 17 | alice-auth:7b2bc4ff-b4b8-47b8-96f6-06695f4c5126 . 18 | 19 | alice-home:f6ccd3a4-45ea-4f98-8a36-98eac92a6720 20 | interop:iriPrefix "https://home.alice.example/" . 21 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/7b513402-d2a2-455f-a6d1-4a54ef90cb78.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX acl: 3 | PREFIX interop: 4 | PREFIX solidtrees: 5 | PREFIX alice-auth: 6 | 7 | alice-auth:7b513402-d2a2-455f-a6d1-4a54ef90cb78 8 | a interop:AccessGrant ; 9 | interop:grantedBy ; 10 | interop:grantedWith ; 11 | interop:grantedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 12 | interop:updatedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 13 | interop:hasAccessGrantSubject 14 | alice-auth:6b1b6e39-75e4-44f8-84f3-104b1a8210ad\#grant-subject ; 15 | interop:hasDataGrant 16 | alice-auth:995eda6f-1567-41de-b55a-97260e6b38d9 , 17 | alice-auth:d8f282b3-4a0e-4093-90d1-169cf7a090e8 , 18 | alice-auth:1d2e21fb-b8be-4ca7-acf7-13bf2340801f , 19 | alice-auth:cb7b6b70-2c62-4ec6-88b8-b20ffb42d0b2 , 20 | alice-auth:ae7564dd-73f7-490a-9a0b-76215ffca9d3 , 21 | alice-auth:0978d42e-3eb3-4137-9c7f-160759e77860 . 22 | 23 | alice-auth:6b1b6e39-75e4-44f8-84f3-104b1a8210ad\#grant-subject 24 | a interop:AccessGrantSubject ; 25 | interop:accessByAgent ; 26 | interop:accessByApplication . 27 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/7be5a39f-583d-4464-8ad8-a39e24b99fce.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX acme-auth: 6 | PREFIX acme-finance: 7 | 8 | alice-auth:7be5a39f-583d-4464-8ad8-a39e24b99fce 9 | a interop:DelegatedDataGrant ; 10 | interop:dataOwner ; 11 | interop:registeredShapeTree solidtrees:Project ; 12 | interop:hasDataRegistration acme-finance:882eea27-b968-44e7-b8f5-87b234089057 ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:scopeOfGrant interop:AllFromRegistry ; 15 | interop:delegationOfGrant 16 | acme-auth:80ef3361-730b-4f7c-93ba-4a4415de7264 . 17 | 18 | alice-auth:68dd1212-b0f3-4611-aae2-f9f5ea30ee07 19 | interop:inheritsFromGrant 20 | alice-auth:7be5a39f-583d-4464-8ad8-a39e24b99fce . 21 | 22 | acme-finance:882eea27-b968-44e7-b8f5-87b234089057 23 | interop:iriPrefix "https://finance.acme.example/" . 24 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/8307e5b4-4fd6-4e76-99bf-64df6a7d2894.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX alice-pro: 6 | 7 | alice-auth:8307e5b4-4fd6-4e76-99bf-64df6a7d2894 8 | a interop:DataConsent ; 9 | interop:grantedBy ; 10 | interop:grantedWith ; 11 | interop:grantee ; 12 | interop:registeredShapeTree solidtrees:Project ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:scopeOfConsent interop:SelectedFromRegistry ; 15 | interop:dataOwner ; 16 | interop:hasDataRegistration alice-pro:773605f0-b5bf-4d46-878d-5c167eac8b5d ; 17 | interop:hasDataInstance 18 | alice-pro:ccbd77ae-f769-4e07-b41f-5136501e13e7\#project . 19 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/92328851-ffb0-427d-847e-f6d9c8417648.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX omni-auth: 6 | PREFIX omni-na: 7 | 8 | alice-auth:92328851-ffb0-427d-847e-f6d9c8417648 9 | a interop:DelegatedDataGrant ; 10 | interop:dataOwner ; 11 | interop:registeredShapeTree solidtrees:Project ; 12 | interop:hasDataRegistration omni-na:823e7976-13cc-4641-be0f-a4a78c2d7140 ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:scopeOfGrant interop:AllFromRegistry ; 15 | interop:delegationOfGrant 16 | omni-auth:a7f7d66d-13ba-4ba6-8908-3ea9c2703fce . 17 | 18 | alice-auth:a2e961fa-a26a-4cd6-b00d-7992b8cfd1b8 19 | interop:inheritsFromGrant 20 | alice-auth:92328851-ffb0-427d-847e-f6d9c8417648 . 21 | 22 | omni-na:823e7976-13cc-4641-be0f-a4a78c2d7140 23 | interop:iriPrefix "https://na.omni.example/" . 24 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/96feb105-063e-4996-ab74-5e504c6ceae5.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice-auth: 3 | 4 | alice-auth:96feb105-063e-4996-ab74-5e504c6ceae5 5 | a interop:AccessConsentRegistry ; 6 | interop:hasAccessConsent 7 | alice-auth:eac2c39c-c8b3-4880-8b9f-a3e12f7f6372 , 8 | alice-auth:75a2ef88-d4d4-4f05-af1e-c2a63af08cab . 9 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/9827ae00-2778-4655-9f22-08bb9daaee26.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX alice-pro: 6 | 7 | alice-auth:9827ae00-2778-4655-9f22-08bb9daaee26 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Task ; 11 | interop:hasDataRegistration alice-pro:4d594c61-7cff-484a-a1d2-1f353ee4e1e7 ; 12 | interop:accessMode acl:Read, acl:Write ; 13 | interop:scopeOfGrant interop:Inherited ; 14 | interop:inheritsFromGrant 15 | alice-auth:cd247a67-0879-4301-abd0-828f63abb252 . 16 | 17 | alice-pro:4d594c61-7cff-484a-a1d2-1f353ee4e1e7 18 | interop:iriPrefix "https://pro.alice.example/" . 19 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/995eda6f-1567-41de-b55a-97260e6b38d9.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX acme-auth: 6 | PREFIX acme-rnd: 7 | 8 | alice-auth:995eda6f-1567-41de-b55a-97260e6b38d9 9 | a interop:DelegatedDataGrant ; 10 | interop:dataOwner ; 11 | interop:registeredShapeTree solidtrees:Project ; 12 | interop:hasDataRegistration acme-rnd:6e3b9ac3-254f-41cc-adbe-3f3293fd0475 ; 13 | interop:accessMode acl:Read ; 14 | interop:scopeOfGrant interop:AllFromRegistry ; 15 | interop:delegationOfGrant 16 | acme-auth:f8064946-cb67-469a-8b28-652fd17090f6 . 17 | 18 | alice-auth:1d2e21fb-b8be-4ca7-acf7-13bf2340801f 19 | interop:inheritsFromGrant 20 | alice-auth:995eda6f-1567-41de-b55a-97260e6b38d9 . 21 | 22 | acme-rnd:6e3b9ac3-254f-41cc-adbe-3f3293fd0475 23 | interop:iriPrefix "https://rnd.acme.example/" . 24 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/9ac499ce-f1a2-44c2-a5fb-01e3eb9a5bc9.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | 6 | alice-auth:9ac499ce-f1a2-44c2-a5fb-01e3eb9a5bc9 7 | a interop:DataConsent ; 8 | interop:grantedBy ; 9 | interop:grantedWith ; 10 | interop:grantee ; 11 | interop:registeredShapeTree solidtrees:Project ; 12 | interop:accessMode acl:Read, acl:Write ; 13 | interop:scopeOfConsent interop:All . 14 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/a2e961fa-a26a-4cd6-b00d-7992b8cfd1b8.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX omni-auth: 6 | PREFIX omni-na: 7 | 8 | alice-auth:a2e961fa-a26a-4cd6-b00d-7992b8cfd1b8 9 | a interop:DelegatedDataGrant ; 10 | interop:dataOwner ; 11 | interop:registeredShapeTree solidtrees:Task ; 12 | interop:hasDataRegistration omni-na:6b800a8a-1d53-45b5-81bd-e76f1a87bdd3 ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:scopeOfGrant interop:Inherited ; 15 | interop:delegationOfGrant 16 | omni-auth:73c5f23c-099e-452e-ab29-cbfc8c8a19f8 ; 17 | interop:inheritsFromGrant 18 | alice-auth:92328851-ffb0-427d-847e-f6d9c8417648 . 19 | 20 | omni-na:6b800a8a-1d53-45b5-81bd-e76f1a87bdd3 21 | interop:iriPrefix "https://na.omni.example/" . 22 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/a691ee69-97d8-45c0-bb03-8e887b2db806.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | 6 | alice-auth:a691ee69-97d8-45c0-bb03-8e887b2db806 7 | a interop:DataConsent ; 8 | interop:grantedBy ; 9 | interop:grantedWith ; 10 | interop:grantee ; 11 | interop:registeredShapeTree solidtrees:Project ; 12 | interop:dataOwner ; 13 | interop:accessMode acl:Read ; 14 | interop:scopeOfConsent interop:All . 15 | alice-auth:ecdf7b5e-5123-4a93-87bc-86ef6de389ff 16 | interop:inheritsFromConsent 17 | alice-auth:a691ee69-97d8-45c0-bb03-8e887b2db806 . 18 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/a723a19f-2275-41bf-a556-e6ae4fe880a8.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX alice-home: 6 | 7 | alice-auth:a723a19f-2275-41bf-a556-e6ae4fe880a8 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Task ; 11 | interop:hasDataRegistration alice-home:92f43be4-d12c-4ca3-9bd6-c18e83167b2f ; 12 | interop:accessMode acl:Read ; 13 | interop:scopeOfGrant interop:Inherited ; 14 | interop:inheritsFromGrant 15 | alice-auth:7b2bc4ff-b4b8-47b8-96f6-06695f4c5126 . 16 | 17 | alice-home:92f43be4-d12c-4ca3-9bd6-c18e83167b2f 18 | interop:iriPrefix "https://home.alice.example/" . 19 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/ae7564dd-73f7-490a-9a0b-76215ffca9d3.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX omni-auth: 6 | PREFIX omni-na: 7 | 8 | alice-auth:ae7564dd-73f7-490a-9a0b-76215ffca9d3 9 | a interop:DelegatedDataGrant ; 10 | interop:dataOwner ; 11 | interop:registeredShapeTree solidtrees:Project ; 12 | interop:hasDataRegistration omni-na:823e7976-13cc-4641-be0f-a4a78c2d7140 ; 13 | interop:accessMode acl:Read ; 14 | interop:scopeOfGrant interop:AllFromRegistry ; 15 | interop:delegationOfGrant 16 | omni-auth:a7f7d66d-13ba-4ba6-8908-3ea9c2703fce . 17 | 18 | alice-auth:0978d42e-3eb3-4137-9c7f-160759e77860 19 | interop:inheritsFromGrant 20 | alice-auth:ae7564dd-73f7-490a-9a0b-76215ffca9d3 . 21 | 22 | omni-na:823e7976-13cc-4641-be0f-a4a78c2d7140 23 | interop:iriPrefix "https://na.omni.example/" . 24 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/b1f69979-dd47-4709-b2ed-a7119f29b135.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice-auth: 4 | PREFIX omni-auth: 5 | 6 | alice-auth:b1f69979-dd47-4709-b2ed-a7119f29b135 7 | a interop:SocialAgentRegistration ; 8 | interop:registeredBy ; 9 | interop:registeredWith ; 10 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 11 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 12 | interop:registeredAgent ; 13 | interop:reciprocalRegistration omni-auth:80785fd6-e9de-4020-9430-5197fde0b731 . 14 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/b6c24b2a-3d4c-4518-8c1f-d739a51cca0d.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice-auth: 4 | PREFIX acme-auth: 5 | 6 | alice-auth:b6c24b2a-3d4c-4518-8c1f-d739a51cca0d 7 | a interop:AccessGrant ; 8 | interop:grantedBy ; 9 | interop:grantedWith ; 10 | interop:grantedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 11 | interop:updatedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 12 | interop:providedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 13 | interop:fromAgent ; 14 | interop:viaAgent ; 15 | interop:hasAccessGrantSubject 16 | acme-auth:7b6915b4-c135-4025-899c-ce53875bffe2\#grant-subject ; 17 | interop:hasDataGrant 18 | acme-auth:f8064946-cb67-469a-8b28-652fd17090f6 , 19 | acme-auth:cafafd6f-9cc6-4a5d-9cbd-8eeea95d3d4e , 20 | acme-auth:80ef3361-730b-4f7c-93ba-4a4415de7264 , 21 | acme-auth:6e069259-7836-4495-ba35-fc7eca97e5aa . 22 | 23 | acme-auth:7b6915b4-c135-4025-899c-ce53875bffe2\#grant-subject 24 | a interop:AccessGrantSubject ; 25 | interop:accessByAgent . 26 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/bcf22534-0187-4ae4-b88f-fe0f9fa96659.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice-auth: 4 | 5 | alice-auth:bcf22534-0187-4ae4-b88f-fe0f9fa96659 6 | a interop:ApplicationRegistration ; 7 | interop:registeredBy ; 8 | interop:registeredWith ; 9 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 10 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 11 | interop:registeredAgent ; 12 | interop:hasAccessGrant alice-auth:dd442d1b-bcc7-40e2-bbb9-4abfa7309fbe . 13 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/bee6bc10-2eb9-4b2d-b0c4-84c5d9039e53.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX alice-home: 6 | 7 | alice-auth:bee6bc10-2eb9-4b2d-b0c4-84c5d9039e53 8 | a interop:DataConsent ; 9 | interop:grantedBy ; 10 | interop:grantedWith ; 11 | interop:grantee ; 12 | interop:dataOwner ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:scopeOfConsent interop:SelectedFromRegistry ; 15 | interop:hasDataRegistration alice-home:92f43be4-d12c-4ca3-9bd6-c18e83167b2f ; 16 | interop:hasDataInstance 17 | alice-home:46fea403-8605-473b-a9a1-a86f50fb1633\#task , 18 | alice-home:72eb1958-5ad1-4268-96cb-739a71592cc0\#task . 19 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/c205e9da-2dc5-4d1f-8be9-a3f90c13eedc.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX acme-auth: 6 | PREFIX acme-rnd: 7 | 8 | alice-auth:c205e9da-2dc5-4d1f-8be9-a3f90c13eedc 9 | a interop:DelegatedDataGrant ; 10 | interop:dataOwner ; 11 | interop:registeredShapeTree solidtrees:Task ; 12 | interop:hasDataRegistration acme-rnd:f56235d6-4e58-4492-97ec-42d3b5bfa539 ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:scopeOfGrant interop:Inherited ; 15 | interop:delegationOfGrant 16 | acme-auth:cafafd6f-9cc6-4a5d-9cbd-8eeea95d3d4e ; 17 | interop:inheritsFromGrant 18 | alice-auth:12daf870-a343-4684-b828-c67c5c9c997a . 19 | 20 | acme-rnd:f56235d6-4e58-4492-97ec-42d3b5bfa539 21 | interop:iriPrefix "https://rnd.acme.example/" . 22 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/cb7b6b70-2c62-4ec6-88b8-b20ffb42d0b2.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX acme-auth: 6 | PREFIX acme-finance: 7 | 8 | alice-auth:cb7b6b70-2c62-4ec6-88b8-b20ffb42d0b2 9 | a interop:DelegatedDataGrant ; 10 | interop:dataOwner ; 11 | interop:registeredShapeTree solidtrees:Task ; 12 | interop:hasDataRegistration acme-finance:4f3fbf70-49df-47ce-a573-dc54366b01ad ; 13 | interop:accessMode acl:Read ; 14 | interop:scopeOfGrant interop:Inherited ; 15 | interop:delegationOfGrant 16 | acme-auth:6e069259-7836-4495-ba35-fc7eca97e5aa ; 17 | interop:inheritsFromGrant 18 | alice-auth:d8f282b3-4a0e-4093-90d1-169cf7a090e8 . 19 | 20 | acme-finance:4f3fbf70-49df-47ce-a573-dc54366b01ad 21 | interop:iriPrefix "https://finance.acme.example/" . 22 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/cd247a67-0879-4301-abd0-828f63abb252.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX alice-pro: 6 | 7 | alice-auth:cd247a67-0879-4301-abd0-828f63abb252 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:grantedBy ; 11 | interop:registeredShapeTree solidtrees:Project ; 12 | interop:hasDataRegistration alice-pro:773605f0-b5bf-4d46-878d-5c167eac8b5d ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:scopeOfGrant interop:SelectedFromRegistry ; 15 | interop:hasDataInstance 16 | alice-pro:7a130c38-668a-4775-821a-08b38f2306fb\#project . 17 | 18 | alice-auth:9827ae00-2778-4655-9f22-08bb9daaee26 19 | interop:inheritsFromGrant 20 | alice-auth:cd247a67-0879-4301-abd0-828f63abb252 . 21 | 22 | alice-pro:773605f0-b5bf-4d46-878d-5c167eac8b5d 23 | interop:iriPrefix "https://pro.alice.example/" . 24 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/d1c1ad91-406a-4d14-99cf-db770785440c.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice-auth: 4 | 5 | alice-auth:d1c1ad91-406a-4d14-99cf-db770785440c 6 | a interop:ApplicationRegistration ; 7 | interop:registeredBy ; 8 | interop:registeredWith ; 9 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 10 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 11 | interop:registeredAgent ; 12 | interop:hasAccessGrant alice-auth:04ad5e03-872e-4b63-a81a-21d2d3922411 . 13 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/d246d4da-79d9-4232-b5ab-94282cd0a63b.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX alice-home: 6 | 7 | alice-auth:d246d4da-79d9-4232-b5ab-94282cd0a63b 8 | a interop:DataConsent ; 9 | interop:grantedBy ; 10 | interop:grantedWith ; 11 | interop:grantee ; 12 | interop:registeredShapeTree solidtrees:Project ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:scopeOfConsent interop:AllFromRegistry ; 15 | interop:dataOwner ; 16 | interop:hasDataRegistration alice-home:f6ccd3a4-45ea-4f98-8a36-98eac92a6720 . 17 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/d738e710-b06e-4ab6-9159-ee0d7d603402.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX alice-home: 6 | 7 | alice-auth:d738e710-b06e-4ab6-9159-ee0d7d603402 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Project ; 11 | interop:hasDataRegistration alice-home:f6ccd3a4-45ea-4f98-8a36-98eac92a6720 ; 12 | interop:accessMode acl:Read ; 13 | interop:scopeOfGrant interop:AllFromRegistry . 14 | 15 | alice-auth:a723a19f-2275-41bf-a556-e6ae4fe880a8 16 | interop:inheritsFromGrant 17 | alice-auth:d738e710-b06e-4ab6-9159-ee0d7d603402 . 18 | 19 | alice-home:f6ccd3a4-45ea-4f98-8a36-98eac92a6720 20 | interop:iriPrefix "https://home.alice.example/" . 21 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/d8f282b3-4a0e-4093-90d1-169cf7a090e8.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX acme-auth: 6 | PREFIX acme-finance: 7 | 8 | alice-auth:d8f282b3-4a0e-4093-90d1-169cf7a090e8 9 | a interop:DelegatedDataGrant ; 10 | interop:dataOwner ; 11 | interop:registeredShapeTree solidtrees:Project ; 12 | interop:hasDataRegistration acme-finance:882eea27-b968-44e7-b8f5-87b234089057 ; 13 | interop:accessMode acl:Read ; 14 | interop:scopeOfGrant interop:AllFromRegistry ; 15 | interop:delegationOfGrant 16 | acme-auth:80ef3361-730b-4f7c-93ba-4a4415de7264 . 17 | 18 | alice-auth:cb7b6b70-2c62-4ec6-88b8-b20ffb42d0b2 19 | interop:inheritsFromGrant 20 | alice-auth:d8f282b3-4a0e-4093-90d1-169cf7a090e8 . 21 | 22 | acme-finance:882eea27-b968-44e7-b8f5-87b234089057 23 | interop:iriPrefix "https://finance.acme.example/" . 24 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/dbad38a1-4f99-4cd3-9107-23743a4059a8.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | PREFIX acme-rnd: 6 | 7 | alice-auth:dbad38a1-4f99-4cd3-9107-23743a4059a8 8 | a interop:DataConsent ; 9 | interop:grantedBy ; 10 | interop:grantedWith ; 11 | interop:grantee ; 12 | interop:registeredShapeTree solidtrees:Project ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:scopeOfConsent interop:AllFromRegistry ; 15 | interop:dataOwner ; 16 | interop:hasDataRegistration acme-rnd:6e3b9ac3-254f-41cc-adbe-3f3293fd0475 . 17 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/e2765d6c-848a-4fc0-9092-556903730263.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | 6 | alice-auth:e2765d6c-848a-4fc0-9092-556903730263 7 | a interop:DataConsent ; 8 | interop:grantedBy ; 9 | interop:grantedWith ; 10 | interop:grantee ; 11 | interop:registeredShapeTree solidtrees:Project ; 12 | interop:dataOwner ; 13 | interop:accessMode acl:Read, acl:Write ; 14 | interop:scopeOfConsent interop:AllFromAgent . 15 | alice-auth:6a9feb57-252b-43b2-8470-5a938888b2fa 16 | interop:inheritsFromConsent 17 | alice-auth:e2765d6c-848a-4fc0-9092-556903730263 . 18 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/eac2c39c-c8b3-4880-8b9f-a3e12f7f6372.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice-auth: 3 | 4 | alice-auth:eac2c39c-c8b3-4880-8b9f-a3e12f7f6372 5 | a interop:AccessConsent ; 6 | interop:hasAccessNeedGroup ; 7 | interop:grantedBy ; 8 | interop:grantedWith ; 9 | interop:grantee ; 10 | interop:hasDataConsent 11 | alice-auth:e2765d6c-848a-4fc0-9092-556903730263 , 12 | alice-auth:6a9feb57-252b-43b2-8470-5a938888b2fa , 13 | alice-auth:329eb90a-feb9-4c95-a427-2ef23989abe9 , 14 | alice-auth:fe442ef3-5200-4b06-b4bc-fc0b495603a9 . 15 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/ecdf7b5e-5123-4a93-87bc-86ef6de389ff.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | 6 | alice-auth:ecdf7b5e-5123-4a93-87bc-86ef6de389ff 7 | a interop:DataConsent ; 8 | interop:grantedBy ; 9 | interop:grantedWith ; 10 | interop:grantee ; 11 | interop:registeredShapeTree solidtrees:Task ; 12 | interop:accessMode acl:Read ; 13 | interop:scopeOfConsent interop:Inherited ; 14 | interop:inheritsFromConsent 15 | alice-auth:a691ee69-97d8-45c0-bb03-8e887b2db806 . 16 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.alice.example/fe442ef3-5200-4b06-b4bc-fc0b495603a9.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX alice-auth: 5 | 6 | alice-auth:fe442ef3-5200-4b06-b4bc-fc0b495603a9 7 | a interop:DataConsent ; 8 | interop:grantedBy ; 9 | interop:grantedWith ; 10 | interop:grantee ; 11 | interop:registeredShapeTree solidtrees:Task ; 12 | interop:accessMode acl:Read, acl:Write ; 13 | interop:dataOwner ; 14 | interop:scopeOfConsent interop:Inherited ; 15 | interop:inheritsFromConsent 16 | alice-auth:329eb90a-feb9-4c95-a427-2ef23989abe9 . 17 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.omni.example/11558b5c-a827-4355-bdff-6c200f9377e3.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX omni-auth: 4 | 5 | omni-auth:11558b5c-a827-4355-bdff-6c200f9377e3 6 | a interop:AccessGrant ; 7 | interop:grantedBy ; 8 | interop:grantedWith ; 9 | interop:grantedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 10 | interop:updatedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 11 | interop:providedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 12 | interop:fromAgent ; 13 | interop:viaAgent ; 14 | interop:hasAccessGrantSubject 15 | omni-auth:11558b5c-a827-4355-bdff-6c200f9377e3\#grant-subject ; 16 | interop:hasDataGrant 17 | omni-auth:a7f7d66d-13ba-4ba6-8908-3ea9c2703fce , 18 | omni-auth:73c5f23c-099e-452e-ab29-cbfc8c8a19f8 . 19 | 20 | omni-auth:11558b5c-a827-4355-bdff-6c200f9377e3\#grant-subject 21 | a interop:AccessGrantSubject ; 22 | interop:accessByAgent . 23 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.omni.example/73c5f23c-099e-452e-ab29-cbfc8c8a19f8.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX omni-auth: 5 | PREFIX omni-na: 6 | 7 | omni-auth:73c5f23c-099e-452e-ab29-cbfc8c8a19f8 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Task ; 11 | interop:hasDataRegistration omni-na:6b800a8a-1d53-45b5-81bd-e76f1a87bdd3 ; 12 | interop:accessMode acl:Read, acl:Write ; 13 | interop:scopeOfGrant interop:Inherited ; 14 | interop:inheritsFromGrant 15 | omni-auth:a7f7d66d-13ba-4ba6-8908-3ea9c2703fce . 16 | 17 | omni-na:6b800a8a-1d53-45b5-81bd-e76f1a87bdd3 18 | interop:iriPrefix "https://na.omni.example/" . 19 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.omni.example/80785fd6-e9de-4020-9430-5197fde0b731.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice-auth: 4 | PREFIX omni-auth: 5 | 6 | omni-auth:80785fd6-e9de-4020-9430-5197fde0b731 7 | a interop:SocialAgentRegistration ; 8 | interop:registeredBy ; 9 | interop:registeredWith ; 10 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 11 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 12 | interop:registeredAgent ; 13 | interop:reciprocalRegistration alice-auth:b1f69979-dd47-4709-b2ed-a7119f29b135 . 14 | -------------------------------------------------------------------------------- /proposals/primer/snippets/auth.omni.example/a7f7d66d-13ba-4ba6-8908-3ea9c2703fce.ttl: -------------------------------------------------------------------------------- 1 | PREFIX acl: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | PREFIX omni-auth: 5 | PREFIX omni-na: 6 | 7 | omni-auth:a7f7d66d-13ba-4ba6-8908-3ea9c2703fce 8 | a interop:DataGrant ; 9 | interop:dataOwner ; 10 | interop:registeredShapeTree solidtrees:Project ; 11 | interop:hasDataRegistration omni-na:823e7976-13cc-4641-be0f-a4a78c2d7140 ; 12 | interop:accessMode acl:Read, acl:Write ; 13 | interop:scopeOfGrant interop:AllFromRegistry . 14 | 15 | omni-auth:73c5f23c-099e-452e-ab29-cbfc8c8a19f8 16 | interop:inheritsFromGrant 17 | omni-auth:a7f7d66d-13ba-4ba6-8908-3ea9c2703fce . 18 | 19 | omni-na:823e7976-13cc-4641-be0f-a4a78c2d7140 20 | interop:iriPrefix "https://na.omni.example/" . 21 | -------------------------------------------------------------------------------- /proposals/primer/snippets/bob.example/CarePlan-shapeTreeLocator.ttl: -------------------------------------------------------------------------------- 1 | PREFIX st: 2 | PREFIX rdfs: 3 | PREFIX ex: 4 | PREFIX fhirshapes: 5 | PREFIX fhirshapeTree: 6 | BASE 7 | 8 | 9 | a st:ShapeTreeLocator ; 10 | st:location [ 11 | st:hasRootShapeTree fhirshapetree:CarePlanContainer ; 12 | st:hasRootShapeTreeInstance <..> ; 13 | 14 | st:hasShapeTree fhirshapetree:CarePlan ; 15 | st:node ; 16 | st:shape fhirshapes:CarePlan ; 17 | ] . 18 | -------------------------------------------------------------------------------- /proposals/primer/snippets/bob.example/CarePlan-shapeTrees.ttl: -------------------------------------------------------------------------------- 1 | PREFIX shapetrees: 2 | PREFIX fhirshapes: 3 | PREFIX fhirshapeTree: 4 | 5 | fhirshapeTree:CarePlanContainer 6 | a shapetrees:ShapeTree ; 7 | shapetrees:expectsType shapetrees:ShapeTreeContainer ; 8 | shapetrees:contains fhirshapeTree:CarePlan . 9 | 10 | fhirshapeTree:CarePlan 11 | a shapetrees:ShapeTree ; 12 | shapetrees:expectsType shapetrees:ShapeTreeResource ; 13 | shapetrees:validatedBy fhirshapes:CarePlan ; 14 | shapetrees:references [ 15 | shapetrees:hasShapeTree fhirshapeTree:Location ; 16 | shapetrees:shapePathLocator "@~fhir:link" 17 | ] . 18 | 19 | fhirshapeTree:Location 20 | a shapetrees:ShapeTree ; 21 | shapetrees:expectsType shapetrees:ShapeTreeResource ; 22 | shapetrees:validatedBy fhirshapes:Location . 23 | -------------------------------------------------------------------------------- /proposals/primer/snippets/bob.example/Location-shapeTreeLocator.ttl: -------------------------------------------------------------------------------- 1 | PREFIX st: 2 | PREFIX rdfs: 3 | PREFIX ex: 4 | PREFIX fhirshapes: 5 | PREFIX fhirshapeTree: 6 | BASE 7 | 8 | 9 | a st:ShapeTreeLocator ; 10 | st:location [ 11 | st:hasRootShapeTree fhirshapetree:LocationContainer ; 12 | st:hasRootShapeTreeInstance <..> ; 13 | 14 | st:hasShapeTree fhirshapetree:Location ; 15 | st:node ; 16 | st:shape fhirshapes:Location ; 17 | ] . 18 | -------------------------------------------------------------------------------- /proposals/primer/snippets/bob.example/fhir-CarePlan-DataRegistration.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | BASE 5 | 6 | 7 | a interop:DataRegistration ; 8 | interop:registeredBy ; 9 | interop:registeredWith ; 10 | interop:registeredAt "2019-03-14T13:42:32.000Z"^^xsd:dateTime ; 11 | interop:registeredShapeTree fhirshapeTree:CarePlan ; 12 | ldp:contains 13 | , 14 | . 15 | -------------------------------------------------------------------------------- /proposals/primer/snippets/bob.example/fhir-Location-DataRegistration.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX solidtrees: 4 | BASE 5 | 6 | 7 | a interop:DataRegistration ; 8 | interop:registeredBy ; 9 | interop:registeredWith ; 10 | interop:registeredAt "2019-03-14T13:42:32.000Z"^^xsd:dateTime ; 11 | interop:registeredShapeTree fhirshapeTree:Location ; 12 | ldp:contains 13 | . 14 | -------------------------------------------------------------------------------- /proposals/primer/snippets/finance.acme.example/4f3fbf70-49df-47ce-a573-dc54366b01ad.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX ldp: 3 | PREFIX interop: 4 | PREFIX solidtrees: 5 | PREFIX acme-finance: 6 | 7 | acme-finance:4f3fbf70-49df-47ce-a573-dc54366b01ad 8 | a interop:DataRegistration ; 9 | interop:registeredBy ; 10 | interop:registeredWith ; 11 | interop:registeredAt "2020-08-23T21:12:45.000Z"^^xsd:dateTime ; 12 | interop:registeredShapeTree solidtrees:Task ; 13 | interop:iriPrefix "https://finance.acme.example/" ; 14 | ldp:contains 15 | acme-finance:ea7a7621-b2fd-41b1-8992-c85d624f6bcc\#task , 16 | acme-finance:ab6fd32b-ce6f-4c1e-baf3-0e42f1aae7e5\#task , 17 | acme-finance:e44e3ddc-a383-4a98-ad59-a3153eea5aaf\#task . 18 | -------------------------------------------------------------------------------- /proposals/primer/snippets/finance.acme.example/882eea27-b968-44e7-b8f5-87b234089057.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX ldp: 3 | PREFIX interop: 4 | PREFIX solidtrees: 5 | PREFIX acme-finance: 6 | 7 | acme-finance:882eea27-b968-44e7-b8f5-87b234089057 8 | a interop:DataRegistration ; 9 | interop:registeredBy ; 10 | interop:registeredWith ; 11 | interop:registeredAt "2020-08-23T21:12:27.000Z"^^xsd:dateTime ; 12 | interop:registeredShapeTree solidtrees:Project ; 13 | interop:iriPrefix "https://finance.acme.example/" ; 14 | ldp:contains 15 | acme-finance:e7a5a287-9481-417e-91bf-40ea738fa737\#project , 16 | acme-finance:c2883a4d-cece-43c2-9568-5f0aa1ac64be\#project . 17 | -------------------------------------------------------------------------------- /proposals/primer/snippets/finance.acme.example/ab6fd32b-ce6f-4c1e-baf3-0e42f1aae7e5.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX acme-finance: 4 | 5 | acme-finance:ab6fd32b-ce6f-4c1e-baf3-0e42f1aae7e5\#task 6 | a pm:Task ; 7 | rdfs:label "T-Af-2" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/finance.acme.example/c2883a4d-cece-43c2-9568-5f0aa1ac64be.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX acme-finance: 4 | 5 | acme-finance:c2883a4d-cece-43c2-9568-5f0aa1ac64be\#project 6 | a pm:Project ; 7 | rdfs:label "P-Af-2" ; 8 | pm:hasTask 9 | acme-finance:e44e3ddc-a383-4a98-ad59-a3153eea5aaf\#task . 10 | -------------------------------------------------------------------------------- /proposals/primer/snippets/finance.acme.example/e44e3ddc-a383-4a98-ad59-a3153eea5aaf.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX acme-finance: 4 | 5 | acme-finance:e44e3ddc-a383-4a98-ad59-a3153eea5aaf\#task 6 | a pm:Task ; 7 | rdfs:label "T-Af-3" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/finance.acme.example/e7a5a287-9481-417e-91bf-40ea738fa737.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX acme-finance: 4 | 5 | acme-finance:e7a5a287-9481-417e-91bf-40ea738fa737\#project 6 | a pm:Project ; 7 | rdfs:label "P-Af-1" ; 8 | pm:hasTask 9 | acme-finance:ea7a7621-b2fd-41b1-8992-c85d624f6bcc\#task , 10 | acme-finance:ab6fd32b-ce6f-4c1e-baf3-0e42f1aae7e5\#task . 11 | -------------------------------------------------------------------------------- /proposals/primer/snippets/finance.acme.example/ea7a7621-b2fd-41b1-8992-c85d624f6bcc.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX acme-finance: 4 | 5 | acme-finance:ea7a7621-b2fd-41b1-8992-c85d624f6bcc\#task 6 | a pm:Task ; 7 | rdfs:label "T-Af-1" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/home.alice.example/0fd3daa3-dd6b-4484-826b-9ebaef099241.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX alice-home: 4 | 5 | alice-home:0fd3daa3-dd6b-4484-826b-9ebaef099241\#project 6 | a pm:Project ; 7 | rdfs:label "P-Ah-1" ; 8 | pm:hasTask 9 | alice-home:f950bae5-247c-49b2-a537-b12cda8d5758\#task , 10 | alice-home:46fea403-8605-473b-a9a1-a86f50fb1633\#task . 11 | -------------------------------------------------------------------------------- /proposals/primer/snippets/home.alice.example/2d3d97b4-a26d-434e-afa2-e3bc8e8e2b56.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice-home: 3 | 4 | alice-home:2d3d97b4-a26d-434e-afa2-e3bc8e8e2b56 5 | a interop:DataRegistry ; 6 | interop:hasRegistration 7 | alice-home:f6ccd3a4-45ea-4f98-8a36-98eac92a6720 , 8 | alice-home:92f43be4-d12c-4ca3-9bd6-c18e83167b2f . 9 | -------------------------------------------------------------------------------- /proposals/primer/snippets/home.alice.example/46fea403-8605-473b-a9a1-a86f50fb1633.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX alice-home: 4 | 5 | alice-home:46fea403-8605-473b-a9a1-a86f50fb1633\#task 6 | a pm:Task ; 7 | rdfs:label "T-Ah-2" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/home.alice.example/72eb1958-5ad1-4268-96cb-739a71592cc0.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX alice-home: 4 | 5 | alice-home:72eb1958-5ad1-4268-96cb-739a71592cc0\#task 6 | a pm:Task ; 7 | rdfs:label "T-Ah-3" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/home.alice.example/92f43be4-d12c-4ca3-9bd6-c18e83167b2f.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX ldp: 3 | PREFIX interop: 4 | PREFIX solidtrees: 5 | PREFIX alice-home: 6 | 7 | alice-home:92f43be4-d12c-4ca3-9bd6-c18e83167b2f 8 | a interop:DataRegistration ; 9 | interop:registeredBy ; 10 | interop:registeredWith ; 11 | interop:registeredAt "2020-10-17T11:42:36.000Z"^^xsd:dateTime ; 12 | interop:registeredShapeTree solidtrees:Task ; 13 | interop:iriPrefix "https://home.alice.example/" ; 14 | ldp:contains 15 | alice-home:f950bae5-247c-49b2-a537-b12cda8d5758\#task , 16 | alice-home:46fea403-8605-473b-a9a1-a86f50fb1633\#task , 17 | alice-home:72eb1958-5ad1-4268-96cb-739a71592cc0\#task . 18 | -------------------------------------------------------------------------------- /proposals/primer/snippets/home.alice.example/f6ccd3a4-45ea-4f98-8a36-98eac92a6720.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX ldp: 3 | PREFIX interop: 4 | PREFIX solidtrees: 5 | PREFIX alice-home: 6 | 7 | alice-home:f6ccd3a4-45ea-4f98-8a36-98eac92a6720 8 | a interop:DataRegistration ; 9 | interop:registeredBy ; 10 | interop:registeredWith ; 11 | interop:registeredAt "2020-10-17T11:42:35.000Z"^^xsd:dateTime ; 12 | interop:registeredShapeTree solidtrees:Project ; 13 | interop:iriPrefix "https://home.alice.example/" ; 14 | ldp:contains 15 | alice-home:0fd3daa3-dd6b-4484-826b-9ebaef099241\#project . 16 | -------------------------------------------------------------------------------- /proposals/primer/snippets/home.alice.example/f950bae5-247c-49b2-a537-b12cda8d5758.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX alice-home: 4 | 5 | alice-home:f950bae5-247c-49b2-a537-b12cda8d5758\#task 6 | a pm:Task ; 7 | rdfs:label "T-Ah-1" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/na.omni.example/30da889a-d65f-461d-ae52-50e19c77ed79.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX omni-na: 4 | 5 | omni-na:30da889a-d65f-461d-ae52-50e19c77ed79\#project 6 | a pm:Project ; 7 | rdfs:label "P-On-1" ; 8 | pm:hasTask 9 | omni-na:79a1cc9e-e498-4a66-a2f8-9957a64e9488\#task , 10 | omni-na:d2748fbd-565a-4a52-8709-b07a39f1fd4a\#task . 11 | -------------------------------------------------------------------------------- /proposals/primer/snippets/na.omni.example/6b800a8a-1d53-45b5-81bd-e76f1a87bdd3.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX ldp: 3 | PREFIX interop: 4 | PREFIX solidtrees: 5 | PREFIX omni-na: 6 | 7 | omni-na:6b800a8a-1d53-45b5-81bd-e76f1a87bdd3 8 | a interop:DataRegistration ; 9 | interop:registeredBy ; 10 | interop:registeredWith ; 11 | interop:registeredAt "2020-08-23T21:12:45.000Z"^^xsd:dateTime ; 12 | interop:registeredShapeTree solidtrees:Task ; 13 | interop:iriPrefix "https://na.omni.example/" ; 14 | ldp:contains 15 | omni-na:79a1cc9e-e498-4a66-a2f8-9957a64e9488\#task , 16 | omni-na:d2748fbd-565a-4a52-8709-b07a39f1fd4a\#task . 17 | -------------------------------------------------------------------------------- /proposals/primer/snippets/na.omni.example/79a1cc9e-e498-4a66-a2f8-9957a64e9488.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX omni-na: 4 | 5 | omni-na:79a1cc9e-e498-4a66-a2f8-9957a64e9488\#task 6 | a pm:Task ; 7 | rdfs:label "T-On-1" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/na.omni.example/823e7976-13cc-4641-be0f-a4a78c2d7140.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX ldp: 3 | PREFIX interop: 4 | PREFIX solidtrees: 5 | PREFIX omni-na: 6 | 7 | omni-na:823e7976-13cc-4641-be0f-a4a78c2d7140 8 | a interop:DataRegistration ; 9 | interop:registeredBy ; 10 | interop:registeredWith ; 11 | interop:registeredAt "2020-08-23T21:12:45.000Z"^^xsd:dateTime ; 12 | interop:registeredShapeTree solidtrees:Project ; 13 | interop:iriPrefix "https://na.omni.example/" ; 14 | ldp:contains 15 | omni-na:30da889a-d65f-461d-ae52-50e19c77ed79\#project . 16 | -------------------------------------------------------------------------------- /proposals/primer/snippets/na.omni.example/d2748fbd-565a-4a52-8709-b07a39f1fd4a.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX omni-na: 4 | 5 | omni-na:d2748fbd-565a-4a52-8709-b07a39f1fd4a\#task 6 | a pm:Task ; 7 | rdfs:label "T-On-2" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/omni.example/omni.example.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX omni: 3 | 4 | omni:\#corp 5 | a interop:Agent . 6 | -------------------------------------------------------------------------------- /proposals/primer/snippets/performchart.example/44430955-4844-466b-9e1b-04893d0a0d50.ttl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/solid/data-interoperability-panel/b1aa5b6d33d362cab931e0fa7c3674b51f45950b/proposals/primer/snippets/performchart.example/44430955-4844-466b-9e1b-04893d0a0d50.ttl -------------------------------------------------------------------------------- /proposals/primer/snippets/performchart.example/performchart.example.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX acl: 3 | PREFIX solidtrees: 4 | PREFIX performchart: 5 | 6 | performchart:\#app 7 | a interop:Application ; 8 | interop:applicationName "PerformChart" ; 9 | interop:applicationDescription 10 | "Creates performance statistics and visualisation for the projects you work on" ; 11 | interop:hasAccessNeedGroup <#access> . 12 | 13 | <#access> 14 | interop:hasAccessNeed <#project> ; 15 | interop:hasAccessNeedOverride <#task> ; 16 | interop:hasAccessDecoratorIndex performchart:44430955-4844-466b-9e1b-04893d0a0d50 . 17 | 18 | <#project> 19 | a interop:AccessNeed ; 20 | interop:registeredShapeTree solidtrees:Project ; 21 | interop:recursivelyAuthorize true ; 22 | interop:accessNecessity interop:AccessRequired ; 23 | interop:accessMode acl:Read . 24 | 25 | <#task> # Override to stop recursion 26 | a interop:AccessNeed ; 27 | interop:registeredShapeTree solidtrees:Task ; 28 | interop:recursivelyAuthorize false ; 29 | interop:accessNecessity interop:AccessRequired ; 30 | interop:accessMode acl:Read . 31 | -------------------------------------------------------------------------------- /proposals/primer/snippets/prefixes.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX rdf: 3 | PREFIX rdfs: 4 | PREFIX dcterms: 5 | PREFIX ldp: 6 | PREFIX solid: 7 | PREFIX acl: 8 | PREFIX interop: 9 | PREFIX shapetrees: 10 | 11 | # Fictional 12 | PREFIX solidshapes: 13 | PREFIX solidtrees: 14 | PREFIX pm: 15 | 16 | # ACME 17 | PREFIX acme: 18 | PREFIX acme-rnd: 19 | PREFIX acme-finance: 20 | 21 | # Alice 22 | PREFIX alice: 23 | PREFIX alice-auth: 24 | PREFIX alice-pro: 25 | PREFIX alice-home: 26 | 27 | # Bob 28 | PREFIX bob: 29 | -------------------------------------------------------------------------------- /proposals/primer/snippets/pro.alice.example/106a82aa-6911-4a7e-a49b-383cbaa9da66.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX alice-pro: 4 | 5 | alice-pro:106a82aa-6911-4a7e-a49b-383cbaa9da66\#task 6 | a pm:Task ; 7 | rdfs:label "T-Ap-2" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/pro.alice.example/210cf13a-4082-487f-ab2b-ad54edb234a0.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX alice-pro: 4 | 5 | alice-pro:210cf13a-4082-487f-ab2b-ad54edb234a0\#task 6 | a pm:Task ; 7 | rdfs:label "T-Ap-4" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/pro.alice.example/4d594c61-7cff-484a-a1d2-1f353ee4e1e7.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX ldp: 3 | PREFIX interop: 4 | PREFIX solidtrees: 5 | PREFIX alice-pro: 6 | 7 | alice-pro:4d594c61-7cff-484a-a1d2-1f353ee4e1e7 8 | a interop:DataRegistration ; 9 | interop:registeredBy ; 10 | interop:registeredWith ; 11 | interop:registeredAt "2020-10-17T11:42:36.000Z"^^xsd:dateTime ; 12 | interop:registeredShapeTree solidtrees:Task ; 13 | interop:iriPrefix "https://pro.alice.example/" ; 14 | ldp:contains 15 | alice-pro:576520a6-af5a-4cf9-8b40-8b1512b59c73\#task , 16 | alice-pro:106a82aa-6911-4a7e-a49b-383cbaa9da66\#task , 17 | alice-pro:4d713903-d114-4890-a87c-eaed50c33e5e\#task , 18 | alice-pro:210cf13a-4082-487f-ab2b-ad54edb234a0\#task . 19 | -------------------------------------------------------------------------------- /proposals/primer/snippets/pro.alice.example/4d713903-d114-4890-a87c-eaed50c33e5e.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX alice-pro: 4 | 5 | alice-pro:4d713903-d114-4890-a87c-eaed50c33e5e\#task 6 | a pm:Task ; 7 | rdfs:label "T-Ap-3" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/pro.alice.example/576520a6-af5a-4cf9-8b40-8b1512b59c73.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX alice-pro: 4 | 5 | alice-pro:576520a6-af5a-4cf9-8b40-8b1512b59c73\#task 6 | a pm:Task ; 7 | rdfs:label "T-Ap-1" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/pro.alice.example/71e96aaa-f3dc-4263-97d6-a5b4c83524cb.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice-pro: 3 | 4 | alice-pro:71e96aaa-f3dc-4263-97d6-a5b4c83524cb 5 | a interop:DataRegistry ; 6 | interop:hasRegistration 7 | alice-pro:773605f0-b5bf-4d46-878d-5c167eac8b5d , 8 | alice-pro:4d594c61-7cff-484a-a1d2-1f353ee4e1e7 . 9 | -------------------------------------------------------------------------------- /proposals/primer/snippets/pro.alice.example/773605f0-b5bf-4d46-878d-5c167eac8b5d.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX ldp: 3 | PREFIX interop: 4 | PREFIX solidtrees: 5 | PREFIX alice-pro: 6 | 7 | alice-pro:773605f0-b5bf-4d46-878d-5c167eac8b5d 8 | a interop:DataRegistration ; 9 | interop:registeredShapeTree solidtrees:Project ; 10 | interop:registeredAt "2020-10-17T11:42:35.000Z"^^xsd:dateTime ; 11 | interop:registeredBy ; 12 | interop:registeredWith ; 13 | interop:iriPrefix "https://pro.alice.example/" ; 14 | ldp:contains 15 | alice-pro:ccbd77ae-f769-4e07-b41f-5136501e13e7\#project , 16 | alice-pro:7a130c38-668a-4775-821a-08b38f2306fb\#project . 17 | -------------------------------------------------------------------------------- /proposals/primer/snippets/pro.alice.example/7a130c38-668a-4775-821a-08b38f2306fb.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX alice-pro: 4 | 5 | alice-pro:7a130c38-668a-4775-821a-08b38f2306fb\#project 6 | a pm:Project ; 7 | rdfs:label "P-Ap-2" ; 8 | pm:hasTask 9 | alice-pro:4d713903-d114-4890-a87c-eaed50c33e5e\#task . 10 | -------------------------------------------------------------------------------- /proposals/primer/snippets/pro.alice.example/ccbd77ae-f769-4e07-b41f-5136501e13e7.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX alice-pro: 4 | 5 | alice-pro:ccbd77ae-f769-4e07-b41f-5136501e13e7\#project 6 | a pm:Project ; 7 | rdfs:label "P-Ap-1" ; 8 | pm:hasTask 9 | alice-pro:576520a6-af5a-4cf9-8b40-8b1512b59c73\#task , 10 | alice-pro:106a82aa-6911-4a7e-a49b-383cbaa9da66\#task . 11 | -------------------------------------------------------------------------------- /proposals/primer/snippets/projectron.example/projectron.example.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX acl: 3 | PREFIX solidtrees: 4 | PREFIX projectron: 5 | PREFIX acme: 6 | 7 | projectron:\#id 8 | a interop:Application ; 9 | interop:applicationName "Projectron" ; 10 | interop:applicationDescription "Manage projects with ease" ; 11 | interop:applicationAuthor acme:\#corp ; 12 | interop:applicationThumbnail projectron:thumb.svg ; 13 | interop:hasAccessNeedGroup projectron:\#need-group-pm . 14 | projectron:\#need-group-pm 15 | interop:accessNecessity interop:accessRequired ; 16 | interop:accessScenario interop:PersonalAccess ; 17 | interop:authenticatesAs interop:Pilot ; 18 | interop:hasAccessDecoratorIndex projectron:index ; 19 | interop:hasAccessNeed projectron:\#need-project . 20 | projectron:\#need-project 21 | a interop:AccessNeed ; 22 | interop:registeredShapeTree solidtrees:Project ; 23 | interop:accessNecessity interop:accessRequired ; 24 | interop:accessMode acl:read, acl:write . 25 | projectron:\#need-issue 26 | a interop:AccessNeed ; 27 | interop:registeredShapeTree solidtrees:Issue ; 28 | interop:accessNecessity interop:accessRequired ; 29 | interop:accessMode acl:read, acl:write ; 30 | interop:inheritsFromNeed projectron:\#need-project . 31 | -------------------------------------------------------------------------------- /proposals/primer/snippets/rnd.acme.example/02c8217e-9933-4681-9fe3-f9d207a77a91.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX acme-rnd: 4 | 5 | acme-rnd:02c8217e-9933-4681-9fe3-f9d207a77a91\#project 6 | a pm:Project ; 7 | rdfs:label "P-Ar-1" ; 8 | pm:hasTask 9 | acme-rnd:a51a89f5-0d4d-4213-9a9e-ea2dbadc56ea\#task , 10 | acme-rnd:b51fb352-a098-4681-81aa-b655b9434932\#task . 11 | -------------------------------------------------------------------------------- /proposals/primer/snippets/rnd.acme.example/18e75c28-3649-4c24-9e58-530df3813ca3.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX acme-rnd: 4 | 5 | acme-rnd:18e75c28-3649-4c24-9e58-530df3813ca3\#project 6 | a pm:Project ; 7 | rdfs:label "P-Ar-2" ; 8 | pm:hasTask 9 | acme-rnd:d1a7b2ff-a021-40f1-8c16-ab56407a0740\#task , 10 | acme-rnd:58814556-9955-482f-9d1f-0a89677f9881\#task . 11 | -------------------------------------------------------------------------------- /proposals/primer/snippets/rnd.acme.example/58814556-9955-482f-9d1f-0a89677f9881.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX acme-rnd: 4 | 5 | acme-rnd:58814556-9955-482f-9d1f-0a89677f9881\#task 6 | a pm:Task ; 7 | rdfs:label "T-Ar-4" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/rnd.acme.example/6e3b9ac3-254f-41cc-adbe-3f3293fd0475.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX ldp: 3 | PREFIX interop: 4 | PREFIX solidtrees: 5 | PREFIX acme-rnd: 6 | 7 | acme-rnd:6e3b9ac3-254f-41cc-adbe-3f3293fd0475 8 | a interop:DataRegistration ; 9 | interop:registeredBy ; 10 | interop:registeredWith ; 11 | interop:registeredAt "2020-08-23T21:12:27.000Z"^^xsd:dateTime ; 12 | interop:registeredShapeTree solidtrees:Project ; 13 | interop:iriPrefix "https://rnd.acme.example/" ; 14 | ldp:contains 15 | acme-rnd:02c8217e-9933-4681-9fe3-f9d207a77a91\#project , 16 | acme-rnd:18e75c28-3649-4c24-9e58-530df3813ca3\#project . 17 | -------------------------------------------------------------------------------- /proposals/primer/snippets/rnd.acme.example/a51a89f5-0d4d-4213-9a9e-ea2dbadc56ea.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX acme-rnd: 4 | 5 | acme-rnd:a51a89f5-0d4d-4213-9a9e-ea2dbadc56ea\#task 6 | a pm:Task ; 7 | rdfs:label "T-Ar-1" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/rnd.acme.example/b51fb352-a098-4681-81aa-b655b9434932.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX acme-rnd: 4 | 5 | acme-rnd:b51fb352-a098-4681-81aa-b655b9434932\#task 6 | a pm:Task ; 7 | rdfs:label "T-Ar-2" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/rnd.acme.example/d1a7b2ff-a021-40f1-8c16-ab56407a0740.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdfs: 2 | PREFIX pm: 3 | PREFIX acme-rnd: 4 | 5 | acme-rnd:d1a7b2ff-a021-40f1-8c16-ab56407a0740\#task 6 | a pm:Task ; 7 | rdfs:label "T-Ar-3" . 8 | -------------------------------------------------------------------------------- /proposals/primer/snippets/rnd.acme.example/f56235d6-4e58-4492-97ec-42d3b5bfa539.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX ldp: 3 | PREFIX interop: 4 | PREFIX solidtrees: 5 | PREFIX acme-rnd: 6 | 7 | acme-rnd:f56235d6-4e58-4492-97ec-42d3b5bfa539 8 | a interop:DataRegistration ; 9 | interop:registeredBy ; 10 | interop:registeredWith ; 11 | interop:registeredAt "2020-08-23T21:12:45.000Z"^^xsd:dateTime ; 12 | interop:registeredShapeTree solidtrees:Task ; 13 | interop:iriPrefix "https://rnd.acme.example/" ; 14 | ldp:contains 15 | acme-rnd:a51a89f5-0d4d-4213-9a9e-ea2dbadc56ea\#task , 16 | acme-rnd:b51fb352-a098-4681-81aa-b655b9434932\#task , 17 | acme-rnd:d1a7b2ff-a021-40f1-8c16-ab56407a0740\#task , 18 | acme-rnd:58814556-9955-482f-9d1f-0a89677f9881\#task . 19 | -------------------------------------------------------------------------------- /proposals/primer/snippets/solidshapes.example/shapes/Project.shex: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX rdfs: 3 | PREFIX solidshapes: 4 | PREFIX pm: 5 | 6 | solidshapes:Project { 7 | a [ pm:Project ] ; 8 | rdfs:label xsd:string ; 9 | pm:hasTask IRI * 10 | } 11 | -------------------------------------------------------------------------------- /proposals/primer/snippets/solidshapes.example/shapes/Task.shex: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX rdfs: 3 | PREFIX solidshapes: 4 | PREFIX pm: 5 | 6 | solidshapes:Task { 7 | a [ pm:Task ] ; 8 | rdfs:label xsd:string 9 | } 10 | -------------------------------------------------------------------------------- /proposals/primer/snippets/solidshapes.example/trees/Project.ttl: -------------------------------------------------------------------------------- 1 | PREFIX uuid: 2 | PREFIX shapetrees: 3 | PREFIX solidshapes: 4 | PREFIX solidtrees: 5 | 6 | solidtrees:Project 7 | a shapetrees:ShapeTree ; 8 | shapetrees:expectsType shapetrees:Resource ; 9 | shapetrees:shape solidshapes:Project ; 10 | shapetrees:references uuid:54b5e4f6-c6b5-4c9a-b885-cbf69d08370d . 11 | 12 | uuid:54b5e4f6-c6b5-4c9a-b885-cbf69d08370d 13 | shapetrees:hasShapeTree solidtrees:Task ; 14 | shapetrees:viaShapePath 15 | "@~" . 16 | -------------------------------------------------------------------------------- /proposals/primer/snippets/solidshapes.example/trees/Task.ttl: -------------------------------------------------------------------------------- 1 | PREFIX shapetrees: 2 | PREFIX solidshapes: 3 | PREFIX solidtrees: 4 | 5 | solidtrees:Task 6 | a shapetrees:ShapeTree ; 7 | shapetrees:expectsType shapetrees:Resource ; 8 | shapetrees:shape solidshapes:Task . 9 | -------------------------------------------------------------------------------- /proposals/specification/agent.bs: -------------------------------------------------------------------------------- 1 | Agents {#agents} 2 | ===================== 3 | 4 | Agents are the primary actors in an interoperable Solid [=ecosystem=]. 5 | 6 | An [=Agent=] is denoted by an [=identity=]. Dereferencing that [=identity=] 7 | leads to [=identity profile document=], where a graph of useful information 8 | about the [=Agent=] can be found. This graph is used by the [=Agent=] 9 | as a starting point to look up their own data, as well as data that has 10 | been shared with them. 11 | 12 | The [=Agent=] graph in an [=identity profile document=] is designed to be 13 | publicly accessible, but many of the things the [=Agent=] links to are 14 | designed to be private, or accessible only by others they have authorized. 15 | 16 | An [=Agent=] can dereference the [=identity=] of another [=Agent=] to obtain 17 | the public information they need to interact with them. 18 | 19 | [=Social Agents=] and [=Applications=] are specific types of [=Agents=] 20 | denoted by this specification. 21 | 22 |
23 | 24 | Issue(210): 25 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/017d6a07.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX bob: 8 | PREFIX projectron: 9 | PREFIX alice-projectron: 10 | PREFIX bob-alice: 11 | PREFIX bob-work-data: 12 | 13 | alice-projectron:017d6a07 14 | a interop:DelegatedDataGrant ; 15 | interop:dataOwner bob:\#id ; 16 | interop:grantee projectron:\#id ; 17 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 18 | interop:hasDataRegistration bob-work-data:45e092cf\/ ; 19 | interop:satisfiesAccessNeed projectron:\#9462959c ; 20 | interop:accessMode acl:Read, acl:Create ; 21 | interop:creatorAccessMode acl:Update, acl:Delete ; 22 | interop:scopeOfGrant interop:Inherited ; 23 | interop:inheritsFromGrant alice-projectron:fe818190 ; 24 | interop:delegationOfGrant 25 | bob-alice:d5b5760c . 26 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/0945218b.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX projectron: 9 | PREFIX alice-projectron: 10 | PREFIX alice-work-data: 11 | 12 | alice-projectron:0945218b 13 | a interop:DataGrant ; 14 | interop:dataOwner alice:\#id ; 15 | interop:grantedBy alice:\#id ; 16 | interop:grantee projectron:\#id ; 17 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 18 | interop:hasDataRegistration alice-work-data:df4ab227\/ ; 19 | interop:satisfiesAccessNeed projectron:\#9462959c ; 20 | interop:accessMode acl:Read, acl:Create ; 21 | interop:creatorAccessMode acl:Update, acl:Delete ; 22 | interop:scopeOfGrant interop:Inherited ; 23 | interop:inheritsFromGrant 24 | alice-projectron:40d038ea . 25 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/0e36ba8f.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX bob: 8 | PREFIX performchart: 9 | PREFIX alice-authorization: 10 | PREFIX alice-agents: 11 | PREFIX alice-work-data: 12 | PREFIX pm-shapetrees: 13 | 14 | alice-authorization:0e36ba8f 15 | a interop:DataAuthorization ; 16 | interop:grantedBy alice:\#id ; 17 | interop:dataOwner bob:\#id ; 18 | interop:grantee performchart:\#id ; 19 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 20 | interop:accessMode acl:Read ; 21 | interop:scopeOfAuthorization interop:AllFromAgent ; 22 | interop:satisfiesAccessNeed performchart:\#ac54ff1e . 23 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/0e4cb692.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX projectron: 8 | PREFIX alice-authorization: 9 | PREFIX alice-agents: 10 | PREFIX pm-shapetrees: 11 | 12 | alice-authorization:0e4cb692 13 | a interop:DataAuthorization ; 14 | interop:grantedBy alice:\#id ; 15 | interop:dataOwner alice:\#id ; 16 | interop:grantee projectron:\#id ; 17 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 18 | interop:accessMode acl:Read, acl:Create ; 19 | interop:creatorAccessMode acl:Update, acl:Delete ; 20 | interop:scopeOfAuthorization interop:Inherited ; 21 | interop:satisfiesAccessNeed projectron:\#9462959c ; 22 | interop:inheritsFromAuthorization 23 | alice-authorization:54a1b6a0 . 24 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/1912239c.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX jose: 8 | PREFIX projectron: 9 | PREFIX alice-projectron: 10 | PREFIX jose-alice: 11 | PREFIX jose-work-data: 12 | 13 | alice-projectron:1912239c 14 | a interop:DelegatedDataGrant ; 15 | interop:dataOwner jose:\#id ; 16 | interop:grantee projectron:\#id ; 17 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 18 | interop:hasDataRegistration jose-work-data:9a1bdd8f\/ ; 19 | interop:satisfiesAccessNeed projectron:\#9462959c ; 20 | interop:accessMode acl:Read, acl:Create ; 21 | interop:creatorAccessMode acl:Update, acl:Delete ; 22 | interop:scopeOfGrant interop:Inherited ; 23 | interop:inheritsFromGrant alice-projectron:90b0f5ad ; 24 | interop:delegationOfGrant 25 | jose-alice:10d14db3 . 26 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/244dfe3e.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX performchart: 9 | PREFIX alice-performchart: 10 | PREFIX alice-work-data: 11 | 12 | alice-performchart:244dfe3e 13 | a interop:DataGrant ; 14 | interop:dataOwner alice:\#id ; 15 | interop:grantedBy alice:\#id ; 16 | interop:grantee performchart:\#id ; 17 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 18 | interop:hasDataRegistration alice-work-data:df4ab227\/ ; 19 | interop:satisfiesAccessNeed performchart:\#f92e605c ; 20 | interop:accessMode acl:Read ; 21 | interop:scopeOfGrant interop:AllFromRegistry . 22 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/27eae14b.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX projectron: 8 | PREFIX alice-projectron: 9 | 10 | alice-projectron:27eae14b 11 | a interop:AccessGrant ; 12 | interop:grantedBy alice:\#id ; 13 | interop:grantedAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 14 | interop:grantee projectron:\#id ; 15 | interop:hasAccessNeedGroup projectron:\#d8219b1f ; 16 | interop:hasDataGrant 17 | alice-projectron:40d038ea , 18 | alice-projectron:0945218b , 19 | alice-projectron:fe818190 , 20 | alice-projectron:017d6a07 . 21 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/2ae35a57.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX performchart: 8 | PREFIX alice-performchart: 9 | 10 | alice-performchart:2ae35a57 11 | a interop:AccessGrant ; 12 | interop:grantedBy alice:\#id ; 13 | interop:grantedAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 14 | interop:grantee performchart:\#id ; 15 | interop:hasAccessNeedGroup performchart:\#f8f014ab ; 16 | interop:hasDataGrant 17 | alice-performchart:a8a224e6 , 18 | alice-performchart:244dfe3e , 19 | alice-performchart:efc426c9 , 20 | alice-performchart:391f526b , 21 | alice-performchart:cc8f2f69 , 22 | alice-performchart:6da10e5b . 23 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/2d1568fb.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX sarah: 8 | PREFIX jarvis: 9 | PREFIX alice-authorization: 10 | PREFIX alice-agents: 11 | 12 | alice-authorization:2d1568fb 13 | a interop:DataAuthorization ; 14 | interop:grantedBy alice:\#id ; 15 | interop:dataOwner alice:\#id ; 16 | interop:grantee sarah:\#id ; 17 | interop:satisfiesAccessNeed jarvis:\#fde6805e ; 18 | interop:accessMode acl:Read, acl:Update, acl:Control ; 19 | interop:registeredShapeTree interop:SocialAgentTree ; 20 | interop:hasDataResource alice: ; 21 | interop:scopeOfGrant interop:SelectedInstances . 22 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/2f2f3628.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX interop: 5 | PREFIX alice: 6 | PREFIX jarvis: 7 | PREFIX projectron: 8 | PREFIX authz-agent: 9 | PREFIX alice-agents: 10 | 11 | alice-agents:2f2f3628\/ 12 | a interop:ApplicationRegistration ; 13 | interop:registeredBy alice:\#id ; 14 | interop:registeredWith jarvis:\#id ; 15 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 16 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 17 | interop:registeredAgent projectron:\#id ; 18 | interop:hasAccessGrant alice-agents:2f2f3628\/27eae14b . 19 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/391f526b.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX bob: 9 | PREFIX bob-alice: 10 | PREFIX performchart: 11 | PREFIX alice-performchart: 12 | PREFIX bob-work-data: 13 | 14 | alice-performchart:391f526b 15 | a interop:DelegatedDataGrant ; 16 | interop:dataOwner bob:\#id ; 17 | interop:grantee performchart:\#id ; 18 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 19 | interop:hasDataRegistration bob-work-data:45e092cf\/ ; 20 | interop:satisfiesAccessNeed performchart:\#f92e605c ; 21 | interop:accessMode acl:Read ; 22 | interop:scopeOfGrant interop:Inherited ; 23 | interop:inheritsFromGrant 24 | alice-performchart:efc426c9 ; 25 | interop:delegationOfGrant 26 | bob-alice:d5b5760c . 27 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/3e94161f.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jose: 8 | PREFIX performchart: 9 | PREFIX alice-authorization: 10 | PREFIX alice-agents: 11 | PREFIX alice-work-data: 12 | PREFIX pm-shapetrees: 13 | 14 | alice-authorization:3e94161f 15 | a interop:DataAuthorization ; 16 | interop:grantedBy alice:\#id ; 17 | interop:dataOwner jose:\#id ; 18 | interop:grantee performchart:\#id ; 19 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 20 | interop:accessMode acl:Read ; 21 | interop:scopeOfAuthorization interop:AllFromAgent ; 22 | interop:satisfiesAccessNeed performchart:\#ac54ff1e . 23 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/40d038ea.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX projectron: 9 | PREFIX alice-projectron: 10 | PREFIX alice-work-data: 11 | 12 | alice-projectron:40d038ea 13 | a interop:DataGrant ; 14 | interop:dataOwner alice:\#id ; 15 | interop:grantedBy alice:\#id ; 16 | interop:grantee projectron:\#id ; 17 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 18 | interop:hasDataRegistration alice-work-data:8501f084\/ ; 19 | interop:satisfiesAccessNeed projectron:\#ac54ff1e ; 20 | interop:accessMode acl:Read, acl:Create ; 21 | interop:creatorAccessMode acl:Update, acl:Delete ; 22 | interop:scopeOfGrant interop:AllFromRegistry . 23 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/4460dce3.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX projectron: 9 | PREFIX bob: 10 | PREFIX alice-authorization: 11 | 12 | alice-authorization:4460dce3 13 | a interop:AccessAuthorization ; 14 | interop:grantedBy alice:\#id ; 15 | interop:grantedWith jarvis:\#id ; 16 | interop:grantedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 17 | interop:grantee bob:\#id ; 18 | interop:hasAccessNeedGroup projectron:\#d8219b1f ; 19 | interop:hasDataAuthorization 20 | alice-authorization:f800b10c , 21 | alice-authorization:ec6057d9 . 22 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/47e07897.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX alice-authorization: 9 | 10 | alice-authorization:47e07897 11 | a interop:AccessAuthorization ; 12 | interop:grantedBy alice:\#id ; 13 | interop:grantedWith jarvis:\#id ; 14 | interop:grantedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 15 | interop:grantee jarvis:\#id ; 16 | interop:hasAccessNeedGroup jarvis:\#4fd1482d ; 17 | interop:hasDataAuthorization 18 | alice-authorization:55363f56 , 19 | alice-authorization:935458cf . 20 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/4ae3abf8.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX jose: 9 | PREFIX alice-agents: 10 | PREFIX jose-agents: 11 | 12 | alice-agents:4ae3abf8\/ 13 | a interop:SocialAgentRegistration ; 14 | interop:registeredBy alice:\#id ; 15 | interop:registeredWith jarvis:\#id ; 16 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 17 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 18 | interop:registeredAgent jose:\#id ; 19 | interop:reciprocalRegistration jose-agents:efba320e\/ . 20 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/54a1b6a0.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX projectron: 8 | PREFIX alice-authorization: 9 | PREFIX alice-agents: 10 | PREFIX pm-shapetrees: 11 | 12 | alice-authorization:54a1b6a0 13 | a interop:DataAuthorization ; 14 | interop:grantedBy alice:\#id ; 15 | interop:grantee projectron:\#id ; 16 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 17 | interop:accessMode acl:Read, acl:Create ; 18 | interop:creatorAccessMode acl:Update, acl:Delete ; 19 | interop:scopeOfAuthorization interop:All ; 20 | interop:satisfiesAccessNeed projectron:\#ac54ff1e . 21 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/55363f56.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX alice-authorization: 9 | PREFIX alice-agents: 10 | 11 | alice-authorization:55363f56 12 | a interop:DataAuthorization ; 13 | interop:grantedBy alice:\#id ; 14 | interop:dataOwner alice:\#id ; 15 | interop:grantee jarvis:\#id ; 16 | interop:satisfiesAccessNeed jarvis:\#3fb5f9a6 ; 17 | interop:accessMode acl:Read, acl:Update, acl:Control ; 18 | interop:registeredShapeTree interop:SocialAgentTree ; 19 | interop:hasDataResource alice: ; 20 | interop:scopeOfGrant interop:SelectedInstances . 21 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/5ad22737.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX alice-agents-jarvis: 9 | 10 | alice-agents-jarvis:5ad22737 11 | a interop:AccessGrant ; 12 | interop:grantedBy alice:\#id ; 13 | interop:grantedAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 14 | interop:grantee jarvis:\#id ; 15 | interop:hasAccessNeedGroup jarvis:\#4fd1482d ; 16 | interop:hasDataGrant 17 | alice-agents-jarvis:b0dc6c78 , 18 | alice-agents-jarvis:6ef722af . 19 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/5ca4692b.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX sarah: 8 | PREFIX jarvis: 9 | PREFIX alice-authorization: 10 | PREFIX alice-agents: 11 | 12 | alice-authorization:5ca4692b 13 | a interop:DataAuthorization ; 14 | interop:grantedBy alice:\#id ; 15 | interop:dataOwner alice:\#id ; 16 | interop:grantee sarah:\#id ; 17 | interop:satisfiesAccessNeed jarvis:\#fde6805e ; 18 | interop:accessMode acl:Read, acl:Update, acl:Control ; 19 | interop:registeredShapeTree interop:RegistrySetTree ; 20 | interop:hasDataResource alice:registries ; 21 | interop:scopeOfGrant interop:SelectedInstances . 22 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/60e37fe3.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jose: 8 | PREFIX performchart: 9 | PREFIX alice-authorization: 10 | PREFIX alice-agents: 11 | PREFIX alice-work-data: 12 | PREFIX pm-shapetrees: 13 | 14 | alice-authorization:60e37fe3 15 | a interop:DataAuthorization ; 16 | interop:grantedBy alice:\#id ; 17 | interop:dataOwner jose:\#id ; 18 | interop:grantee performchart:\#id ; 19 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 20 | interop:accessMode acl:Read ; 21 | interop:scopeOfAuthorization interop:Inherited ; 22 | interop:satisfiesAccessNeed performchart:\#f92e605c ; 23 | interop:inheritsFromAuthorization alice-authorization:3e94161f . 24 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/6531c8e2.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX performchart: 8 | PREFIX alice-authorization: 9 | PREFIX alice-agents: 10 | PREFIX alice-work-data: 11 | PREFIX pm-shapetrees: 12 | 13 | alice-authorization:6531c8e2 14 | a interop:DataAuthorization ; 15 | interop:grantedBy alice:\#id ; 16 | interop:dataOwner alice:\#id ; 17 | interop:grantee performchart:\#id ; 18 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 19 | interop:accessMode acl:Read ; 20 | interop:scopeOfAuthorization interop:Inherited ; 21 | interop:hasDataRegistration alice-work-data:df4ab227\/ ; 22 | interop:satisfiesAccessNeed performchart:\#f92e605c ; 23 | interop:inheritsFromAuthorization alice-authorization:8f178288 . 24 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/66e90b51.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX projectron: 3 | PREFIX alice: 4 | PREFIX bob: 5 | 6 | <> a interop:AccessRequest ; 7 | interop:fromSocialAgent alice:\#id ; 8 | interop:toSocialAgent bob:\#id ; 9 | interop:hasAccessNeedGroup projectron:\#need-group-pm . 10 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/6da10e5b.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX jose: 9 | PREFIX jose-alice: 10 | PREFIX performchart: 11 | PREFIX alice-performchart: 12 | PREFIX jose-work-data: 13 | 14 | alice-performchart:6da10e5b 15 | a interop:DelegatedDataGrant ; 16 | interop:dataOwner jose:\#id ; 17 | interop:grantee performchart:\#id ; 18 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 19 | interop:hasDataRegistration jose-work-data:9a1bdd8f\/ ; 20 | interop:satisfiesAccessNeed performchart:\#f92e605c ; 21 | interop:accessMode acl:Read ; 22 | interop:scopeOfGrant interop:Inherited ; 23 | interop:inheritsFromGrant 24 | alice-performchart:cc8f2f69 ; 25 | interop:delegationOfGrant 26 | jose-alice:10d14db3 . 27 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/6ef722af.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX alice-agents-jarvis: 9 | 10 | alice-agents-jarvis:6ef722af 11 | a interop:DataGrant ; 12 | interop:dataOwner alice:\#id ; 13 | interop:grantedBy alice:\#id ; 14 | interop:grantee jarvis:\#id ; 15 | interop:satisfiesAccessNeed jarvis:\#fde6805e ; 16 | interop:accessMode acl:Read, acl:Update, acl:Control ; 17 | interop:registeredShapeTree interop:RegistrySetTree ; 18 | interop:hasDataResource alice:registries ; 19 | interop:scopeOfGrant interop:SelectedInstances . 20 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/731b43ec.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX sarah: 9 | PREFIX alice-sarah: 10 | 11 | alice-sarah:731b43ec 12 | a interop:AccessGrant ; 13 | interop:grantedBy alice:\#id ; 14 | interop:grantedAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 15 | interop:grantee sarah:\#id ; 16 | interop:hasAccessNeedGroup jarvis:\#4fd1482d ; 17 | interop:hasDataGrant 18 | alice-sarah:d85fd1f5 , 19 | alice-sarah:8fac3576 . 20 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/8f178288.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX performchart: 8 | PREFIX alice-authorization: 9 | PREFIX alice-agents: 10 | PREFIX alice-work-data: 11 | PREFIX pm-shapetrees: 12 | 13 | alice-authorization:8f178288 14 | a interop:DataAuthorization ; 15 | interop:grantedBy alice:\#id ; 16 | interop:dataOwner alice:\#id ; 17 | interop:grantee performchart:\#id ; 18 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 19 | interop:accessMode acl:Read ; 20 | interop:scopeOfAuthorization interop:AllFromRegistry ; 21 | interop:hasDataRegistration alice-work-data:8501f084\/ ; 22 | interop:satisfiesAccessNeed performchart:\#ac54ff1e . 23 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/8fac3576.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX sarah: 9 | PREFIX alice-sarah: 10 | 11 | alice-sarah:8fac3576 12 | a interop:DataGrant ; 13 | interop:dataOwner alice:\#id ; 14 | interop:grantedBy alice:\#id ; 15 | interop:grantee sarah:\#id ; 16 | interop:satisfiesAccessNeed jarvis:\#3fb5f9a6 ; 17 | interop:accessMode acl:Read, acl:Update, acl:Control ; 18 | interop:registeredShapeTree interop:RegistrySetTree ; 19 | interop:hasDataResource alice:registries ; 20 | interop:scopeOfGrant interop:SelectedInstances . 21 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/90b0f5ad.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX jose: 8 | PREFIX projectron: 9 | PREFIX alice-projectron: 10 | PREFIX jose-alice: 11 | PREFIX jose-work-data: 12 | 13 | alice-projectron:90b0f5ad 14 | a interop:DelegatedDataGrant ; 15 | interop:dataOwner jose:\#id ; 16 | interop:grantee projectron:\#id ; 17 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 18 | interop:hasDataRegistration jose-work-data:c3feca8c\/ ; 19 | interop:satisfiesAccessNeed projectron:\#ac54ff1e ; 20 | interop:accessMode acl:Read, acl:Create ; 21 | interop:creatorAccessMode acl:Update, acl:Delete ; 22 | interop:scopeOfGrant interop:SelectedFromRegistry ; 23 | interop:hasDataInstance 24 | jose-work-data:c3feca8c\/9355352a , 25 | jose-work-data:c3feca8c\/3d3dc323 ; 26 | interop:delegationOfGrant 27 | jose-alice:2aa21a8c . 28 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/935458cf.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX alice-authorization: 9 | PREFIX alice-agents: 10 | 11 | alice-authorization:935458cf 12 | a interop:DataAuthorization ; 13 | interop:grantedBy alice:\#id ; 14 | interop:dataOwner alice:\#id ; 15 | interop:grantee jarvis:\#id ; 16 | interop:satisfiesAccessNeed jarvis:\#fde6805e ; 17 | interop:accessMode acl:Read, acl:Update, acl:Control ; 18 | interop:registeredShapeTree interop:RegistrySetTree ; 19 | interop:hasDataResource alice:registries ; 20 | interop:scopeOfGrant interop:SelectedInstances . 21 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/95ff7580.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX bob: 9 | PREFIX alice-bob: 10 | PREFIX alice-work-data: 11 | PREFIX projectron: 12 | 13 | alice-bob:95ff7580 14 | a interop:DataGrant ; 15 | interop:dataOwner alice:\#id ; 16 | interop:grantedBy alice:\#id ; 17 | interop:grantee bob:\#id ; 18 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 19 | interop:hasDataRegistration alice-work-data:df4ab227\/ ; 20 | interop:satisfiesAccessNeed projectron:\#9462959c ; 21 | interop:accessMode acl:Read, acl:Create ; 22 | interop:creatorAccessMode acl:Update, acl:Delete ; 23 | interop:scopeOfGrant interop:Inherited ; 24 | interop:inheritsFromGrant alice-bob:b42228af . 25 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/a0623c8f.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX projectron: 9 | PREFIX alice-projectron: 10 | PREFIX alice-personal-data: 11 | 12 | alice-projectron:a0623c8f 13 | a interop:DataGrant ; 14 | interop:dataOwner alice:\#id ; 15 | interop:grantedBy alice:\#id ; 16 | interop:grantee projectron:\#id ; 17 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 18 | interop:hasDataRegistration alice-personal-data:fe7a8e7b\/ ; 19 | interop:satisfiesAccessNeed projectron:\#ac54ff1e ; 20 | interop:accessMode acl:Read, acl:Create ; 21 | interop:creatorAccessMode acl:Update, acl:Delete ; 22 | interop:scopeOfGrant interop:AllFromRegistry . 23 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/a1umr5yx.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX skos: 5 | PREFIX acl: 6 | PREFIX interop: 7 | PREFIX pm-shapetrees: 8 | PREFIX alice: 9 | PREFIX jarvis: 10 | PREFIX bob: 11 | PREFIX alice-agents: 12 | PREFIX bob-agents: 13 | 14 | alice-agents:a1umr5yx\/ 15 | a interop:SocialAgentInvitation ; 16 | interop:registeredBy alice:\#id ; 17 | interop:registeredWith jarvis:\#id ; 18 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 19 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 20 | interop:capabilityUrl jarvis:invitations\/z8tms2zzq3d9vfpo1a6yk5jkgn5y4aem ; 21 | skos:prefLabel "Yori" ; 22 | skos:note "A friend from my D&D club" . 23 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/a8a224e6.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX performchart: 9 | PREFIX alice-performchart: 10 | PREFIX alice-work-data: 11 | 12 | alice-performchart:a8a224e6 13 | a interop:DataGrant ; 14 | interop:dataOwner alice:\#id ; 15 | interop:grantedBy alice:\#id ; 16 | interop:grantee performchart:\#id ; 17 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 18 | interop:hasDataRegistration alice-work-data:8501f084\/ ; 19 | interop:satisfiesAccessNeed performchart:\#53c43f3d ; 20 | interop:accessMode acl:Read ; 21 | interop:scopeOfGrant interop:AllFromRegistry . 22 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/agents.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX interop: 5 | PREFIX alice-agents: 6 | 7 | alice-agents: 8 | a interop:AgentRegistry ; 9 | interop:hasSocialAgentRegistration 10 | alice-agents:c4562da9\/ , # Bob 11 | alice-agents:b49afcdf\/ , # Sarah 12 | alice-agents:4ae3abf8\/ ; # Jose 13 | interop:hasApplicationRegistration 14 | alice-agents:2f2f3628\/ , # Projectron 15 | alice-agents:b5eea7bb\/ , # Jarvis 16 | alice-agents:c2328cdd\/ . # Performchart 17 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/alice.example.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX interop: 4 | PREFIX alice: 5 | PREFIX alice-jarvis: 6 | PREFIX alice-auth: 7 | 8 | alice:\#id 9 | a interop:Agent ; 10 | ######## Registry Sets ######## 11 | interop:hasRegistrySet alice:registries ; 12 | ######## Authorization Agent ######## 13 | interop:hasAuthorizationAgent alice-jarvis: . 14 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/authorization.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice-authorization: 3 | 4 | alice-authorization: 5 | a interop:AuthorizationRegistry; 6 | interop:hasAccessAuthorization 7 | alice-authorization:e2765d6c , # projectron 8 | alice-authorization:47e07897 , # jarvis 9 | alice-authorization:d577d117 , # sarah 10 | alice-authorization:4460dce3 , # bob 11 | alice-authorization:cce01253 . # performchart 12 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/b0dc6c78.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX alice-agents-jarvis: 9 | 10 | alice-agents-jarvis:b0dc6c78 11 | a interop:DataGrant ; 12 | interop:dataOwner alice:\#id ; 13 | interop:grantedBy alice:\#id ; 14 | interop:grantee jarvis:\#id ; 15 | interop:satisfiesAccessNeed jarvis:\#3fb5f9a6 ; 16 | interop:accessMode acl:Read, acl:Update, acl:Control ; 17 | interop:registeredShapeTree interop:SocialAgentTree ; 18 | interop:hasDataResource alice: ; 19 | interop:scopeOfGrant interop:SelectedInstances . 20 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/b42228af.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX bob: 9 | PREFIX projectron: 10 | PREFIX alice-bob: 11 | PREFIX alice-work-data: 12 | 13 | alice-bob:b42228af 14 | a interop:DataGrant ; 15 | interop:dataOwner alice:\#id ; 16 | interop:grantedBy alice:\#id ; 17 | interop:grantee bob:\#id ; 18 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 19 | interop:hasDataRegistration alice-work-data:8501f084\/ ; 20 | interop:satisfiesAccessNeed projectron:\#ac54ff1e ; 21 | interop:accessMode acl:Read, acl:Create ; 22 | interop:creatorAccessMode acl:Update, acl:Delete ; 23 | interop:scopeOfGrant interop:AllFromRegistry . 24 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/b49afcdf.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX sarah: 9 | PREFIX alice-agents: 10 | PREFIX sarah-agents: 11 | 12 | alice-agents:b49afcdf\/ 13 | a interop:SocialAgentRegistration ; 14 | interop:registeredBy alice:\#id ; 15 | interop:registeredWith jarvis:\#id ; 16 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 17 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 18 | interop:registeredAgent sarah:\#id ; 19 | interop:reciprocalRegistration sarah-agents:efba320e\/ ; 20 | interop:hasAccessGrant alice-agents:b49afcdf\/731b43ec . 21 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/b5eea7bb.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX alice-agents: 9 | 10 | alice-agents:b5eea7bb\/ 11 | a interop:ApplicationRegistration ; 12 | interop:registeredBy alice:\#id ; 13 | interop:registeredwith jarvis:\#id ; 14 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 15 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 16 | interop:registeredAgent jarvis:\#id ; 17 | interop:hasAccessGrant alice-agents:b5eea7bb\/5ad22737 . 18 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/b6e125b8.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX bob: 9 | PREFIX alice-bob: 10 | PREFIX projectron: 11 | 12 | alice-bob:b6e125b8 13 | a interop:AccessGrant ; 14 | interop:grantedBy alice:\#id ; 15 | interop:grantedAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 16 | interop:grantee bob:\#id ; 17 | interop:hasAccessNeedGroup projectron:\#d8219b1f ; 18 | interop:hasDataGrant 19 | alice-bob:b42228af , 20 | alice-bob:95ff7580 . 21 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/c2328cdd.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX interop: 5 | PREFIX alice: 6 | PREFIX performchart: 7 | PREFIX jarvis: 8 | PREFIX alice-agents: 9 | 10 | alice-agents:c2328cdd\/ 11 | a interop:ApplicationRegistration ; 12 | interop:registeredBy alice:\#id ; 13 | interop:registeredWith jarvis:\#id ; 14 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 15 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 16 | interop:registeredAgent performchart:\#id ; 17 | interop:hasAccessGrant alice-agents:c2328cdd\/2ae35a57 . 18 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/c4562da9.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX jarvis: 9 | PREFIX bob: 10 | PREFIX alice-agents: 11 | PREFIX bob-agents: 12 | 13 | alice-agents:c4562da9\/ 14 | a interop:SocialAgentRegistration ; 15 | interop:registeredBy alice:\#id ; 16 | interop:registeredWith jarvis:\#id ; 17 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 18 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 19 | interop:registeredAgent bob:\#id ; 20 | interop:reciprocalRegistration bob-agents:255aa181\/ ; 21 | interop:hasAccessGrant alice-agents:c4562da9\/b6e125b8 . 22 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/ca14a518.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX bob: 8 | PREFIX performchart: 9 | PREFIX alice-authorization: 10 | PREFIX alice-agents: 11 | PREFIX alice-work-data: 12 | PREFIX pm-shapetrees: 13 | 14 | alice-authorization:ca14a518 15 | a interop:DataAuthorization ; 16 | interop:grantedBy alice:\#id ; 17 | interop:dataOwner bob:\#id ; 18 | interop:grantee performchart:\#id ; 19 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 20 | interop:accessMode acl:Read ; 21 | interop:scopeOfAuthorization interop:Inherited ; 22 | interop:satisfiesAccessNeed performchart:\#f92e605c ; 23 | interop:inheritsFromAuthorization alice-authorization:0e36ba8f . 24 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/cc8f2f69.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX jose: 9 | PREFIX jose-alice: 10 | PREFIX performchart: 11 | PREFIX alice-performchart: 12 | PREFIX jose-work-data: 13 | 14 | alice-performchart:cc8f2f69 15 | a interop:DelegatedDataGrant ; 16 | interop:dataOwner jose:\#id ; 17 | interop:grantee performchart:\#id ; 18 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 19 | interop:hasDataRegistration jose-work-data:c3feca8c\/ ; 20 | interop:satisfiesAccessNeed performchart:\#ac54ff1e ; 21 | interop:accessMode acl:Read ; 22 | interop:scopeOfGrant interop:SelectedFromRegistry ; 23 | interop:hasDataInstance 24 | jose-work-data:c3feca8c\/9355352a , 25 | jose-work-data:c3feca8c\/3d3dc323 ; 26 | interop:delegationOfGrant 27 | jose-alice:2aa21a8c . 28 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/cce01253.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX interop: 5 | PREFIX alice: 6 | PREFIX jarvis: 7 | PREFIX performchart: 8 | PREFIX alice-authorization: 9 | 10 | alice-authorization:cce01253 11 | a interop:AccessAuthorization ; 12 | interop:grantedBy alice:\#id ; 13 | interop:grantedWith jarvis:\#id ; 14 | interop:grantedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 15 | interop:grantee performchart:\#id ; 16 | interop:hasAccessNeedGroup performchart:\#53c43f3d ; 17 | interop:hasDataAuthorization 18 | alice-authorization:8f178288 , 19 | alice-authorization:6531c8e2 , 20 | alice-authorization:0e36ba8f , 21 | alice-authorization:ca14a518 , 22 | alice-authorization:3e94161f , 23 | alice-authorization:60e37fe3 . 24 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/d577d117.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX sarah: 8 | PREFIX jarvis: 9 | PREFIX alice-authorization: 10 | 11 | alice-authorization:d577d117 12 | a interop:AccessAuthorization ; 13 | interop:grantedBy alice:\#id ; 14 | interop:grantedWith jarvis:\#id ; 15 | interop:grantedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 16 | interop:grantee sarah:\#id ; 17 | interop:hasAccessNeedGroup jarvis:\#4fd1482d ; 18 | interop:hasDataAuthorization 19 | alice-authorization:2d1568fb , 20 | alice-authorization:5ca4692b . 21 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/d85fd1f5.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX alice: 7 | PREFIX jarvis: 8 | PREFIX sarah: 9 | PREFIX alice-sarah: 10 | 11 | alice-sarah:d85fd1f5 12 | a interop:DataGrant ; 13 | interop:dataOwner alice:\#id ; 14 | interop:grantedBy alice:\#id ; 15 | interop:grantee sarah:\#id ; 16 | interop:satisfiesAccessNeed jarvis:\#3fb5f9a6 ; 17 | interop:accessMode acl:Read, acl:Update, acl:Control ; 18 | interop:registeredShapeTree interop:SocialAgentTree ; 19 | interop:hasDataResource alice: ; 20 | interop:scopeOfGrant interop:SelectedInstances . 21 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/e2765d6c.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX interop: 5 | PREFIX alice: 6 | PREFIX jarvis: 7 | PREFIX projectron: 8 | PREFIX alice-authorization: 9 | 10 | alice-authorization:e2765d6c 11 | a interop:AccessAuthorization ; 12 | interop:grantedBy alice:\#id ; 13 | interop:grantedWith jarvis:\#id ; 14 | interop:grantedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 15 | interop:grantee projectron:\#id ; 16 | interop:hasAccessNeedGroup projectron:\#d8219b1f ; 17 | interop:hasDataAuthorization 18 | alice-authorization:54a1b6a0 , 19 | alice-authorization:0e4cb692 . 20 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/ec6057d9.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX bob: 9 | PREFIX projectron: 10 | PREFIX alice-authorization: 11 | PREFIX alice-agents: 12 | 13 | alice-authorization:ec6057d9 14 | a interop:DataAuthorization ; 15 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 16 | interop:grantedBy alice:\#id ; 17 | interop:dataOwner alice:\#id ; 18 | interop:grantee bob:\#id ; 19 | interop:satisfiesAccessNeed projectron:\#9462959c ; 20 | interop:accessMode acl:Read, acl:Create ; 21 | interop:creatorAccessMode acl:Update, acl:Delete ; 22 | interop:scopeOfAuthorization interop:Inherited ; 23 | interop:inheritsFromAuthorization 24 | alice-authorization:f800b10c . 25 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/efc426c9.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX bob: 9 | PREFIX bob-alice: 10 | PREFIX performchart: 11 | PREFIX alice-performchart: 12 | PREFIX bob-work-data: 13 | 14 | alice-performchart:efc426c9 15 | a interop:DelegatedDataGrant ; 16 | interop:dataOwner bob:\#id ; 17 | interop:grantee performchart:\#id ; 18 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 19 | interop:hasDataRegistration bob-work-data:08a99a10\/ ; 20 | interop:satisfiesAccessNeed performchart:\#ac54ff1e ; 21 | interop:accessMode acl:Read ; 22 | interop:scopeOfGrant interop:AllFromRegistry ; 23 | interop:delegationOfGrant 24 | bob-alice:b2b6a645 . 25 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/f800b10c.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX alice: 8 | PREFIX bob: 9 | PREFIX projectron: 10 | PREFIX alice-authorization: 11 | PREFIX alice-agents: 12 | 13 | alice-authorization:f800b10c 14 | a interop:DataAuthorization ; 15 | interop:grantedBy alice:\#id ; 16 | interop:grantee bob:\#id ; 17 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 18 | interop:satisfiesAccessNeed projectron:\#ac54ff1e ; 19 | interop:accessMode acl:Read, acl:Create ; 20 | interop:creatorAccessMode acl:Update, acl:Delete ; 21 | interop:scopeOfAuthorization interop:All . 22 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/fa6d6553.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice: 4 | PREFIX bob: 5 | PREFIX alice-agents: 6 | 7 | <> 8 | a interop:AccessReceipt ; 9 | interop:providedAt "2020-09-05T06:15:01Z"^^xsd:dateTime ; 10 | interop:grantedBy alice:\#id . 11 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/fe818190.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX pm-shapetrees: 7 | PREFIX bob: 8 | PREFIX projectron: 9 | PREFIX alice-projectron: 10 | PREFIX bob-alice: 11 | PREFIX bob-work-data: 12 | 13 | alice-projectron:fe818190 14 | a interop:DelegatedDataGrant ; 15 | interop:dataOwner bob:\#id ; 16 | interop:grantee projectron:\#id ; 17 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 18 | interop:hasDataRegistration bob-work-data:08a99a10\/ ; 19 | interop:satisfiesAccessNeed projectron:\#ac54ff1e ; 20 | interop:accessMode acl:Read, acl:Create ; 21 | interop:creatorAccessMode acl:Update, acl:Delete ; 22 | interop:scopeOfGrant interop:AllFromRegistry ; 23 | interop:delegationOfGrant 24 | bob-alice:b2b6a645 . 25 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.example/registries.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice: 3 | PREFIX alice-work: 4 | PREFIX alice-personal: 5 | 6 | alice:registries 7 | a interop:RegistrySet; 8 | interop:hasAgentRegistry alice:agents\/ ; 9 | interop:hasAuthorizationRegistry alice:authorization\/ ; 10 | interop:hasDataRegistry 11 | alice-work:data\/ , 12 | alice-personal:data\/ . 13 | -------------------------------------------------------------------------------- /proposals/specification/snippets/alice.jarvis.example/alice.jarvis.example.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX interop: 4 | PREFIX alice-jarvis: 5 | 6 | alice-jarvis: 7 | a interop:AuthorizationAgent ; 8 | ######## Authorization Redirect Endpoint ######## 9 | interop:hasAuthorizationRedirectEndpoint alice-jarvis:redirect . 10 | -------------------------------------------------------------------------------- /proposals/specification/snippets/bob.example/05f60b20.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX bob: 7 | PREFIX alice: 8 | PREFIX projectron: 9 | PREFIX bob-alice: 10 | 11 | bob-alice:05f60b20 12 | a interop:AccessGrant ; 13 | interop:grantedBy bob:\#id ; 14 | interop:grantedAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 15 | interop:grantee alice:\#id ; 16 | interop:hasAccessNeedGroup projectron:\#need-group-pm ; 17 | interop:hasDataGrant 18 | bob-alice:b2b6a645 , 19 | bob-alice:d5b5760c . 20 | -------------------------------------------------------------------------------- /proposals/specification/snippets/bob.example/255aa181.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX bob: 7 | PREFIX jarvis: 8 | PREFIX alice: 9 | PREFIX bob-agents: 10 | PREFIX alice-agents: 11 | 12 | bob-agents:255aa181\/ 13 | a interop:SocialAgentRegistration ; 14 | interop:registeredBy bob:\#id ; 15 | interop:registeredWith jarvis:\#id ; 16 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 17 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 18 | interop:registeredAgent alice:\#id ; 19 | interop:reciprocalRegistration alice-agents:c4562da9\/ ; 20 | interop:hasAccessGrant bob-agents:255aa181\/05f60b20 . 21 | -------------------------------------------------------------------------------- /proposals/specification/snippets/bob.example/b2b6a645.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX bob: 7 | PREFIX alice: 8 | PREFIX bob-alice: 9 | PREFIX bob-work-data: 10 | PREFIX projectron: 11 | PREFIX pm-shapetrees: 12 | 13 | bob-alice:b2b6a645 14 | a interop:DataGrant ; 15 | interop:dataOwner bob:\#id ; 16 | interop:grantedBy bob:\#id ; 17 | interop:grantee alice:\#id ; 18 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 19 | interop:hasDataRegistration bob-work-data:08a99a10\/ ; 20 | interop:satisfiesAccessNeed projectron:\#ac54ff1e ; 21 | interop:accessMode acl:Read, acl:Create ; 22 | interop:creatorAccessMode acl:Update, acl:Delete ; 23 | interop:scopeOfGrant interop:AllFromRegistry . 24 | -------------------------------------------------------------------------------- /proposals/specification/snippets/bob.example/d5b5760c.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX bob: 7 | PREFIX alice: 8 | PREFIX bob-alice: 9 | PREFIX bob-work-data: 10 | PREFIX projectron: 11 | PREFIX pm-shapetrees: 12 | 13 | bob-alice:d5b5760c 14 | a interop:DataGrant ; 15 | interop:dataOwner bob:\#id ; 16 | interop:grantedBy bob:\#id ; 17 | interop:grantee alice:\#id ; 18 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 19 | interop:hasDataRegistration bob-work-data:45e092cf\/ ; 20 | interop:satisfiesAccessNeed projectron:\#ac54ff1e ; 21 | interop:accessMode acl:Read, acl:Create ; 22 | interop:creatorAccessMode acl:Update, acl:Delete ; 23 | interop:scopeOfGrant interop:Inherited ; 24 | interop:inheritsFromGrant 25 | bob-alice:b2b6a645 . 26 | -------------------------------------------------------------------------------- /proposals/specification/snippets/bob.example/e4b1b154.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX bob: 7 | PREFIX alice: 8 | PREFIX projectron: 9 | PREFIX bob-authorization: 10 | PREFIX bob-agents: 11 | PREFIX bob-work-data: 12 | PREFIX pm-shapetrees: 13 | 14 | bob-authorization:e4b1b154 15 | a interop:DataAuthorization ; 16 | interop:grantedBy bob:\#id ; 17 | interop:dataOwner bob:\#id ; 18 | interop:grantee alice:\#id ; 19 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 20 | interop:accessMode acl:Read, acl:Create ; 21 | interop:creatorAccessMode acl:Update, acl:Delete ; 22 | interop:scopeOfAuthorization interop:AllFromRegistry ; 23 | interop:hasDataRegistration bob-work-data:08a99a10\/ ; 24 | interop:satisfiesAccessNeed projectron:\#ac54ff1e . 25 | 26 | -------------------------------------------------------------------------------- /proposals/specification/snippets/data.example/pm-shapes.shex: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xml: 4 | PREFIX xsd: 5 | PREFIX shx: 6 | PREFIX pm: 7 | 8 | <#ProjectShape> { 9 | pm:id xsd:integer ; 10 | pm:name xsd:string ; 11 | pm:created_at xsd:dateTime ; 12 | pm:hasTask IRI* 13 | pm:hasMilestone IRI* 14 | pm:hasIssue IRI* 15 | } 16 | 17 | <#MilestoneShape> { 18 | pm:id xsd:integer ; 19 | pm:name xsd:string ; 20 | pm:created_at xsd:dateTime ; 21 | pm:target xsd:dateTime ; 22 | pm:inProject IRI ; 23 | pm:hasTask IRI* ; 24 | pm:hasIssue IRI* 25 | } 26 | 27 | <#TaskShape> { 28 | pm:id xsd:integer ; 29 | pm:name xsd:string ; 30 | pm:description xsd:string ; 31 | pm:created_at xsd:dateTime ; 32 | } 33 | 34 | <#IssueShape> { 35 | pm:id xsd:integer ; 36 | pm:name xsd:string ; 37 | pm:severity xsd:string; 38 | pm:description xsd:string ; 39 | pm:created_at xsd:dateTime 40 | } 41 | -------------------------------------------------------------------------------- /proposals/specification/snippets/data.example/pm-shapetrees.tree: -------------------------------------------------------------------------------- 1 | PREFIX st: 2 | PREFIX pm-shex: 3 | PREFIX pm: 4 | 5 | <#ProjectRegistrationTree> 6 | a st:ShapeTree ; 7 | st:expectsType st:Container ; 8 | st:contains <#ProjectTree> . 9 | 10 | <#ProjectTree> 11 | a st:ShapeTree ; 12 | st:expectsType st:Resource ; 13 | st:shape pm-shex:ProjectShape ; 14 | st:references [ 15 | st:hasShapeTree <#TaskTree> ; 16 | st:viaPredicate pm:hasTask 17 | ] . 18 | 19 | <#TaskRegistrationTree> 20 | a st:ShapeTree ; 21 | st:expectsType st:Container ; 22 | st:contains <#TaskTree> . 23 | 24 | <#TaskTree> 25 | a st:ShapeTree ; 26 | st:expectsType st:Resource ; 27 | st:shape pm-shex:TaskShape . 28 | -------------------------------------------------------------------------------- /proposals/specification/snippets/jose.example/10d14db3.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX jose: 7 | PREFIX alice: 8 | PREFIX jose-alice: 9 | PREFIX jose-work-data: 10 | PREFIX projectron: 11 | PREFIX pm-shapetrees: 12 | 13 | jose-alice:10d14db3 14 | a interop:DataGrant ; 15 | interop:dataOwner jose:\#id ; 16 | interop:grantedBy jose:\#id ; 17 | interop:grantee alice:\#id ; 18 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 19 | interop:hasDataRegistration jose-work-data:9a1bdd8f\/ ; 20 | interop:satisfiesAccessNeed projectron:\#ac54ff1e ; 21 | interop:accessMode acl:Read, acl:Create ; 22 | interop:creatorAccessMode acl:Update, acl:Delete ; 23 | interop:scopeOfGrant interop:Inherited ; 24 | interop:inheritsFromGrant 25 | jose-alice:2aa21a8c . 26 | -------------------------------------------------------------------------------- /proposals/specification/snippets/jose.example/2aa21a8c.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX jose: 7 | PREFIX alice: 8 | PREFIX jose-alice: 9 | PREFIX jose-work-data: 10 | PREFIX projectron: 11 | PREFIX pm-shapetrees: 12 | 13 | jose-alice:2aa21a8c 14 | a interop:DataGrant ; 15 | interop:dataOwner jose:\#id ; 16 | interop:grantedBy jose:\#id ; 17 | interop:grantee alice:\#id ; 18 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 19 | interop:hasDataRegistration jose-work-data:c3feca8c\/ ; 20 | interop:satisfiesAccessNeed projectron:\#ac54ff1e ; 21 | interop:accessMode acl:Read, acl:Create ; 22 | interop:creatorAccessMode acl:Update, acl:Delete ; 23 | interop:scopeOfGrant interop:SelectedFromRegistry ; 24 | interop:hasDataInstance 25 | jose-work-data:c3feca8c\/9355352a , 26 | jose-work-data:c3feca8c\/3d3dc323 . 27 | -------------------------------------------------------------------------------- /proposals/specification/snippets/jose.example/69095550.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX jose: 7 | PREFIX alice: 8 | PREFIX projectron: 9 | PREFIX jose-authorization: 10 | PREFIX jose-agents: 11 | PREFIX jose-work-data: 12 | PREFIX pm-shapetrees: 13 | 14 | jose-authorization:69095550 15 | a interop:DataAuthorization ; 16 | interop:grantedBy jose:\#id ; 17 | interop:dataOwner jose:\#id ; 18 | interop:grantee alice:\#id ; 19 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 20 | interop:accessMode acl:Read, acl:Create ; 21 | interop:creatorAccessMode acl:Update, acl:Delete ; 22 | interop:scopeOfAuthorization interop:SelectedFromRegistry ; 23 | interop:hasDataRegistration jose-work-data:c3feca8c\/ ; 24 | interop:hasDataInstance 25 | jose-work-data:c3feca8c\/9355352a , 26 | jose-work-data:c3feca8c\/3d3dc323 ; 27 | interop:satisfiesAccessNeed projectron:\#ac54ff1e . 28 | -------------------------------------------------------------------------------- /proposals/specification/snippets/jose.example/85b51e6a.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX jose: 7 | PREFIX projectron: 8 | PREFIX alice: 9 | PREFIX jose-alice: 10 | 11 | jose-alice:85b51e6a 12 | a interop:AccessGrant ; 13 | interop:grantedBy jose:\#id ; 14 | interop:grantedAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 15 | interop:grantee alice:\#id ; 16 | interop:hasAccessNeedGroup projectron:\#need-group-pm ; 17 | interop:hasDataGrant 18 | jose-alice:2aa21a8c , 19 | jose-alice:10d14db3 . 20 | -------------------------------------------------------------------------------- /proposals/specification/snippets/jose.example/efba320e.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xsd: 4 | PREFIX acl: 5 | PREFIX interop: 6 | PREFIX jose: 7 | PREFIX jarvis: 8 | PREFIX alice: 9 | PREFIX jose-agents: 10 | PREFIX alice-agents: 11 | 12 | jose-agents:efba320e\/ 13 | a interop:SocialAgentRegistration ; 14 | interop:registeredBy jose:\#id ; 15 | interop:registeredWith jarvis:\#id ; 16 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 17 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 18 | interop:registeredAgent alice:\#id ; 19 | interop:reciprocalRegistration alice-agents:4ae3abf8\/ ; 20 | interop:hasAccessGrant jose-agents:efba320e\/85b51e6a . 21 | -------------------------------------------------------------------------------- /proposals/specification/snippets/projectron.example/access-en.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX projectron: 3 | PREFIX skos: 4 | PREFIX xsd: 5 | 6 | <> 7 | a interop:AccessDescriptionSet ; 8 | interop:usesLanguage "en"^^xsd:language . 9 | 10 | <#en-need-group-pm> 11 | a interop:AccessNeedGroupDescription ; 12 | interop:inAccessDescriptionSet <> ; 13 | interop:hasAccessNeedGroup projectron:need-group-pm ; 14 | skos:prefLabel "Read and Contribute to Projects"@en ; 15 | skos:definition "Allow Projectron to read the Projects you select, and create new ones. Projectron won't modify existing data, but can add more."@en . 16 | 17 | <#en-need-project> 18 | a interop:AccessNeedDescription ; 19 | interop:inAccessDescriptionSet <> ; 20 | interop:hasAccessNeed projectron:need-project ; 21 | skos:prefLabel "Access to Projects is essential for Projectron to perform its core function of Project Management"@en . 22 | 23 | <#en-need-task> 24 | a interop:AccessNeedDescription ; 25 | interop:inAccessDescriptionSet <> ; 26 | interop:hasAccessNeed projectron:need-task ; 27 | skos:prefLabel "Access to Tasks allows Projectron to identify and manage the work to be done in a given Project."@en . 28 | -------------------------------------------------------------------------------- /proposals/specification/snippets/projectron.example/needs.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX acl: 3 | PREFIX projectron: 4 | PREFIX pm-shapetrees: 5 | 6 | <#need-group-pm> 7 | a interop:AccessNeedGroup ; 8 | interop:accessNecessity interop:accessRequired ; 9 | interop:accessScenario interop:PersonalAccess ; 10 | interop:authenticatesAs interop:SocialAgent ; 11 | interop:hasAccessDescriptionSet 12 | projectron:access-en , 13 | projectron:access-es , 14 | projectron:access-nl , 15 | projectron:access-fr , 16 | projectron:access-ru , 17 | projectron:access-ko ; 18 | interop:hasAccessNeed <#need-project> . 19 | 20 | <#need-project> 21 | a interop:AccessNeed ; 22 | interop:registeredShapeTree pm-shapetrees:ProjectTree ; 23 | interop:accessNecessity interop:accessRequired ; 24 | interop:accessMode acl:Read, acl:Create ; 25 | interop:creatorAccessMode acl:Update, acl:Delete . 26 | 27 | <#need-task> 28 | a interop:AccessNeed ; 29 | interop:registeredShapeTree pm-shapetrees:TaskTree ; 30 | interop:accessNecessity interop:accessRequired ; 31 | interop:accessMode acl:Read, acl:Create ; 32 | interop:creatorAccessMode acl:Update, acl:Delete ; 33 | interop:inheritsFromNeed <#need-project> . 34 | -------------------------------------------------------------------------------- /proposals/specification/snippets/projectron.example/projectron.example.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX acl: 3 | PREFIX solidtrees: 4 | PREFIX projectron: 5 | PREFIX needs: 6 | PREFIX acme: 7 | PREFIX pm: 8 | PREFIX pm-shapetrees: 9 | 10 | projectron:\#id 11 | a interop:Application ; 12 | interop:applicationName "Projectron" ; 13 | interop:applicationDescription "Manage projects with ease" ; 14 | interop:applicationAuthor acme:\#id ; 15 | interop:applicationThumbnail acme:thumb.svg ; 16 | interop:hasAccessNeedGroup needs:need-group-pm ; 17 | interop:hasAuthorizationCallbackEndpoint projectron:redirect . 18 | -------------------------------------------------------------------------------- /proposals/specification/snippets/work.alice.example/16e1eae9.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xml: 4 | PREFIX xsd: 5 | PREFIX ldp: 6 | PREFIX pm: 7 | PREFIX alice-work-projects: 8 | PREFIX alice-work-tasks: 9 | 10 | alice-work-projects:16e1eae9 11 | a pm:Project ; 12 | pm:id 6 ; 13 | pm:name "Solid Project" ; 14 | pm:created_at "2021-04-04T20:15:47.000Z"^^xsd:dateTime ; 15 | pm:hasTask 16 | alice-work-tasks:9b60a354 , 17 | alice-work-tasks:6e545b74 , 18 | alice-work-tasks:d33e01c8 . 19 | -------------------------------------------------------------------------------- /proposals/specification/snippets/work.alice.example/6e545b74.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xml: 4 | PREFIX xsd: 5 | PREFIX ldp: 6 | PREFIX pm: 7 | PREFIX alice-work-tasks: 8 | 9 | alice-work-tasks:6e545b74 10 | a pm:Task ; 11 | pm:id 15 ; 12 | pm:name "Keep Working" ; 13 | pm:created_at "2021-04-04T20:15:47.000Z"^^xsd:dateTime ; 14 | pm:description "Continue to do good work!!" . 15 | -------------------------------------------------------------------------------- /proposals/specification/snippets/work.alice.example/8501f084.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice: 4 | PREFIX alice-work-data: 5 | PREFIX jarvis: 6 | PREFIX pm-shapetree: 7 | 8 | alice-work-data:8501f084\/ 9 | a interop:DataRegistration ; 10 | interop:registeredBy alice:\#id ; 11 | interop:registeredWith jarvis:\#id ; 12 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 13 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 14 | interop:registeredShapeTree pm-shapetree:ProjectTree . 15 | -------------------------------------------------------------------------------- /proposals/specification/snippets/work.alice.example/9b60a354.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xml: 4 | PREFIX xsd: 5 | PREFIX ldp: 6 | PREFIX pm: 7 | PREFIX alice-work-tasks: 8 | 9 | alice-work-tasks:9b60a354 10 | a pm:Task ; 11 | pm:id 14 ; 12 | pm:name "Begin the Project" ; 13 | pm:created_at "2021-04-04T20:15:47.000Z"^^xsd:dateTime ; 14 | pm:description "Get it started!" . 15 | -------------------------------------------------------------------------------- /proposals/specification/snippets/work.alice.example/d33e01c8.ttl: -------------------------------------------------------------------------------- 1 | PREFIX rdf: 2 | PREFIX rdfs: 3 | PREFIX xml: 4 | PREFIX xsd: 5 | PREFIX ldp: 6 | PREFIX pm: 7 | PREFIX alice-work-tasks: 8 | 9 | alice-work-tasks:d33e01c8 10 | a pm:Task ; 11 | pm:id 17 ; 12 | pm:name "Finish the Work" ; 13 | pm:created_at "2021-04-04T20:15:47.000Z"^^xsd:dateTime ; 14 | pm:description "Complete the project on time" . 15 | -------------------------------------------------------------------------------- /proposals/specification/snippets/work.alice.example/data-registry.ttl: -------------------------------------------------------------------------------- 1 | PREFIX interop: 2 | PREFIX alice-work-data: 3 | 4 | alice-work-data: 5 | a interop:DataRegistry; 6 | interop:hasDataRegistration 7 | alice-work-data:8501f084\/ , 8 | alice-work-data:df4ab227\/ . 9 | -------------------------------------------------------------------------------- /proposals/specification/snippets/work.alice.example/df4ab227.ttl: -------------------------------------------------------------------------------- 1 | PREFIX xsd: 2 | PREFIX interop: 3 | PREFIX alice: 4 | PREFIX alice-work-data: 5 | PREFIX jarvis: 6 | PREFIX pm-shapetree: 7 | 8 | alice-work-data:df4ab227\/ 9 | a interop:DataRegistration ; 10 | interop:registeredBy alice:\#id ; 11 | interop:registeredWith jarvis:\#id ; 12 | interop:registeredAt "2020-04-04T20:15:47.000Z"^^xsd:dateTime ; 13 | interop:updatedAt "2020-04-04T21:11:33.000Z"^^xsd:dateTime ; 14 | interop:registeredShapeTree pm-shapetree:TaskTree . 15 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | bikeshed 2 | 3 | -------------------------------------------------------------------------------- /runtime.txt: -------------------------------------------------------------------------------- 1 | 3.8 2 | 3 | -------------------------------------------------------------------------------- /scripts/validate-snippets.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs') 2 | const path = require('path') 3 | const { exit } = require('process') 4 | const validator = require('turtle-validator') 5 | 6 | SNIPPETS_PATH = 'proposals/primer/snippets' 7 | // TODO (elf-pavlik) adjust to handle bob.example 8 | IGNORE_HOSTS = [ 'solidshapes.example', 'bob.example' ] 9 | 10 | var exitCode = 0 11 | 12 | function validate (filePath) { 13 | return new Promise((resolve, reject) => { 14 | const stream = fs.createReadStream(filePath) 15 | validator(stream, (feedback) => { 16 | resolve({ feedback, filePath }) 17 | }) 18 | }) 19 | } 20 | 21 | const allPaths = fs.readdirSync(SNIPPETS_PATH).filter(name => { 22 | return name.match('.example') && !IGNORE_HOSTS.includes(name) 23 | }).flatMap((host) => { 24 | return fs.readdirSync(path.join(SNIPPETS_PATH, host)).map((file) => { 25 | return path.join(SNIPPETS_PATH, host, file) 26 | }) 27 | }) 28 | 29 | Promise.all(allPaths.map(validate)).then((results) => { 30 | for (const result of results) { 31 | console.log('validated: ', result.filePath) 32 | result.feedback.errors.forEach(function (error) { 33 | console.log('ERROR: ' + error) 34 | }) 35 | result.feedback.warnings.forEach(function (warning) { 36 | console.log('WARNING: ' + warning) 37 | }) 38 | if (result.feedback.errors.length > 0) exitCode = 1 39 | } 40 | }).finally(() => { 41 | process.exit(exitCode) 42 | }) 43 | --------------------------------------------------------------------------------