<commit_before>@prefix memex: <http://memexproxy.com/ontology/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix schema: <http://schema.org/> .
@prefix prov: <http://www.w3.org/ns/prov#> .

<http://memexproxy.com/ontology/> rdf:type owl:Ontology .


#########################################################
#
# Classes
#
#########################################################


memex:URLEntity rdf:type owl:Class ; 
	rdfs:label "URLEntity"@en ;
	rdfs:comment """Represents an address on the Web from where we can retrieve a resource.
	Each time we dereference a URL we get a schema:CreativeWork, which we call a memex:snapshot"""
	.

memex:Appellation rdf:type owl:Class ;
	rdfs:label "Appellation"@en ;
	rdfs:comment """A string to refer to an entity."""
	.

memex:Name rdf:type owl:Class ;
	rdfs:subClassOf memex:Appellation ;
	rdfs:label "Name"@en ;
	rdfs:comment """Represents the Name of an entity."""
	.

memex:Identifier rdf:type owl:Class ;
	rdfs:subClassOf memex:Appellation ;
	rdfs:label "Identifier"@en ;
	rdfs:comment """Identifier of an entity"""	
	.

memex:PhoneNumber rdf:type owl:Class ; 
	rdfs:subClassOf memex:Identifier ;
	rdfs:subClassOf memex:Feature ;
	rdfs:label "PhoneNumber"@en ;
	skos:note """Still wavering whether a phone number is a subclass of Identifier.
	Clearly not an appropriate identifier for a person given that numbers get recycled.""" ;
	rdfs:comment """A phone number."""
	.

memex:EmailAddress rdf:type owl:Class ; 
	rdfs:subClassOf memex:Identifier ;
	rdfs:label "EmailAddress"@en ;
	skos:note """Still wavering whether an email address is a subclass of Identifier.""" ;
	rdfs:comment """An email address."""
	.

memex:PersonName rdf:type owl:Class ; 
	rdfs:label "PersonName"@en ;
	rdfs:subClassOf memex:Feature ;
	skos:note """Defining as a class so that we can attach provenance to the object""" ;
	rdfs:comment """A person name."""
	.

memex:Ethnicity rdf:type owl:Class ; 
	rdfs:label "Ethnicity"@en ;
	rdfs:comment """Represents Identity with or membership in a particular racial, national,
	 or cultural group and observance of that group's customs, beliefs, and language."""
	.

memex:AgeGroup rdf:type owl:Class ; 
	rdfs:label "AgeGroup"@en ;
	rdfs:comment """Represents an age group, such as young, old, child."""
	.

memex:Preference rdf:type owl:Class ; 
	rdfs:label "Preference"@en ;
	rdfs:comment """Represents a preference that af Person or Organization may have
	about a certain subject."""
	.

memex:Boolean rdf:type owl:Class ; 
	rdfs:label "Boolean"@en ;
	rdfs:comment """Represents a Boolean value.
	The admissible instances are http://memexproxy.com/data/boolean/true and false."""
	.

memex:Feature rdf:type owl:Class ; 
	rdfs:label "Feature"@en ;
	rdfs:comment """Represents a feature. Typically, features are derived from extractions
	from Web pages. Their purpose is to represent information about an entity when the 
	identity of the entity is still unknown."""
	.

memex:FeatureCollection rdf:type owl:Class ; 
	rdfs:label "Feature"@en ;
	rdfs:comment """A collection of Feature."""
	.

memex:BinaryFeature rdf:type owl:Class ; 
	rdfs:subClassOf memex:Feature ;
	rdfs:label "Feature"@en ;
	rdfs:comment """Represents a binary feature. Binary features are coded as
	URI so that if the URI is present the feature is true, and when it is absent
	the feature is false."""
	.

schema:PostalAddress rdf:type owl:Class ;
	rdfs:subClassOf memex:Feature ;
	.

memex:Thread rdf:type owl:Class ;
	rdfs:subClassOf schema:CreativeWork ;
	rdfs:comment """A thread in a forum or other kind of set of articles"""
	.

memex:Cluster rdf:type owl:Class ;
	rdfs:subClassOf memex:Feature ;
	rdfs:label "Cluster"@en ;
	rdfs:comment """Represents a cluster of Features"""
    . 
	
#########################################################
#
# Object Properties
#
#########################################################

