...
Code Block | ||
---|---|---|
| ||
{ "@context": "https://www.w3.org/ns/activitystreams", "summary": "Add term milk", "type": "Add", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/uri/of/new/entity>entity/cow_milk> <http://my.authority/vocab/hasLabel> 'milk'@en." } |
Code Block | ||
---|---|---|
| ||
{ "@context": "https://www.w3.org/ns/activitystreams", "summary": "Add term milk", "type": "Add", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/entity/cow_milk> <http://my.authority/vocab/term>hasLabel> 'cow "milk"@en." '@en. <http://my_repo/entity/cow_milk> <http://my.authority/vocab/broader_term> <http://my_repo/entity/milk>. <http://my_repo/entity/cow_milk> <http://my.authority/vocab/narrow_term> <http://my_repo/entity/bovine_milk>. } |
Code Block | ||
---|---|---|
| ||
{ "@context": "https://www.w3.org/ns/activitystreams", "summary": "Add term milk", "type": "Add", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/uri/of/new/entity>entity/cow_milk> <http://my.authority/vocab/term>hasLabel> b1:. <b1:> <http://my.authority/vocab/hasLabel>label> "'milk"'@en." } |
Delete Example:
Code Block | ||
---|---|---|
| ||
{ "@context": "https://www.w3.org/ns/activitystreams", "summary": "Delete term milk", "type": "Delete", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/uri/of/new/entity>/entity/cow_milk> <http://my.authority/vocab/hasLabel> 'milk'@en." } |
Code Block | ||
---|---|---|
| ||
{ "@context": "https://www.w3.org/ns/activitystreams", "summary": "Delete entity milk", "type": "Delete", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/entity/cow_milk> <http://my.authority/vocab/term>hasLabel> 'cow "milk"@en" '@en. <http://my_repo/entity/cow_milk> <http://my.authority/vocab/broader_term> <http://my_repo/entity/milk>. <http://my_repo/entity/cow_milk> <http://my.authority/vocab/narrow_term> <http://my_repo/entity/bovine_milk>. } |
Code Block | ||
---|---|---|
| ||
{ "@context": "https://www.w3.org/ns/activitystreams", "summary": "Delete term milk", "type": "Delete", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/uri/of/new/entity>entity/cow_milk> <http://my.authority/vocab/term>hasLabel> b1:. <b1:> <http://my.authority/vocab/hasLabel>label> "milk"@en." } |
Change Example:
Code Block | ||
---|---|---|
| ||
{ "@context": "https://www.w3.org/ns/activitystreams", "summary": "Delete term milk", "type": "Delete", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/uri/of/new/entity>entity/cow_milk> <http://my.authority/vocab/hasLabel> 'milk'@en." } { "@context": "https://www.w3.org/ns/activitystreams", "summary": "Add term Milk as a replacement of term milk", "type": "Add", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/entity/cow_milk> <http://my.authority/vocab/term> "milk"@en" /hasLabel> 'Milk'@en" } |
Code Block | ||
---|---|---|
| ||
{ "@context": "https://www.w3.org/ns/activitystreams", "summary": "Delete term milk", "type": "Delete", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/entity/cow_milk> <http://my.authority/vocab/hasLabel> b1:. <b1:> <http://my.authority/vocab/label> 'milk'@en."} { "@context": "https://www.w3.org/ns/activitystreams", "summary": "Add term Milk as a replacement of term milk", "type": "Add", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/entity/cow_milk> <http://my.authority/vocab/hasLabel> b2:. <b2:> <http://my.authority/vocab/label> 'milk'@en."}} |
Split Example:
Code Block | ||
---|---|---|
| ||
{ "@context": "https://www.w3.org/ns/activitystreams", "summary": "Delete term cow milk", "type": "Delete", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/entity/cow_milk> <http://my.authority/vocab/hasLabel> 'cow milk'@en." } { "@context": "https://www.w3.org/ns/activitystreams", "summary": "Add term bovine milk split from cow milk", "type": "Delete", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/uri/of/entity/cow_milk> <http://my.authority/vocab/hasLabel> 'bovine milk'@en." } { "@context": "https://www.w3.org/ns/activitystreams", "summary": "Add term oxen milk split from cow milk", "type": "Add", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/entity/cow_milk> <http://my.authority/vocab/hasLabel> 'oxen milk'@en" } |
Code Block | ||
---|---|---|
| ||
{ "@context": "https://www.w3.org/ns/activitystreams", "summary": "Delete term milk", "type": "Delete", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/entity/cow_milk> <http://my.authority/vocab/hasLabel> b1:. <b1:>/new/entity> <http://my.authority/vocab/term> "Milk"@en" label> 'milk'@en."} { "@context": "https://www.w3.org/ns/activitystreams", "summary": "Add term Milk as a replacement of term milk", "type": "Add", "actor": { "type": "Authority", "id": "http://my.authority", "name": "My Authority" }, "graph": "<http://my_repo/entity/cow_milk> <http://my.authority/vocab/hasLabel> b2:. <b2:> <http://my.authority/vocab/label> 'milk'@en."}} |
RDF Diff
- Provides info on several tools that (for the most part) compare 2 graphs and report on differences (https://www.w3.org/2001/sw/wiki/How_to_diff_RDF)
...