<commit_before>## This file is part of Spindle, a co-reference aggregation engine
##
##  Author: <NAME> <<EMAIL>>
##
##  Copyright (c) 2014-2017 BBC
##
##  Licensed under the Apache License, Version 2.0 (the "License");
##  you may not use this file except in compliance with the License.
##  You may obtain a copy of the License at
##
##      http://www.apache.org/licenses/LICENSE-2.0
##
##  Unless required by applicable law or agreed to in writing, software
##  distributed under the License is distributed on an "AS IS" BASIS,
##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
##  See the License for the specific language governing permissions and
##  limitations under the License.

# This file expresses the superclass and superproperty relationships
# which are used by Spindle when generating cache data for proxies.

# This graph is not imported into the quad-store used by Spindle, but held
# in-memory and its contents used by the proxy generation logic.

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix skos08: <http://www.w3.org/2008/05/skos#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix dcmitype: <http://purl.org/dc/dcmitype/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix gn: <http://www.geonames.org/ontology#> .
@prefix crm: <http://www.cidoc-crm.org/cidoc-crm/> .
@prefix ecrm: <http://erlangen-crm.org/current/> .
@prefix frbr: <http://purl.org/vocab/frbr/core#> .
@prefix spindle: <http://bbcarchdev.github.io/ns/spindle#> .
@prefix olo: <http://purl.org/ontology/olo/core#> .
@prefix po: <http://purl.org/ontology/po/> .
@prefix event: <http://purl.org/NET/c4dm/event.owl#> .
@prefix void: <http://rdfs.org/ns/void#> .
@prefix dcmitype: <http://purl.org/dc/dcmitype/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix mrss: <http://search.yahoo.com/mrss/> .
@prefix cc: <http://creativecommons.org/ns#> .
@prefix xhtml: <http://www.w3.org/1999/xhtml/vocab#> .
@prefix schema: <http://schema.org/> .
@prefix gazetteer: <http://data.ordnancesurvey.co.uk/ontology/50kGazetteer/> .
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
@prefix wdrs: <http://www.w3.org/2007/05/powder-s#> .
@prefix lio: <http://purl.org/net/lio#> .
@prefix bibo: <http://purl.org/ontology/po/> .
@prefix media: <http://purl.org/media#> .
@prefix video: <http://purl.org/media/video#> .
@prefix audio: <http://purl.org/media/audio#> .

#### Co-reference predicates

## owl:sameAs-style direct co-reference predicates:
##
##   ex:predicate spindle:coref spindle:resourceMatch .
##
## Wikipedia page URL predicates:
##
##   ex:predicate spindle:coref spindle:wikipediaMatch .
##
## Other resource-matching types may be added in the future.

owl:sameAs spindle:coref spindle:resourceMatch .
<http://www.bbc.co.uk/ontologies/coreconcepts/sameAs> spindle:coref spindle:resourceMatch .
skos:exactMatch spindle:coref spindle:resourceMatch .
skos08:exactMatch spindle:coref spindle:resourceMatch .
gn:wikipediaArticle spindle:coref spindle:wikipediaMatch .
foaf:isPrimaryTopicOf spindle:coref spindle:wikipediaMatch .

#### Class rules

## Class rules take the form:
##
## ex:Example
##   a spindle:Class ;
##   olo:index 25 ;
##   rdfs:label "Examples"@en .
##
## foo:E47_Example spindle:expressedAs ex:Example .
##
## This defines a class, ex:Example, which will be used for proxy generation.
## Processed instances which have a type of ex:Example or foo:E47_Example will
## result in a proxy being generated with a class of ex:Example, provided
## another class's rules don't match first. The olo:index property on the
## class specifies the matching priority, where lower is better (provided the
## value is a positive integer).


## People

foaf:Person
		a spindle:Class ;
		olo:index 10 ;
		rdfs:label "Person"@en ;
		spindle:prominence 20 .

po:Person spindle:expressedAs foaf:Person .

## Groups

foaf:Group
		a spindle:Class ;
		olo:index 20 ;
		rdfs:label "Group"@en ;
		spindle:prominence 10 .

foaf:Organization spindle:expressedAs foaf:Group .
po:Broadcaster spindle:expressedAs foaf:Group .

## Agents

foaf:Agent
		a spindle:Class ;
		olo:index 30 ;
		rdfs:label "Agent"@en .

dct:Agent spindle:expressedAs foaf:Agent .
<http://www.tate.org.uk/ontologies/collection#Artist> spindle:expressedAs foaf:Agent .
<http://dbpedia.org/ontology/Agent> spindle:expressedAs foaf:Agent .

## Places

geo:SpatialThing
		a spindle:Class ;
		olo:index 40 ;
		rdfs:label "Place"@en .