memex:snapshot rdf:type owl:ObjectProperty ; 
	rdfs:label "snapshot"@en ;
	rdfs:domain memex:URLEntity ; 
	rdfs:range schema:CreativeWork ;
	owl:inverseOf memex:isSnapshotOf ;
	rdfs:comment "Identifies a resource download from a url." 
	.

memex:isSnapshotOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isSnapshotOf"@en ;
	rdfs:domain schema:CreativeWork ;
	rdfs:range memex:URLEntity ; 
	owl:inverseOf memex:snapshot ;
	rdfs:comment "Inverse of memex:snapshot." 
	.

memex:identifier rdf:type owl:ObjectProperty ; 
	rdfs:label "identifier"@en ;
	rdfs:range memex:Identifier ;
	rdfs:comment "An identifier of an entity." 
	.

memex:preferredIdentifier rdf:type owl:ObjectProperty ; 
	rdfs:subPropertyOf memex:identifier ;
	rdfs:label "preferredIdentifier"@en ;
	rdfs:range memex:Identifier ;
	rdfs:comment "The preferred identifier of an entity." 
	.

memex:hasTitlePart rdf:type owl:ObjectProperty ; 
	rdfs:label "hasTitlePart"@en ;
	rdfs:subPropertyOf schema:hasPart ;
	rdfs:comment "Identifies the title part of a schema:CreativeWork." 
	.

memex:isTitlePartOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isTitlePartOf"@en ;
	owl:inverseOf  memex:hasTitlePart ;
	rdfs:comment "Identifies the title part of a schema:CreativeWork." 
	.

memex:hasAbstractPart rdf:type owl:ObjectProperty ; 
	rdfs:label "hasAbstractPart"@en ;
	rdfs:subPropertyOf schema:hasPart ;
	rdfs:comment "Identifies the abstract part of a schema:CreativeWork." 
	.

memex:isAbstractPartOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isAbstractPartOf"@en ;
	owl:inverseOf  memex:hasAbstractPart ;
	rdfs:comment "Identifies the abstract part of a schema:CreativeWork." 
	.

memex:hasBodyPart rdf:type owl:ObjectProperty ; 
	rdfs:label "hasBodyPart"@en ;
	rdfs:subPropertyOf schema:hasPart ;
	rdfs:comment "Identifies the body part of a schema:CreativeWork."
	.

memex:isBodyPartOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isBodyPartOf"@en ;
	owl:inverseOf memex:hasBodyPart ;
	rdfs:comment "Identifies the body part of a schema:CreativeWork." 
	.

memex:hasImagePart rdf:type owl:ObjectProperty ; 
	rdfs:label "hasImagePart"@en ;
	rdfs:subPropertyOf schema:hasPart ;
	rdfs:range schema:ImageObject ;
	rdfs:comment "Identifies an ImageObject that is part of a schema:CreativeWork." 
	.

memex:isImagePartOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isImagePartOf"@en ;
	owl:inverseOf memex:hasImagePart ;
	rdfs:range schema:ImageObject ;
	rdfs:comment "Identifies an ImageObject that is part of a schema:CreativeWork." 
	.

memex:hasSignaturePart rdf:type owl:ObjectProperty ; 
	rdfs:label "hasSignaturePart"@en ;
	owl:inverseOf memex:isSignaturePartOf ;
	rdfs:comment "Identifies a signature part of a schema:CreativeWork." 
	.

memex:isSignaturePartOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isSignaturePartOf"@en ;
	owl:inverseOf memex:hasSignaturePart ;
	rdfs:comment "Identifies the work that this is a part of." 
	.

memex:urlEntity rdf:type owl:ObjectProperty ; 
	rdfs:label "urlEntity"@en ;
	rdfs:domain schema:CreativeWork ; 
	rdfs:range memex:URLEntity ;
	skos:note """schema.org has a schema:url property, but it is a DatatypeProperty, 
	and urlEntity is an ObjectProperty. We define the domain as schema:CreativeWork as opposed
	to owl:Thing as defined in schema.org.""" ;
	rdfs:comment "The URL of a schema:CreativeWork." 
	.

memex:primaryLocation rdf:type owl:ObjectProperty ; 
	rdfs:label "postingLocation"@en ;
	rdfs:subPropertyOf schema:mentions ;
	rdfs:domain schema:CreativeWork ;
	rdfs:range schema:Place ;
	rdfs:comment "The primary location associated with a schema:CreativeWork." 
	.

