Skip to content

Commit

Permalink
Add ConsumeAction children
Browse files Browse the repository at this point in the history
  • Loading branch information
hyfen committed Apr 26, 2024
1 parent 9bb289e commit 1c5a3bd
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 1 deletion.
38 changes: 37 additions & 1 deletion schema/chronicle_schema_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@
{
"id": "https://schema.chronicle.app/ConsumeAction",
"subtype_ids": [
"https://schema.chronicle.app/ListenAction"
"https://schema.chronicle.app/ListenAction",
"https://schema.chronicle.app/ReadAction",
"https://schema.chronicle.app/UseAction",
"https://schema.chronicle.app/ViewAction",
"https://schema.chronicle.app/WatchAction"
],
"see_also": "https://schema.org/ConsumeAction",
"comment": "The act of ingesting information/resources/food."
Expand Down Expand Up @@ -416,6 +420,14 @@
"see_also": "https://schema.org/ReactAction",
"comment": "The act of responding instinctively and emotionally to an object, expressing a sentiment."
},
{
"id": "https://schema.chronicle.app/ReadAction",
"subtype_ids": [

],
"see_also": "https://schema.org/ReadAction",
"comment": "The act of consuming written content."
},
{
"id": "https://schema.chronicle.app/SchoolDistrict",
"subtype_ids": [
Expand Down Expand Up @@ -479,13 +491,37 @@
"see_also": "https://schema.org/UpdateAction",
"comment": "The act of managing by changing/editing the state of the object."
},
{
"id": "https://schema.chronicle.app/UseAction",
"subtype_ids": [

],
"see_also": "https://schema.org/UseAction",
"comment": "The act of applying an object to its intended purpose."
},
{
"id": "https://schema.chronicle.app/VideoObject",
"subtype_ids": [

],
"see_also": "https://schema.org/VideoObject",
"comment": "A video file."
},
{
"id": "https://schema.chronicle.app/ViewAction",
"subtype_ids": [

],
"see_also": "https://schema.org/ViewAction",
"comment": "The act of consuming static visual content."
},
{
"id": "https://schema.chronicle.app/WatchAction",
"subtype_ids": [

],
"see_also": "https://schema.org/WatchAction",
"comment": "The act of consuming dynamic/moving visual content."
}
],
"properties": [
Expand Down
4 changes: 4 additions & 0 deletions schema/chronicle_schema_v1.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@

pick_type :ConsumeAction do
pick_type :ListenAction
pick_type :ReadAction
pick_type :UseAction
pick_type :ViewAction
pick_type :WatchAction
end

pick_type :InteractAction do
Expand Down
20 changes: 20 additions & 0 deletions schema/chronicle_schema_v1.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@
rdfs:seeAlso schemaorg:ReactAction;
rdfs:subClassOf :AssessAction .
:ReadAction a rdfs:Class;
rdfs:comment "The act of consuming written content.";
rdfs:seeAlso schemaorg:ReadAction;
rdfs:subClassOf :ConsumeAction .
:SchoolDistrict a rdfs:Class;
rdfs:comment "A School District is an administrative area for the administration of schools.";
rdfs:seeAlso schemaorg:SchoolDistrict;
Expand Down Expand Up @@ -290,11 +295,26 @@
rdfs:seeAlso schemaorg:UpdateAction;
rdfs:subClassOf :Action .
:UseAction a rdfs:Class;
rdfs:comment "The act of applying an object to its intended purpose.";
rdfs:seeAlso schemaorg:UseAction;
rdfs:subClassOf :ConsumeAction .
:VideoObject a rdfs:Class;
rdfs:comment "A video file.";
rdfs:seeAlso schemaorg:VideoObject;
rdfs:subClassOf :MediaObject .
:ViewAction a rdfs:Class;
rdfs:comment "The act of consuming static visual content.";
rdfs:seeAlso schemaorg:ViewAction;
rdfs:subClassOf :ConsumeAction .
:WatchAction a rdfs:Class;
rdfs:comment "The act of consuming dynamic/moving visual content.";
rdfs:seeAlso schemaorg:WatchAction;
rdfs:subClassOf :ConsumeAction .
<https://schema.chronicle.app> a owl:Ontology;
owl:versionInfo "1" .
Expand Down

0 comments on commit 1c5a3bd

Please sign in to comment.