dct:Location spindle:expressedAs geo:SpatialThing .
gn:Feature spindle:expressedAs geo:SpatialThing .
gazetteer:NamedPlace spindle:expressedAs geo:SpatialThing .
<http://schema.org/Place> spindle:expressedAs geo:SpatialThing .
<http://dbpedia.org/ontology/Place> spindle:expressedAs geo:SpatialThing .

## Events, timespans

event:Event
		a spindle:Class ;
		olo:index 50 ;
		rdfs:label "Event"@en .

<http://www.tate.org.uk/ontologies/collection#Birth> spindle:expressedAs event:Event .
<http://www.tate.org.uk/ontologies/collection#Death> spindle:expressedAs event:Event .
dct:PeriodOfTime spindle:expressedAs event:Event .
po:Broadcast spindle:expressedAs event:Event .
<http://dbpedia.org/ontology/Event> spindle:expressedAs event:Event .


## Physical things

crm:E18_Physical_Thing
		a spindle:Class ;
		olo:index 60 ;
		rdfs:label "Physical thing"@en .

crm:E22_Man-Made_Object spindle:expressedAs crm:E18_Physical_Thing .
ecrm:E18_Physical_Thing spindle:expressedAs crm:E18_Physical_Thing .
ecrm:E22_Man-Made_Object spindle:expressedAs crm:E18_Physical_Thing .
dcmitype:PhysicalObject spindle:expressedAs crm:E18_Physical_Thing .
dct:PhysicalResource spindle:expressedAs crm:E18_Physical_Thing .

## Concepts

skos:Concept
	a spindle:Class ;
	olo:index 100 ;
	rdfs:label "Concept"@en ;
	void:classPartition
		<http://dbpedialite.org/things/> ,
		<http://www.wikidata.org/entity/> ,
		<http://www.bbc.co.uk/things/> ,
		<http://www.bbc.co.uk/programmes/genres/>,
		<http://www.bbc.co.uk/programmes/formats/> .

skos08:Concept spindle:expressedAs skos:Concept .
<http://www.tate.org.uk/ontologies/collection#Subject> spindle:expressedAs skos:Concept .
owl:Class spindle:expressedAs skos:Concept .
rdfs:Class spindle:expressedAs skos:Concept .
<http://dbpedia.org/ontology/TopicalConcept> spindle:expressedAs skos:Concept .<commit_msg>Remove owl:Class and rdfs:Class from skos:Concept<commit_after>## This file is part of Spindle, a co-reference aggregation engine
##
##  Author: <NAME> <<EMAIL>>
##
##  Copyright (c) 2014-2017 BBC
##
##  Licensed under the Apache License, Version 2.0 (the "License");
##  you may not use this file except in compliance with the License.
##  You may obtain a copy of the License at
##
##      http://www.apache.org/licenses/LICENSE-2.0
##
##  Unless required by applicable law or agreed to in writing, software
##  distributed under the License is distributed on an "AS IS" BASIS,
##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
##  See the License for the specific language governing permissions and
##  limitations under the License.

# This file expresses the superclass and superproperty relationships
# which are used by Spindle when generating cache data for proxies.

# This graph is not imported into the quad-store used by Spindle, but held
# in-memory and its contents used by the proxy generation logic.

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix skos08: <http://www.w3.org/2008/05/skos#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix dcmitype: <http://purl.org/dc/dcmitype/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
@prefix gn: <http://www.geonames.org/ontology#> .
@prefix crm: <http://www.cidoc-crm.org/cidoc-crm/> .
@prefix ecrm: <http://erlangen-crm.org/current/> .
@prefix frbr: <http://purl.org/vocab/frbr/core#> .
@prefix spindle: <http://bbcarchdev.github.io/ns/spindle#> .
@prefix olo: <http://purl.org/ontology/olo/core#> .
@prefix po: <http://purl.org/ontology/po/> .
@prefix event: <http://purl.org/NET/c4dm/event.owl#> .
@prefix void: <http://rdfs.org/ns/void#> .
@prefix dcmitype: <http://purl.org/dc/dcmitype/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix mrss: <http://search.yahoo.com/mrss/> .
@prefix cc: <http://creativecommons.org/ns#> .
@prefix xhtml: <http://www.w3.org/1999/xhtml/vocab#> .
@prefix schema: <http://schema.org/> .
@prefix gazetteer: <http://data.ordnancesurvey.co.uk/ontology/50kGazetteer/> .
@prefix odrl: <http://www.w3.org/ns/odrl/2/> .
@prefix wdrs: <http://www.w3.org/2007/05/powder-s#> .
@prefix lio: <http://purl.org/net/lio#> .
@prefix bibo: <http://purl.org/ontology/po/> .
@prefix media: <http://purl.org/media#> .
@prefix video: <http://purl.org/media/video#> .
@prefix audio: <http://purl.org/media/audio#> .

#### Co-reference predicates