memex:pseudonym rdf:type owl:ObjectProperty ; 
	rdfs:label "pseudonym"@en ;
	rdfs:domain schema:Person ;
	rdfs:range memex:PersonName ;
	rdfs:comment "The pseudonym of a person." 
	.

memex:emailAddress rdf:type owl:ObjectProperty ; 
	rdfs:label "emailAddress"@en ;
	rdfs:domain schema:Person ;
	rdfs:range memex:EmailAddress ;
	rdfs:comment "The email address of a person." 
	.

memex:ethnicity rdf:type owl:ObjectProperty ; 
	rdfs:label "ethnicity"@en ;
	rdfs:domain schema:Person ;
	rdfs:range memex:Ethnicity ;
	rdfs:comment "The ethnicity of a person." 
	.

memex:age rdf:type owl:ObjectProperty ; 
	rdfs:label "age"@en ;
	rdfs:domain schema:Person ;
	rdfs:range memex:Age ;
	rdfs:comment "The age of a person." 
	.

memex:preferenceQualifier rdf:type owl:ObjectProperty ; 
	rdfs:label "preferenceQualifier"@en ;
	rdfs:domain memex:Preference ;
	rdfs:comment """The qualifier of a preference. 
	The values in the range are URIs that form a controlled vocabulary;
	they include values such as http://..../preferencequalifier/only"""
	.

memex:preferenceSubject rdf:type owl:ObjectProperty ; 
	rdfs:label "preferenceSubject"@en ;
	rdfs:domain memex:Preference ;
	rdfs:comment """The thing about which a preference is stated. 
	The values in the range are URIs that form a controlled vocabulary;
	they include values such as http://..../agegroup/young"""
	.

memex:hasFeatureCollection rdf:type owl:ObjectProperty ; 
	rdfs:label "hasFeatureCollection"@en ;
	rdfs:domain schema:CreativeWork ;
	rdfs:range memex:FeatureCollection ;
	rdfs:comment """The FeatureCollection associated with CreativeWork."""
	.

memex:hasFeatures rdf:type owl:ObjectProperty ; 
	rdfs:label "hasFeatures"@en ;
	rdfs:domain memex:FeatureCollection ;
	rdfs:range memex:Feature ;
	rdfs:comment """The member Features of a FeatureCollection."""
	.

memex:featureObject rdf:type owl:ObjectProperty ; 
	rdfs:label "featureObject"@en ;
	rdfs:domain memex:Feature ;
	rdfs:comment """The value of a feature represented as an object."""
	.

memex:hasName rdf:type owl:ObjectProperty ; 
	rdfs:label "hasName"@en ;
	rdfs:range memex:Name ;
	rdfs:comment """The Name of an entity"""
	.

memex:hasIdentifier rdf:type owl:ObjectProperty ; 
	rdfs:label "hasIdentifier"@en ;
	rdfs:range memex:Identifier ;
	rdfs:comment """The Identifier of an entity"""
	.

memex:hasType rdf:type owl:ObjectProperty ; 
	rdfs:label "hasType"@en ;
	rdfs:range skos:Concept ;
	rdfs:comment """The Type of an entity"""
	.

memex:ServiceRate rdf:type owl:Class ;
	rdfs:label "ServiceRate"@en ;
	rdfs:comment """Represents the monetary Rate charged for a Service""" ;
	rdfs:subClassOf schema:UnitPriceSpecification ;
	rdfs:subClassOf memex:Feature ;
	.

memex:SimilarObject rdf:type owl:Class ;
	rdfs:label "SimilarObject"@en ;
	rdfs:comment """Represents an object that is similar to another object""" ;
	rdfs:subClassOf schema:CreativeWork ;
	rdfs:subClassOf memex:Feature ;
	.

#########################################################
#
# Data Properties
#
#########################################################

schema:url rdf:type owl:DatatypeProperty ;
	rdfs:label "url"@en ;
	skos:note """The owl file for schema.org is missing the url property, which is in schema.org.""" ;
	rdfs:comment "The URL of a resource." 
	.

memex:isoCode rdf:type owl:DatatypeProperty ;
	rdfs:label "isoCode"@en ;
	skos:note """The ISO Code for things like Country etc.""" ;
	rdfs:comment "The ISO code of a resource." 
	.

