Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleAdd a single triple
collapsetrue
{
  "@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/milk> <http://my.authority/vocab/hasLabel> 'milk'@en."
}

...

Code Block
titleAdd an entity with multiple triples
collapsetrue
{
  "@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/hasLabel> 'cow milk'@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
titleAdd an entity with a blank node
collapsetrue
{
  "@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/milk> <http://my.authority/vocab/hasLabel> b1:.
            <b1:> <http://my.authority/vocab/label> 'milk'@en."
}

...

Code Block
titleDelete a single triple
collapsetrue
{
  "@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/milk> <http://my.authority/vocab/hasLabel> 'milk'@en."
}

...

Code Block
titleDelete an entity with multiple triples
collapsetrue
{
  "@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.
            <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
titleDelete a triple with blank node
collapsetrue
{
  "@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/milk> <http://my.authority/vocab/hasLabel> b1:.
            <b1:> <http://my.authority/vocab/label> "milk"@en."
}

...

Code Block
titleDelete a single triple
collapsetrue
{
  "@context": "https://www.w3.org/ns/activitystreams",
  "summary": "Deprecate 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>status> 'milkdeprecated'@en."
}
Code Block
titleDelete an entity with multiple triples
collapsetrue

            <http://my_repo/entity/cow_milk> <http://my.authority/vocab/use_instead> <http://my_repo/entity/bovine_milk>."
}


Change Example:

Code Block
titleChange a single triple
collapsetrue
{
  "@context": "https://www.w3.org/ns/activitystreams",
  "summary": "Delete term milk",
  "type": "Delete",
  "{
  "@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."
}

{
            <http"@context": "https://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
titleDelete a triple with blank node
collapsetrue
{
  "@context": "https://www.w3.org/ns/activitystreams",
  "summary": "Delete term milk",
www.w3.org/ns/activitystreams", 
  "summary": "Add term Milk as a replacement of term milk", 
  "type": "Add", 
  "actor": { 
    "type": "DeleteAuthority",
  "actor": {
    "typeid": "Authority",
    "id": "http://my.authority",
     "name": "My Authority"
  },
  "graph": "<http://my_repo/entity/milk> <http://my.authority/vocab/hasLabel> b1:.
            <b1:> <http://my.authority/vocab/label> "milk"@en."
}

Change Example:

'Milk'@en" 
}


Code Block
titleChange multiple triples for an entity at once
Code Block
titleChange a single triple
collapsetrue
{
  "@context": "https://www.w3.org/ns/activitystreams",
  "summary": "Delete narrower terms termfor 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>narrow_term> 'bovine milk'@en."
}

{
  "@context": "https://www.w3.org/ns/activitystreams", 
  "summary": "Add term Milk as a replacement of term milk",  <http://my_repo/entity/cow_milk> <http://my.authority/vocab/narrow_term> 'oxen milk'@en."
}

{
  "type@context": "Addhttps://www.w3.org/ns/activitystreams", 
  "actorsummary": { 
  "Add narrower terms for 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>narrow_term> 'MilkBovine milk'@en" 
}
Code Block
titleChange multiple triples for an entity at once
collapsetrue
.
            <http://my_repo/entity/cow_milk> <http://my.authority/vocab/narrow_term> 'Oxen milk'@en."
}


Code Block
titleChange a term with blank node intermediary
collapsetrue
{
  "@context": "https://www.w3.org/ns/activitystreams",
  "summary": "Delete term{
  "@context": "https://www.w3.org/ns/activitystreams",
  "summary": "Delete narrower terms for milk",
  "type": "Delete",
  "actor": {
    "type": "Authority",
    "id":   "http://my.authority",
    "name": "My Authority"
  }, 
  "graph": "<http://my_repo/entity/cow_milk> <http://my.authority/vocab/narrow_term> 'bovine milk'@enhasLabel> b1:.
               <http://my_repo/entity/cow_milk>   <b1:> <http://my.authority/vocab/narrow_term>label> 'oxen milk'@en."
}

{
  "@context": "https://www.w3.org/ns/activitystreams", 
  "summary": "Add narrower terms forterm 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/narrow_term> 'Bovine milk'@enhasLabel> b2:.
               <http://my_repo/entity/cow_milk> <b2:> <http://my.authority/vocab/narrow_term>label> 'Oxen milk'@en."}
}
Code Block


Split Example:

NOTE: For entities, Deprecation is preferred over Delete.  As such, the entity being split is shown as deprecated.

Code Block
titleSplit an entity with a single triple into two entitiestitleChange a term with blank node intermediary
collapsetrue
{
  "@context": "https://www.w3.org/ns/activitystreams",
  "summary": "DeleteAdd term bovine milk split from cow milk",
  "type": "DeleteAdd",
  "actor": {
    "type": "Authority",
    "id":   "http://my.authority",
    "name": "My Authority"
  }, 
  "graph": "<http://my_repo/entity/bovine_milk> <http://my.authority/vocab/hasLabel> b1:.
            <b1:> <http://my.authority/vocab/label> 'milk'@en."}

{
  "@context"'bovine milk'@en."
}

{
  "@context": "https://www.w3.org/ns/activitystreams", 
  "summary": "Add term Milkoxen asmilk asplit replacementfrom ofcow term milk", 
  "type": "Add", 
  "actor": { 
    "type": "Authority", 
    "id":   "http://my.authority",
    "name": "My Authority"
  },
  "graph": "<http://my_repo/entity/oxen_milk> <http://my.authority/vocab/hasLabel> b2:.
            <b2:> <http://my.authority/vocab/label> 'milk'@en."}
}

Split Example:

Code Block
titleSplit an entity with a single triple into two entities
collapsetrue
{ 
  "'oxen milk'@en" 
}

{ 
  "@context": "https://www.w3.org/ns/activitystreams", 
  "summary": "DeleteDeprecate term cow milk", 
  ". Being split into bovine milk and oxen milk.", 
  "type": "DeleteDeprecated", 
  "actor": { 
    "type": "Authority", 
    "id":   "http://my.authority",
    
    "name": "My Authority"
  }, 
  "graph": "<http://my_repo/entity/cow_milk> <http://my.authority/vocab/hasLabel>status> 'cow milkdeprecated'@en." 
}

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "summary": "Add term bovine 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/use_instead> <http://my_repo/entity/bovine_milk>.
            <http://my_repo/entity/cow_milk> <http://my.authority/vocab/use_instead> <http://my_repo/entity/bovineoxen_milk> <http://my.authority/vocab/hasLabel> 'bovine milk'@en."
}

{


Code Block
titleSplit an entity with multiple triples into two entities
collapsetrue
{ 
  "@context": "https://www.w3.org/ns/activitystreams", 
   "summary": "AddDeprecate termtriples oxenrelated milk splitto from cow milk.", 
   "type": "AddDelete", 
  "actor": { 
    "type": "Authority", 
    "id":   "http://my.authority",    
     "name": "My Authority"
   },  
  "graph": "<http://my_repo/entity/oxencow_milk> <http://my.authority/vocab/hasLabel> 'oxen milk'@en" 
}
Code Block
titleSplit an entity with multiple triples into two entities
collapsetrue
{ 
  "@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.
              <http://my_repo/entity/cow_milk> <http://my.authority/vocab/altLabel> <http://my_repo/entity/bovine_milk>.
              <httpaltLabel> <http://my_repo/entity/bovine_milk>.
            <http://my_repo/entity/cow_milk> <http://my.authority/vocab/altLabel> <http://my_repo/entity/oxen_milk>. 
}  

{
  "@context": "https://www.w3.org/ns/activitystreams",
  "summary": "Add term bovine milk split from cow milk",
  "type": "Add",
  "actor": {
    "type": "Authority",
    "id":   "http://my.authority",
    "name": "My Authority"
  },
  "graph": "<http://my_repo/entity/cowbovine_milk> <http://my.authority/vocab/altLabel> <http://my_repo/entity/oxen_milk>. }hasLabel> 'bovine milk'@en."
}

{
  "@context": "https://www.w3.org/ns/activitystreams", 
  "summary": "Add term bovineoxen milk split from cow milk", 
  "type": "Add", 
  "actor": { 
    "type": "Authority", 
    "id": "http://my.authority",
     "name": "My Authority"
  },
  "graph": "<http://my_repo/entity/bovineoxen_milk> <http://my.authority/vocab/hasLabel> 'bovineoxen milk'@en" 
}

{
  "@context": "https://www.w3.org/ns/activitystreams"
}

{
,
  "summary": "Deprecate term cow milk. Being split into bovine milk and oxen milk.",
  "@contexttype": "https://www.w3.org/ns/activitystreams", Deprecated",
  "actor": {
    "summarytype": "Authority"Add,
 term oxen milk split from cow milk", 
  "type": "Add", 
  "actor": { "id": "http://my.authority",
    "name": "My Authority"
  },
  "graph": "<http://my_repo/entity/cow_milk> <http://my.authority/vocab/status> 'deprecated'.
    "type": "Authority", 
     "id": "http  <http://my_repo/entity/cow_milk> <http://my.authority/vocab/use_instead> <http://my.authority",_repo/entity/bovine_milk>.
    "name": "My Authority"
   },
    "graph": "<http://my_repo/entity/oxencow_milk> <http://my.authority/vocab/hasLabel> 'oxen milk'@en" 
}use_instead> <http://my_repo/entity/oxen_milk>."
}


Code Block
titleChange a term with blank node intermediary
collapsetrue
{
  "@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/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/milk> <http://my.authority/vocab/hasLabel> b2:.
            <b2:> <http://my.authority/vocab/label> 'milk'@en."}}

...