## owl:sameAs-style direct co-reference predicates:
##
##   ex:predicate spindle:coref spindle:resourceMatch .
##
## Wikipedia page URL predicates:
##
##   ex:predicate spindle:coref spindle:wikipediaMatch .
##
## Other resource-matching types may be added in the future.

owl:sameAs spindle:coref spindle:resourceMatch .
<http://www.bbc.co.uk/ontologies/coreconcepts/sameAs> spindle:coref spindle:resourceMatch .
skos:exactMatch spindle:coref spindle:resourceMatch .
skos08:exactMatch spindle:coref spindle:resourceMatch .
gn:wikipediaArticle spindle:coref spindle:wikipediaMatch .
foaf:isPrimaryTopicOf spindle:coref spindle:wikipediaMatch .

#### Class rules

## Class rules take the form:
##
## ex:Example
##   a spindle:Class ;
##   olo:index 25 ;
##   rdfs:label "Examples"@en .
##
## foo:E47_Example spindle:expressedAs ex:Example .
##
## This defines a class, ex:Example, which will be used for proxy generation.
## Processed instances which have a type of ex:Example or foo:E47_Example will
## result in a proxy being generated with a class of ex:Example, provided
## another class's rules don't match first. The olo:index property on the
## class specifies the matching priority, where lower is better (provided the
## value is a positive integer).


## People

foaf:Person
		a spindle:Class ;
		olo:index 10 ;
		rdfs:label "Person"@en ;
		spindle:prominence 20 .

po:Person spindle:expressedAs foaf:Person .

## Groups

foaf:Group
		a spindle:Class ;
		olo:index 20 ;
		rdfs:label "Group"@en ;
		spindle:prominence 10 .

foaf:Organization spindle:expressedAs foaf:Group .
po:Broadcaster spindle:expressedAs foaf:Group .

## Agents

foaf:Agent
		a spindle:Class ;
		olo:index 30 ;
		rdfs:label "Agent"@en .

dct:Agent spindle:expressedAs foaf:Agent .
<http://www.tate.org.uk/ontologies/collection#Artist> spindle:expressedAs foaf:Agent .
<http://dbpedia.org/ontology/Agent> spindle:expressedAs foaf:Agent .

## Places

geo:SpatialThing
		a spindle:Class ;
		olo:index 40 ;
		rdfs:label "Place"@en .

dct:Location spindle:expressedAs geo:SpatialThing .
gn:Feature spindle:expressedAs geo:SpatialThing .
gazetteer:NamedPlace spindle:expressedAs geo:SpatialThing .
<http://schema.org/Place> spindle:expressedAs geo:SpatialThing .
<http://dbpedia.org/ontology/Place> spindle:expressedAs geo:SpatialThing .

## Events, timespans

event:Event
		a spindle:Class ;
		olo:index 50 ;
		rdfs:label "Event"@en .

<http://www.tate.org.uk/ontologies/collection#Birth> spindle:expressedAs event:Event .
<http://www.tate.org.uk/ontologies/collection#Death> spindle:expressedAs event:Event .
dct:PeriodOfTime spindle:expressedAs event:Event .
po:Broadcast spindle:expressedAs event:Event .
<http://dbpedia.org/ontology/Event> spindle:expressedAs event:Event .


## Physical things

crm:E18_Physical_Thing
		a spindle:Class ;
		olo:index 60 ;
		rdfs:label "Physical thing"@en .

crm:E22_Man-Made_Object spindle:expressedAs crm:E18_Physical_Thing .
ecrm:E18_Physical_Thing spindle:expressedAs crm:E18_Physical_Thing .
ecrm:E22_Man-Made_Object spindle:expressedAs crm:E18_Physical_Thing .
dcmitype:PhysicalObject spindle:expressedAs crm:E18_Physical_Thing .
dct:PhysicalResource spindle:expressedAs crm:E18_Physical_Thing .

## Concepts

skos:Concept
	a spindle:Class ;
	olo:index 100 ;
	rdfs:label "Concept"@en ;
	void:classPartition
		<http://dbpedialite.org/things/> ,
		<http://www.wikidata.org/entity/> ,
		<http://www.bbc.co.uk/things/> ,
		<http://www.bbc.co.uk/programmes/genres/>,
		<http://www.bbc.co.uk/programmes/formats/> .

skos08:Concept spindle:expressedAs skos:Concept .
<http://www.tate.org.uk/ontologies/collection#Subject> spindle:expressedAs skos:Concept .
<http://dbpedia.org/ontology/TopicalConcept> spindle:expressedAs skos:Concept .
{'fraction_non_alphanumeric': 0.1487014479430016, 'fraction_numerical': 0.020378457059679767, 'mean_word_length': 4.559625212947189, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, 'https://': 0, 'lorem ipsum': 0, 'www.': 44, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5122328', 'n_tokens_mistral': 5205, 'n_tokens_neox': 4624, 'n_words': 1011}