From 2d143b225a6046d0298370072962ad10d28dc74e Mon Sep 17 00:00:00 2001 From: Cory Slep Date: Sun, 5 Jul 2020 21:47:08 +0200 Subject: [PATCH] Add source property to activitystreams OWL file --- astool/activitystreams.jsonld | 49 +++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/astool/activitystreams.jsonld b/astool/activitystreams.jsonld index 708d2f0..2898eb3 100644 --- a/astool/activitystreams.jsonld +++ b/astool/activitystreams.jsonld @@ -4248,6 +4248,55 @@ "name": "published", "url": "https://www.w3.org/TR/activitystreams-vocabulary/#dfn-published" }, + { + "id": "https://www.w3.org/TR/activitypub/#source-property", + "type": [ + "rdf:Property", + "owl:ObjectProperty", + "owl:FunctionalProperty" + ], + "example": { + "id": "https://www.w3.org/TR/activitypub/#source-property", + "type": "http://schema.org/CreativeWork", + "mainEntity": { + "@context": ["https://www.w3.org/ns/activitystreams", {"@language": "en"}], + "type": "Note", + "id": "http://postparty.example/p/2415", + "content": "

I really like strawberries!

", + "source": { + "content": "I *really* like strawberries!", + "mediaType": "text/markdown"} + }, + "name": "Example 8" + }, + "notes": "The source property is intended to convey some sort of source from which the content markup was derived, as a form of provenance, or to support future editing by clients.", + "domain": { + "type": "owl:Class", + "unionOf": { + "type": "owl:Class", + "url": "https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object", + "name": "Object" + } + }, + "isDefinedBy": "https://www.w3.org/TR/activitypub/#source-property", + "range": { + "type": "owl:Class", + "unionOf": [ + { + "type": "owl:Class", + "url": "https://www.w3.org/TR/activitystreams-vocabulary/#dfn-object", + "name": "Object" + }, + { + "type": "owl:Class", + "url": "https://www.w3.org/TR/activitystreams-vocabulary/#dfn-link", + "name": "Link" + } + ] + }, + "name": "source", + "url": "https://www.w3.org/TR/activitypub/#source-property" + }, { "id": "https://www.w3.org/ns/activitystreams#startTime", "type": [