Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
BEOL: Import comments for Meditationes (#1281)
* feature (beol): add entryComment to ontology

* fix (beol): fix label
  • Loading branch information
tobiasschweizer committed May 14, 2019
1 parent 522b3a9 commit 9480f42
Showing 1 changed file with 75 additions and 0 deletions.
75 changes: 75 additions & 0 deletions webapi/_test_data/ontologies/beol-onto.ttl
Expand Up @@ -1453,6 +1453,43 @@
rdfs:comment """Dieser Brief ist auch vorhanden in"""@de ,
"""Letter is also available at"""@en .

### ###########################################
### beol:entryCommentOf

:entryCommentOf rdf:type owl:ObjectProperty ;

rdfs:subPropertyOf knora-base:hasLinkTo ;

rdfs:comment "Kommentar zu"@de ,
"Comment of"@en ;

rdfs:label "Kommentar zu"@de ,
"Comment of"@en ;

knora-base:subjectClassConstraint :entryComment ;

knora-base:objectClassConstraint :manuscriptEntry ;

salsah-gui:guiElement salsah-gui:Searchbox .


### ###########################################
### beol:entryCommentOfValue

:entryCommentOfValue rdf:type owl:ObjectProperty ;

knora-base:objectClassConstraint knora-base:LinkValue ;

knora-base:subjectClassConstraint :entryComment ;

rdfs:subPropertyOf knora-base:hasLinkToValue ;

rdfs:comment "Kommentar zu"@de ,
"Comment of"@en ;

rdfs:label "Kommentar von"@de ,
"Comment of"@en .

##########################################################
#
# RESOURCES
Expand Down Expand Up @@ -2068,6 +2105,44 @@
rdfs:label "Transkription"@de ,
"Transcription"@en .

### ###########################################
### beol:comment

:entryComment rdf:type owl:Class ;

rdfs:subClassOf knora-base:Resource ,

[
rdf:type owl:Restriction ;
owl:onProperty :hasText ;
owl:minCardinality "1"^^xsd:nonNegativeInteger ;
salsah-gui:guiOrder "0"^^xsd:nonNegativeInteger
] ,
[
rdf:type owl:Restriction ;
owl:onProperty :seqnum ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
salsah-gui:guiOrder "1"^^xsd:nonNegativeInteger
] ,
[
rdf:type owl:Restriction ;
owl:onProperty :entryCommentOf ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
salsah-gui:guiOrder "2"^^xsd:nonNegativeInteger
] ,
[
rdf:type owl:Restriction ;
owl:onProperty :entryCommentOfValue ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
salsah-gui:guiOrder "2"^^xsd:nonNegativeInteger
] ;

rdfs:label "Kommentar zu Manuskripteintrag"@de ,
"Comment of an entry in a manuscript"@en ;

rdfs:comment "Kommentar zu Manuskripteintrag"@de ,
"Comment of an entry in a manuscript"@en .

### ###########################################
### beol:manuscriptEntry

Expand Down

0 comments on commit 9480f42

Please sign in to comment.