memex:cacheUrl rdf:type owl:DatatypeProperty ;
	rdfs:label "cacheUrl"@en ;
	rdfs:subPropertyOf schema:url ;
	rdfs:comment "The URL of a cached version of a resource." 
	.

memex:tenDigitPhoneNumber rdf:type owl:DatatypeProperty ;
	rdfs:label "tenDigitPhoneNumber"@en ;
	rdfs:domain memex:PhoneNumber ;
	rdfs:comment "The 10 digit number of a USA phone number." 
	.

memex:confidence rdf:type owl:DataTypeProeprty ;
	rdfs:label "confidence"@en ;
	rdfs:comment "Confidence value associated with mention"
	.

memex:featureName rdf:type owl:DatatypeProperty ; 
	rdfs:label "featureName"@en ;
	rdfs:domain memex:Feature ;
	rdfs:comment """The name of a feature in a controlled vocabulary of feature names."""
	.
	
memex:featureValue rdf:type owl:DatatypeProperty ;
	rdfs:label "featureValue"@en ;
	rdfs:domain memex:Feature ;
	rdfs:comment "The value of a Feature represented as a literal." 
	.
 
memex:snapshotUri rdf:type owl:DatatypeProperty ;
	rdfs:label "snapshotUri"@en ;
	rdfs:domain schema:CreativeWork ;
	rdfs:comment "The cache snapshot URI for the Creative Work"
	.

memex:databaseId rdf:type owl:DatatypeProperty ;
	rdfs:label "databaseId"@en ;
	rdfs:comment """The database ID of an item. 
	In our simple provenance model we provide database IDs on prov:Activities that process database records."""
	.

memex:dateCrawled rdf:type owl:DatatypeProperty ;
	rdfs:label "dateCrawled"@en ;
	rdfs:comment "The Date the CreativeWork was crawled" ;
	rdfs:domain schema:CreativeWork ;
	rdfs:range xsd:date
	.

memex:dateMostLikelyCreated rdf:type owl:DatatypeProperty ;
	rdfs:label "dateMostLikelyCreated"@en ;
	rdfs:comment "The Date the CreativeWork was post likelt created, which could be the posttime if available, else import time" ;
	rdfs:domain schema:CreativeWork ;
	rdfs:range xsd:date
	.

memex:countryDialingCode rdf:type owl:DatatypeProperty ;
    rdfs:label "countryDialingCode"@en ;
	rdfs:comment "The dialing code for a Country" ;
	rdfs:domain memex:PhoneNumber
	.

memex:localPhoneNumber rdf:type owl:DatatypeProperty ;
    rdfs:label "localPhoneNumber"@en ;
	rdfs:comment "Phone Number without the country code" ;
	rdfs:domain memex:PhoneNumber
	.

memex:digitalObjectIdentifier rdf:type owl:DatatypeProperty ;
    rdfs:label "digitalObjectIdentifier"@en ;
	rdfs:comment "Unique Identifier for an Object" ;
	rdfs:domain schema:CreativeWork
	.

memex:textChecksum rdf:type owl:DatatypeProperty ;
    rdfs:label "textChecksum"@en ;
	rdfs:comment "MD5 or SHA checksum of the text of the CreativeWork" ;
	rdfs:domain schema:CreativeWork
	.

memex:similar_url rdf:type owl:DatatypeProperty ;
	rdfs:label "similar_url"@en ;
	rdfs:comment "The URL of a similar object" ;
	rdfs:domain memex:SimilarObject
	.

memex:similarity_score rdf:type owl:DatatypeProperty ;
	rdfs:label "similarity_score"@en ;
	rdfs:comment "The measure of how similar an object is" ;
	rdfs:domain memex:SimilarObject
	.

memex:numberOfItems rdf:type owl:DatatypeProperty ;
    rdfs:label "numberOfItems"@en ;
	rdfs:comment "Number of Items in a Cluster" ;
	rdfs:domain memex:Cluster
	.






<commit_msg>add Post and its links to/from Thread<commit_after>@prefix memex: <http://memexproxy.com/ontology/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix schema: <http://schema.org/> .
@prefix prov: <http://www.w3.org/ns/prov#> .

<http://memexproxy.com/ontology/> rdf:type owl:Ontology .


#########################################################
#
# Classes
#
#########################################################


memex:URLEntity rdf:type owl:Class ; 
	rdfs:label "URLEntity"@en ;
	rdfs:comment """Represents an address on the Web from where we can retrieve a resource.
	Each time we dereference a URL we get a schema:CreativeWork, which we call a memex:snapshot"""
	.

