Skip to content

Commit b6777f5

Browse files
committed
Definitions for HyperToc vocabulary, i.e. #2766
1 parent ec396bf commit b6777f5

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

data/ext/pending/issue-2766.ttl

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
@prefix : <http://schema.org/> .
2+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
4+
5+
:HyperToc a rdfs:Class ;
6+
rdfs:label "HyperToc" ;
7+
:category "issue-2766" ;
8+
:isPartOf <http://pending.schema.org> ;
9+
:source <https://github.com/schemaorg/schemaorg/issues/2766> ;
10+
rdfs:comment "A HyperToc represents a hypertext table of contents for complex media objects, such as [[VideoObject]], [[AudioObject]]. Items in the table of contents are indicated using the [[tocEntry]] property, and typed [[HyperTocEntry]]." ;
11+
rdfs:subClassOf :CreativeWork .
12+
13+
:HyperTocEntry a rdfs:Class ;
14+
rdfs:label "HyperTocEntry" ;
15+
:category "issue-2766" ;
16+
:isPartOf <http://pending.schema.org> ;
17+
:source <https://github.com/schemaorg/schemaorg/issues/2766> ;
18+
rdfs:comment "A HyperToEntry is an item within a [[HyperToc]], which represents a hypertext table of contents for complex media objects, such as [[VideoObject]], [[AudioObject]]. The media object itself is indicated using [[associatedMedia]]. Each section of interest within that content can be described with a [[HyperTocEntry]], with associated [[startOffset]] and [[endOffset]]." ;
19+
rdfs:subClassOf :CreativeWork .
20+
21+
:tocEntry a rdf:Property ;
22+
rdfs:label "tocEntry" ;
23+
:category "issue-2766" ;
24+
:domainIncludes :HyperToc;
25+
:rangeIncludes :HyperTocEntry;
26+
:isPartOf <http://pending.schema.org> ;
27+
rdfs:subPropertyOf :hasPart;
28+
:source <https://github.com/schemaorg/schemaorg/issues/2766> ;
29+
rdfs:comment "Indicates a [[HyperTocEntry]] in a [[HyperToc]]." .
30+
31+
:utterances a rdf:Property ;
32+
rdfs:label "utterances" ;
33+
:category "issue-2766" ;
34+
:domainIncludes :HyperTocEntry;
35+
:rangeIncludes :HyperTocText;
36+
:isPartOf <http://pending.schema.org> ;
37+
:source <https://github.com/schemaorg/schemaorg/issues/2766> ;
38+
rdfs:comment "Text of an utterances (spoken words, lyrics etc.) that occurs at a certain section of a media object, represented as a [[HyperTocEntry]]." .
39+
40+
# Annotations that amend existing core properties:
41+
#
42+
43+
:startOffset :rangeIncludes :HyperTocEntry .
44+
45+
:endOffset :rangeIncludes :HyperTocEntry .
46+
47+
:associatedMedia :domainIncludes :HyperToc .

0 commit comments

Comments
 (0)