Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Extend the model of Segment with additional properties (DEV-3505) #3193

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,27 @@
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasDescription"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasIncomingLink"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasKeyword"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
Expand All @@ -212,13 +226,27 @@
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasTitle"
},
"owl:maxCardinality": 1
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:isAudioSegmentOf"
},
"owl:cardinality": 1
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:relatesTo"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
Expand Down Expand Up @@ -764,6 +792,9 @@
{
"@id": "knora-api:Resource"
},
{
"@id": "http://schema.org/Clip"
},
{
"@id": "http://www.w3.org/ns/ma-ont#Track"
},
Expand All @@ -781,13 +812,27 @@
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasDescription"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasIncomingLink"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasKeyword"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
Expand All @@ -802,13 +847,27 @@
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasTitle"
},
"owl:maxCardinality": 1
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:isSegmentOf"
},
"owl:cardinality": 1
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:relatesTo"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
Expand Down Expand Up @@ -962,13 +1021,27 @@
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasDescription"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasIncomingLink"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasKeyword"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
Expand All @@ -983,13 +1056,27 @@
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:hasTitle"
},
"owl:maxCardinality": 1
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:isVideoSegmentOf"
},
"owl:cardinality": 1
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
"@id": "knora-api:relatesTo"
},
"owl:minCardinality": 0
},
{
"@type": "owl:Restriction",
"owl:onProperty": {
Expand Down Expand Up @@ -1165,6 +1252,32 @@
},
"@id": "knora-api:hasDDDFile"
},
{
"rdfs:label": "has description",
"rdfs:subPropertyOf": [
{
"@id": "knora-api:hasValue"
},
{
"@id": "http://purl.org/dc/terms/description"
},
{
"@id": "http://schema.org/abstract"
},
{
"@id": "http://www.w3.org/ns/ma-ont#description"
}
],
"rdfs:comment": "Indicates the description of a resource",
"@type": "owl:DatatypeProperty",
"knora-api:subjectType": {
"@id": "knora-api:Resource"
},
"knora-api:objectType": {
"@id": "xsd:string"
},
"@id": "knora-api:hasDescription"
},
{
"rdfs:label": "has document",
"rdfs:subPropertyOf": {
Expand Down Expand Up @@ -1225,6 +1338,32 @@
},
"@id": "knora-api:hasIncomingLink"
},
{
"rdfs:label": "has keyword",
"rdfs:subPropertyOf": [
{
"@id": "knora-api:hasValue"
},
{
"@id": "http://purl.org/dc/terms/subject"
},
{
"@id": "http://schema.org/keywords"
},
{
"@id": "http://www.w3.org/ns/ma-ont#hasKeyword"
}
],
"rdfs:comment": "Indicates a keyword of a resource",
"@type": "owl:DatatypeProperty",
"knora-api:subjectType": {
"@id": "knora-api:Resource"
},
"knora-api:objectType": {
"@id": "xsd:string"
},
"@id": "knora-api:hasKeyword"
},
{
"rdfs:label": "has Link to",
"rdfs:subPropertyOf": {
Expand Down Expand Up @@ -1342,6 +1481,32 @@
},
"@id": "knora-api:hasTextFile"
},
{
"rdfs:label": "has title",
"rdfs:subPropertyOf": [
{
"@id": "knora-api:hasValue"
},
{
"@id": "http://purl.org/dc/terms/title"
},
{
"@id": "http://schema.org/headline"
},
{
"@id": "http://www.w3.org/ns/ma-ont#title"
}
],
"rdfs:comment": "Indicates the title of a resource",
"@type": "owl:DatatypeProperty",
"knora-api:subjectType": {
"@id": "knora-api:Resource"
},
"knora-api:objectType": {
"@id": "xsd:string"
},
"@id": "knora-api:hasTitle"
},
{
"rdfs:label": "has value",
"rdfs:subPropertyOf": {
Expand Down Expand Up @@ -1430,6 +1595,9 @@
{
"@id": "knora-api:hasLinkTo"
},
{
"@id": "http://schema.org/isPartOf"
},
{
"@id": "http://www.w3.org/ns/ma-ont#isFragmentOf"
}
Expand Down Expand Up @@ -1489,6 +1657,29 @@
"rdfs:label": "Object type",
"rdfs:comment": "Specifies the required type of the objects of a property"
},
{
"rdfs:label": "relates to",
"rdfs:subPropertyOf": [
{
"@id": "knora-api:hasLinkTo"
},
{
"@id": "http://purl.org/dc/terms/relation"
},
{
"@id": "http://www.w3.org/ns/ma-ont#hasRelatedResource"
}
],
"rdfs:comment": "Indicates that this resource relates to another resource",
"@type": "owl:ObjectProperty",
"knora-api:subjectType": {
"@id": "knora-api:Resource"
},
"knora-api:objectType": {
"@id": "knora-api:Resource"
},
"@id": "knora-api:relatesTo"
},
{
"@id": "knora-api:resourceIcon",
"@type": "owl:DatatypeProperty",
Expand Down
Loading
Loading