memex:Appellation rdf:type owl:Class ;
	rdfs:label "Appellation"@en ;
	rdfs:comment """A string to refer to an entity."""
	.

memex:Name rdf:type owl:Class ;
	rdfs:subClassOf memex:Appellation ;
	rdfs:label "Name"@en ;
	rdfs:comment """Represents the Name of an entity."""
	.

memex:Identifier rdf:type owl:Class ;
	rdfs:subClassOf memex:Appellation ;
	rdfs:label "Identifier"@en ;
	rdfs:comment """Identifier of an entity"""	
	.

memex:PhoneNumber rdf:type owl:Class ; 
	rdfs:subClassOf memex:Identifier ;
	rdfs:subClassOf memex:Feature ;
	rdfs:label "PhoneNumber"@en ;
	skos:note """Still wavering whether a phone number is a subclass of Identifier.
	Clearly not an appropriate identifier for a person given that numbers get recycled.""" ;
	rdfs:comment """A phone number."""
	.

memex:EmailAddress rdf:type owl:Class ; 
	rdfs:subClassOf memex:Identifier ;
	rdfs:label "EmailAddress"@en ;
	skos:note """Still wavering whether an email address is a subclass of Identifier.""" ;
	rdfs:comment """An email address."""
	.

memex:PersonName rdf:type owl:Class ; 
	rdfs:label "PersonName"@en ;
	rdfs:subClassOf memex:Feature ;
	skos:note """Defining as a class so that we can attach provenance to the object""" ;
	rdfs:comment """A person name."""
	.

memex:Ethnicity rdf:type owl:Class ; 
	rdfs:label "Ethnicity"@en ;
	rdfs:comment """Represents Identity with or membership in a particular racial, national,
	 or cultural group and observance of that group's customs, beliefs, and language."""
	.

memex:AgeGroup rdf:type owl:Class ; 
	rdfs:label "AgeGroup"@en ;
	rdfs:comment """Represents an age group, such as young, old, child."""
	.

memex:Preference rdf:type owl:Class ; 
	rdfs:label "Preference"@en ;
	rdfs:comment """Represents a preference that af Person or Organization may have
	about a certain subject."""
	.

memex:Boolean rdf:type owl:Class ; 
	rdfs:label "Boolean"@en ;
	rdfs:comment """Represents a Boolean value.
	The admissible instances are http://memexproxy.com/data/boolean/true and false."""
	.

memex:Feature rdf:type owl:Class ; 
	rdfs:label "Feature"@en ;
	rdfs:comment """Represents a feature. Typically, features are derived from extractions
	from Web pages. Their purpose is to represent information about an entity when the 
	identity of the entity is still unknown."""
	.

memex:FeatureCollection rdf:type owl:Class ; 
	rdfs:label "Feature"@en ;
	rdfs:comment """A collection of Feature."""
	.

memex:BinaryFeature rdf:type owl:Class ; 
	rdfs:subClassOf memex:Feature ;
	rdfs:label "Feature"@en ;
	rdfs:comment """Represents a binary feature. Binary features are coded as
	URI so that if the URI is present the feature is true, and when it is absent
	the feature is false."""
	.

schema:PostalAddress rdf:type owl:Class ;
	rdfs:subClassOf memex:Feature ;
	.

memex:Thread rdf:type owl:Class ;
	rdfs:subClassOf schema:CreativeWork ;
	rdfs:comment """A thread in a forum or other kind of set of articles"""
	.

memex:Cluster rdf:type owl:Class ;
	rdfs:subClassOf memex:Feature ;
	rdfs:label "Cluster"@en ;
	rdfs:comment """Represents a cluster of Features"""
    . 

memex:Post rdf:type owl:Class ;
	rdfs:subClassOf schema:CreativeWork ;
	rdfs:comment """A post in a forum."""
	.

#########################################################
#
# Object Properties
#
#########################################################

memex:snapshot rdf:type owl:ObjectProperty ; 
	rdfs:label "snapshot"@en ;
	rdfs:domain memex:URLEntity ; 
	rdfs:range schema:CreativeWork ;
	owl:inverseOf memex:isSnapshotOf ;
	rdfs:comment "Identifies a resource download from a url." 
	.

