BBC Politics News Ontology (BBCPolitics)¶
The BBC Politics Ontology is an ontology for describing politics, especially local government and elections [1]. It was originally designed for UK local and European elections and provides a structured vocabulary for political concepts such as constituencies, councils, elections, political parties, and statistical geographies [1].
The ontology defines classes such as Constituency, Council, Election, PoliticalParty, and StatisticalGeography, and links them to broader BBC Core Concepts such as organisations, events, and places [#bbcpolitics-ontology]*. It also defines relationships such as governsGSS, which relates a political organisation such as a council to the statistical geography it governs [#bbcpolitics-ontology]*. By providing a standardized vocabulary, the BBC Politics Ontology supports semantic annotation, content linking, and discovery of political content in BBC linked-data systems [1].
Example Usage: Annotate a political news article with BBC Politics Ontology terms to specify an election, constituency, council, political party, or governed statistical geography, enabling semantic search and integration with BBC political news and election data [1].
Metrics & Statistics¶
Total Nodes |
43 |
Total Edges |
75 |
Root Nodes |
0 |
Leaf Nodes |
30 |
Classes |
7 |
Individuals |
0 |
Properties |
5 |
Maximum Depth |
0 |
Minimum Depth |
0 |
Average Depth |
0.00 |
Depth Variance |
0.00 |
Maximum Breadth |
0 |
Minimum Breadth |
0 |
Average Breadth |
0.00 |
Breadth Variance |
0.00 |
Term Types |
0 |
Taxonomic Relations |
6 |
Non-taxonomic Relations |
0 |
Average Terms per Type |
0.00 |
Usage Example¶
Use the following code to import this ontology programmatically:
from ontolearner.ontology import BBCPolitics
ontology = BBCPolitics()
ontology.load("path/to/BBCPolitics-ontology.ttl")
# Extract datasets
data = ontology.extract()
# Access specific relations
term_types = data.term_typings
taxonomic_relations = data.type_taxonomies
non_taxonomic_relations = data.type_non_taxonomic_relations