glam/data/ontology/ontolex-frac.ttl

211 lines
7.9 KiB
Turtle

@prefix frac: <http://www.w3.org/ns/lemon/frac#> .
@prefix ontolex: <http://www.w3.org/ns/lemon/ontolex#> .
@prefix synsem: <http://www.w3.org/ns/lemon/synsem#> .
@prefix decomp: <http://www.w3.org/ns/lemon/decomp#> .
@prefix vartrans: <http://www.w3.org/ns/lemon/vartrans#> .
@prefix lime: <http://www.w3.org/ns/lemon/lime#> .
@prefix lexicog: <http://www.w3.org/ns/lemon/lexicog#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix skos: <http://www.w3.org/2004/02/skos#>.
@prefix dbr: <http://dbpedia.org/resource/>.
@prefix dbo: <http://dbpedia.org/ontology/>.
@prefix void: <http://rdfs.org/ns/void#>.
@prefix lexinfo: <http://www.lexinfo.net/ontology/2.0/lexinfo#>.
@prefix dct: <http://purl.org/dc/terms/>.
@prefix provo: <http://www.w3.org/ns/prov#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix oa: <http://www.w3.org/ns/oa#>.
@prefix aat: <http://vocab.getty.edu/aat/>.
@prefix voaf: <http://purl.org/vocommons/voaf#>.
@prefix dcam: <http://purl.org/dc/dcam/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dcmitype: <http://purl.org/dc/dcmitype/>
##########################
# vocabulary declaration #
##########################
<http://www.w3.org/ns/lemon/frac#>
a owl:Ontology, voaf:Vocabulary ;
# owl:imports <http://www.w3.org/ns/lemon/ontolex>
.
#########################
# imported vocabularies #
#########################
rdf:Bag
rdfs:subClassOf rdfs:Container .
rdf:Seq
rdfs:subClassOf rdfs:Container .
rdfs:member
a owl:ObjectProperty .
rdf:value
a owl:DatatypeProperty .
dct:extent
a owl:DatatypeProperty .
dct:description
a owl:DatatypeProperty .
#####################
# top-level classes #
#####################
frac:Observable
a owl:Class ;
skos:definition """Observable is an abstract superclass for any element of a lexical resource that frequency, attestation or corpus-derived information can be expressed about. This includes, among others, `ontolex:LexicalEntry`, `ontolex:LexicalSense`, `ontolex:Form`, and `ontolex:LexicalConcept`. Elements that FrAC properties apply to must be observable in a corpus or another linguistic data source."""@en;
rdfs:label "observable"@en.
ontolex:Form
rdfs:subClassOf frac:Observable .
ontolex:LexicalConcept
rdfs:subClassOf frac:Observable .
ontolex:LexicalEntry
rdfs:subClassOf frac:Observable .
ontolex:LexicalSense
rdfs:subClassOf frac:Observable .
frac:Observation
a owl:Class;
rdfs:subClassOf [
a <http://www.w3.org/2002/07/owl#Restriction> ;
<http://www.w3.org/2002/07/owl#minCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> ;
<http://www.w3.org/2002/07/owl#onProperty> rdf:value
] ;
rdfs:subClassOf [
a <http://www.w3.org/2002/07/owl#Restriction> ;
<http://www.w3.org/2002/07/owl#minCardinality> "1"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> ;
<http://www.w3.org/2002/07/owl#onProperty> frac:observedIn
] ;
# the following constraint is semantically empty
# it is supposed to express that there should be
# a human-readable description, but we don't enforce it
# in order not to break validation
rdfs:subClassOf [
a <http://www.w3.org/2002/07/owl#Restriction> ;
<http://www.w3.org/2002/07/owl#minCardinality> "0"^^<http://www.w3.org/2001/XMLSchema#nonNegativeInteger> ;
<http://www.w3.org/2002/07/owl#onProperty> dct:description
] .
frac:observedIn
a owl:ObjectProperty ;
rdfs:domain frac:Observation ;
rdfs:range [
a owl:Restriction ;
owl:onProperty rdf:type ;
owl:someValuesFrom [
a owl:Restriction ;
owl:onProperty dcam:memberOf ;
owl:hasValue dcterms:DCMIType ] ] ;
rdfs:comment """For an Observation, the property observedIn defines the URI of the data
source (or its metadata entry) that this particular observation was made in or derived from.
This can be, for example, a corpus or a text represented by its access URL, a book
represented by its bibliographical metadata, etc."""@en .
#############
# frequency #
#############
frac:Frequency
a owl:Class ;
rdfs:subClassOf frac:Observation ;
rdfs:subClassOf [
a owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onDataRange xsd:int ;
owl:onProperty rdf:value
] .
frac:frequency
a owl:ObjectProperty ;
rdfs:domain frac:Observable ;
rdfs:range frac:Frequency .
frac:total
a owl:DatatypeProperty, owl:FunctionalProperty ;
rdfs:domain [
a owl:Restriction ;
owl:onProperty rdf:type ;
owl:someValuesFrom [
a owl:Restriction ;
owl:onProperty dcam:memberOf ;
owl:hasValue dcterms:DCMIType ] ] ;
rdfs:range xsd:int ;
rdfs:label "could be renamed to frac:tokens, as different kinds of totals as possible for multi-word expressions"@en .
###############
# attestation #
###############
frac:Attestation
rdfs:subClassOf frac:Observation .
frac:attestation
a owl:ObjectProperty ;
rdfs:domain frac:Observable ;
rdfs:range frac:Attestation ;
rdfs:subPropertyOf frac:citation .
frac:citation
a owl:ObjectProperty ;
rdfs:domain frac:Observable .
frac:gloss
a owl:DatatypeProperty ;
rdfs:domain frac:Attestation ;
rdfs:range xsd:string ;
rdfs:comment "An attestation gloss is the representation of the attestation as provided in a lexical resource. This may contain, for example, amendments or additional comments. For the string as found in the original text, use rdf:value." .
frac:locus
a owl:ObjectProperty ;
rdfs:domain frac:Attestation ;
rdfs:comment """Points from an Observation to the exact location in the source material on where it is to be found. This can be, for example, a page in a book, the string URI of a passage in a text, a canonical reference to a passage in piece of literatur, or any Web Annotation selector. We have confirmed name, function and necessity of this property.
When the locus is provided, it is not necessary to also refer to the source material as a whole. The existence of such a reference is nevertheless implied."""@en .
###############
# collocation #
###############
frac:Collocation
rdfs:subClassOf rdfs:Container, frac:Observable, frac:Observation, [
a owl:Restriction ;
owl:minQualifiedCardinality "2"^^xsd:nonNegativeInteger ;
owl:onClass frac:Observable ;
owl:onProperty rdfs:member
] ,
[
a <http://www.w3.org/2002/07/owl#Restriction> ;
<http://www.w3.org/2002/07/owl#allValuesFrom> <http://www.w3.org/ns/lemon/frac#Observable> ;
<http://www.w3.org/2002/07/owl#onProperty> <http://www.w3.org/2000/01/rdf-schema#member>
] .
frac:cScore
rdfs:subPropertyOf rdf:value ;
rdfs:domain frac:Collocation .
frac:head
a owl:ObjectProperty ;
rdfs:domain frac:Collocation ;
rdfs:range frac:Observable .