memex:isSnapshotOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isSnapshotOf"@en ;
	rdfs:domain schema:CreativeWork ;
	rdfs:range memex:URLEntity ; 
	owl:inverseOf memex:snapshot ;
	rdfs:comment "Inverse of memex:snapshot." 
	.

memex:identifier rdf:type owl:ObjectProperty ; 
	rdfs:label "identifier"@en ;
	rdfs:range memex:Identifier ;
	rdfs:comment "An identifier of an entity." 
	.

memex:preferredIdentifier rdf:type owl:ObjectProperty ; 
	rdfs:subPropertyOf memex:identifier ;
	rdfs:label "preferredIdentifier"@en ;
	rdfs:range memex:Identifier ;
	rdfs:comment "The preferred identifier of an entity." 
	.

memex:hasTitlePart rdf:type owl:ObjectProperty ; 
	rdfs:label "hasTitlePart"@en ;
	rdfs:subPropertyOf schema:hasPart ;
	rdfs:comment "Identifies the title part of a schema:CreativeWork." 
	.

memex:isTitlePartOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isTitlePartOf"@en ;
	owl:inverseOf  memex:hasTitlePart ;
	rdfs:comment "Identifies the title part of a schema:CreativeWork." 
	.

memex:hasAbstractPart rdf:type owl:ObjectProperty ; 
	rdfs:label "hasAbstractPart"@en ;
	rdfs:subPropertyOf schema:hasPart ;
	rdfs:comment "Identifies the abstract part of a schema:CreativeWork." 
	.

memex:isAbstractPartOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isAbstractPartOf"@en ;
	owl:inverseOf  memex:hasAbstractPart ;
	rdfs:comment "Identifies the abstract part of a schema:CreativeWork." 
	.

memex:hasBodyPart rdf:type owl:ObjectProperty ; 
	rdfs:label "hasBodyPart"@en ;
	rdfs:subPropertyOf schema:hasPart ;
	rdfs:comment "Identifies the body part of a schema:CreativeWork."
	.

memex:isBodyPartOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isBodyPartOf"@en ;
	owl:inverseOf memex:hasBodyPart ;
	rdfs:comment "Identifies the body part of a schema:CreativeWork." 
	.

memex:hasImagePart rdf:type owl:ObjectProperty ; 
	rdfs:label "hasImagePart"@en ;
	rdfs:subPropertyOf schema:hasPart ;
	rdfs:range schema:ImageObject ;
	rdfs:comment "Identifies an ImageObject that is part of a schema:CreativeWork." 
	.

memex:isImagePartOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isImagePartOf"@en ;
	owl:inverseOf memex:hasImagePart ;
	rdfs:range schema:ImageObject ;
	rdfs:comment "Identifies an ImageObject that is part of a schema:CreativeWork." 
	.

memex:hasSignaturePart rdf:type owl:ObjectProperty ; 
	rdfs:label "hasSignaturePart"@en ;
	owl:inverseOf memex:isSignaturePartOf ;
	rdfs:comment "Identifies a signature part of a schema:CreativeWork." 
	.

memex:isSignaturePartOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isSignaturePartOf"@en ;
	owl:inverseOf memex:hasSignaturePart ;
	rdfs:comment "Identifies the work that this is a part of." 
	.

memex:urlEntity rdf:type owl:ObjectProperty ; 
	rdfs:label "urlEntity"@en ;
	rdfs:domain schema:CreativeWork ; 
	rdfs:range memex:URLEntity ;
	skos:note """schema.org has a schema:url property, but it is a DatatypeProperty, 
	and urlEntity is an ObjectProperty. We define the domain as schema:CreativeWork as opposed
	to owl:Thing as defined in schema.org.""" ;
	rdfs:comment "The URL of a schema:CreativeWork." 
	.

memex:primaryLocation rdf:type owl:ObjectProperty ; 
	rdfs:label "postingLocation"@en ;
	rdfs:subPropertyOf schema:mentions ;
	rdfs:domain schema:CreativeWork ;
	rdfs:range schema:Place ;
	rdfs:comment "The primary location associated with a schema:CreativeWork." 
	.

memex:pseudonym rdf:type owl:ObjectProperty ; 
	rdfs:label "pseudonym"@en ;
	rdfs:domain schema:Person ;
	rdfs:range memex:PersonName ;
	rdfs:comment "The pseudonym of a person." 
	.

