https://github.com/rdmpage/bbc-wildlife
BBC Wildlife ontology and data
https://github.com/rdmpage/bbc-wildlife
Last synced: 11 months ago
JSON representation
BBC Wildlife ontology and data
- Host: GitHub
- URL: https://github.com/rdmpage/bbc-wildlife
- Owner: rdmpage
- Created: 2017-09-15T12:41:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-01-19T16:28:41.000Z (over 4 years ago)
- Last Synced: 2025-06-03T10:10:33.499Z (12 months ago)
- Language: PHP
- Size: 54.2 MB
- Stars: 16
- Watchers: 2
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bbc-wildlife
Live version here https://aspiring-look.glitch.me
## Background
The BBC created a lightweight ontology (available from http://purl.org/ontology/wo/ ) for publishing data about all forms of biological taxa, including phyla, families, and species. The terms in this ontology allow data to be published about:
- The relationships between taxa
- Their associations with specific habitats, their mode of life, as well as their specific behaviours
- Whether a taxon is endangered according to the IUCN terms
- Topic relations between web documents and multimedia objects that may feature a taxon...etc.

The Wildlife Ontology was originally designed to support the publishing of data from the [BBC Wildlife Finder application](http://www.bbc.co.uk/nature/life/) which provided access to a rich set of information and data about biological species, as well as pointers to BBC broadcast output that relate to these topics.
## Repository
This repository has a copy of the ontology, and also the RDF for each page in the BBC Wildlife Finder site. It is designed to (a) ensure that if the BBC Wildlife Finder site disappears the core data is still available (the site currently has a message saying it was last updated October 2014), and (b) to provide the data as a test bed for exploring linked data on organisms. The BBC Wildlife Finder enables visitors to view information on individual taxonomic groups, and also group taxa by habitats, places, ecotones, or adaptations.
## Problems
The RDF has some issues. We need to add
```
xml:base="http://www.bbc.co.uk"
```
to the `` tag so that URLs for BBC items are absolute URLs. Also need to handle `` tags in `` (for example by enclosing in `` ).
## Queries
List habitats for a taxon:
```
SELECT ?label
WHERE
{
?taxon ?habitat .
?habitat ?label .
}
```
Data for a species
```
SELECT *
WHERE
{
?p ?o .
}
```
Coprophagy
```
SELECT ?tname ?kname ?cname
WHERE
{
?taxon
.
?taxon ?tname .
?taxon
?kingdom .
?kingdom ?kname .
OPTIONAL {
?taxon
?class .
?class ?cname .
}
}
```
Coprophagy with thumbnail
```
SELECT ?tname ?kname ?cname ?thumbnail
WHERE
{
?taxon
.
?taxon ?tname .
?taxon
?kingdom .
?kingdom ?kname .
OPTIONAL {
?taxon
?class .
?class ?cname .
}
optional {
?taxon ?image .
?image ?thumbnail .
}
}
```