memex:emailAddress rdf:type owl:ObjectProperty ; 
	rdfs:label "emailAddress"@en ;
	rdfs:domain schema:Person ;
	rdfs:range memex:EmailAddress ;
	rdfs:comment "The email address of a person." 
	.

memex:ethnicity rdf:type owl:ObjectProperty ; 
	rdfs:label "ethnicity"@en ;
	rdfs:domain schema:Person ;
	rdfs:range memex:Ethnicity ;
	rdfs:comment "The ethnicity of a person." 
	.

memex:age rdf:type owl:ObjectProperty ; 
	rdfs:label "age"@en ;
	rdfs:domain schema:Person ;
	rdfs:range memex:Age ;
	rdfs:comment "The age of a person." 
	.

memex:preferenceQualifier rdf:type owl:ObjectProperty ; 
	rdfs:label "preferenceQualifier"@en ;
	rdfs:domain memex:Preference ;
	rdfs:comment """The qualifier of a preference. 
	The values in the range are URIs that form a controlled vocabulary;
	they include values such as http://..../preferencequalifier/only"""
	.

memex:preferenceSubject rdf:type owl:ObjectProperty ; 
	rdfs:label "preferenceSubject"@en ;
	rdfs:domain memex:Preference ;
	rdfs:comment """The thing about which a preference is stated. 
	The values in the range are URIs that form a controlled vocabulary;
	they include values such as http://..../agegroup/young"""
	.

memex:hasFeatureCollection rdf:type owl:ObjectProperty ; 
	rdfs:label "hasFeatureCollection"@en ;
	rdfs:domain schema:CreativeWork ;
	rdfs:range memex:FeatureCollection ;
	rdfs:comment """The FeatureCollection associated with CreativeWork."""
	.

memex:hasFeatures rdf:type owl:ObjectProperty ; 
	rdfs:label "hasFeatures"@en ;
	rdfs:domain memex:FeatureCollection ;
	rdfs:range memex:Feature ;
	rdfs:comment """The member Features of a FeatureCollection."""
	.

memex:featureObject rdf:type owl:ObjectProperty ; 
	rdfs:label "featureObject"@en ;
	rdfs:domain memex:Feature ;
	rdfs:comment """The value of a feature represented as an object."""
	.

memex:hasName rdf:type owl:ObjectProperty ; 
	rdfs:label "hasName"@en ;
	rdfs:range memex:Name ;
	rdfs:comment """The Name of an entity"""
	.

memex:hasIdentifier rdf:type owl:ObjectProperty ; 
	rdfs:label "hasIdentifier"@en ;
	rdfs:range memex:Identifier ;
	rdfs:comment """The Identifier of an entity"""
	.

memex:hasType rdf:type owl:ObjectProperty ; 
	rdfs:label "hasType"@en ;
	rdfs:range skos:Concept ;
	rdfs:comment """The Type of an entity"""
	.

memex:ServiceRate rdf:type owl:Class ;
	rdfs:label "ServiceRate"@en ;
	rdfs:comment """Represents the monetary Rate charged for a Service""" ;
	rdfs:subClassOf schema:UnitPriceSpecification ;
	rdfs:subClassOf memex:Feature ;
	.

memex:SimilarObject rdf:type owl:Class ;
	rdfs:label "SimilarObject"@en ;
	rdfs:comment """Represents an object that is similar to another object""" ;
	rdfs:subClassOf schema:CreativeWork ;
	rdfs:subClassOf memex:Feature ;
	.

memex:hasPost rdf:type owl:ObjectProperty ; 
	rdfs:label "hasReplyPart"@en ;
	rdfs:subPropertyOf schema:hasPart ;
	rdfs:domain memex:Thread ;
	rdfs:range memex:Post ;
	rdfs:comment "Identifies a post belonging to a memex:Thread."
	.

memex:isPostOf rdf:type owl:ObjectProperty ; 
	rdfs:label "isPostOf"@en ;
	owl:inverseOf memex:hasReplyPart ;
	rdfs:comment "Identifies the parent memex:Thread of a memex:Post."
	.

#########################################################
#
# Data Properties
#
#########################################################

schema:url rdf:type owl:DatatypeProperty ;
	rdfs:label "url"@en ;
	skos:note """The owl file for schema.org is missing the url property, which is in schema.org.""" ;
	rdfs:comment "The URL of a resource." 
	.

memex:isoCode rdf:type owl:DatatypeProperty ;
	rdfs:label "isoCode"@en ;
	skos:note """The ISO Code for things like Country etc.""" ;
	rdfs:comment "The ISO code of a resource." 
	.

memex:cacheUrl rdf:type owl:DatatypeProperty ;
	rdfs:label "cacheUrl"@en ;
	rdfs:subPropertyOf schema:url ;
	rdfs:comment "The URL of a cached version of a resource." 
	.

memex:tenDigitPhoneNumber rdf:type owl:DatatypeProperty ;
	rdfs:label "tenDigitPhoneNumber"@en ;
	rdfs:domain memex:PhoneNumber ;
	rdfs:comment "The 10 digit number of a USA phone number." 
	.

memex:confidence rdf:type owl:DataTypeProeprty ;
	rdfs:label "confidence"@en ;
	rdfs:comment "Confidence value associated with mention"
	.

memex:featureName rdf:type owl:DatatypeProperty ; 
	rdfs:label "featureName"@en ;
	rdfs:domain memex:Feature ;
	rdfs:comment """The name of a feature in a controlled vocabulary of feature names."""
	.
	
memex:featureValue rdf:type owl:DatatypeProperty ;
	rdfs:label "featureValue"@en ;
	rdfs:domain memex:Feature ;
	rdfs:comment "The value of a Feature represented as a literal." 
	.
 
memex:snapshotUri rdf:type owl:DatatypeProperty ;
	rdfs:label "snapshotUri"@en ;
	rdfs:domain schema:CreativeWork ;
	rdfs:comment "The cache snapshot URI for the Creative Work"
	.

memex:databaseId rdf:type owl:DatatypeProperty ;
	rdfs:label "databaseId"@en ;
	rdfs:comment """The database ID of an item. 
	In our simple provenance model we provide database IDs on prov:Activities that process database records."""
	.

memex:dateCrawled rdf:type owl:DatatypeProperty ;
	rdfs:label "dateCrawled"@en ;
	rdfs:comment "The Date the CreativeWork was crawled" ;
	rdfs:domain schema:CreativeWork ;
	rdfs:range xsd:date
	.

memex:dateMostLikelyCreated rdf:type owl:DatatypeProperty ;
	rdfs:label "dateMostLikelyCreated"@en ;
	rdfs:comment "The Date the CreativeWork was post likelt created, which could be the posttime if available, else import time" ;
	rdfs:domain schema:CreativeWork ;
	rdfs:range xsd:date
	.

memex:countryDialingCode rdf:type owl:DatatypeProperty ;
    rdfs:label "countryDialingCode"@en ;
	rdfs:comment "The dialing code for a Country" ;
	rdfs:domain memex:PhoneNumber
	.

memex:localPhoneNumber rdf:type owl:DatatypeProperty ;
    rdfs:label "localPhoneNumber"@en ;
	rdfs:comment "Phone Number without the country code" ;
	rdfs:domain memex:PhoneNumber
	.

memex:digitalObjectIdentifier rdf:type owl:DatatypeProperty ;
    rdfs:label "digitalObjectIdentifier"@en ;
	rdfs:comment "Unique Identifier for an Object" ;
	rdfs:domain schema:CreativeWork
	.

memex:textChecksum rdf:type owl:DatatypeProperty ;
    rdfs:label "textChecksum"@en ;
	rdfs:comment "MD5 or SHA checksum of the text of the CreativeWork" ;
	rdfs:domain schema:CreativeWork
	.

memex:similar_url rdf:type owl:DatatypeProperty ;
	rdfs:label "similar_url"@en ;
	rdfs:comment "The URL of a similar object" ;
	rdfs:domain memex:SimilarObject
	.

memex:similarity_score rdf:type owl:DatatypeProperty ;
	rdfs:label "similarity_score"@en ;
	rdfs:comment "The measure of how similar an object is" ;
	rdfs:domain memex:SimilarObject
	.

memex:numberOfItems rdf:type owl:DatatypeProperty ;
    rdfs:label "numberOfItems"@en ;
	rdfs:comment "Number of Items in a Cluster" ;
	rdfs:domain memex:Cluster
	.







{'fraction_non_alphanumeric': 0.12691737616766055, 'fraction_numerical': 0.0026886353452138844, 'mean_word_length': 5.39171623705662, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 12, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1681718', 'n_tokens_mistral': 10251, 'n_tokens_neox': 9893, 'n_words': 2545}