Linked data is the idea that data should connect by links the way web documents do. The four principles written down by Tim Berners-Lee are still the working rules.
- Use IRIs as names for things.
- Make those IRIs open over HTTP, so a name is also an address you can visit.
- When one is opened, return a useful description in a standard form such as RDF.
- Include links to other IRIs, so more can be discovered.
One address, different answers
A person opening http://www.w3.org/ns/prov#Activity in a browser gets a readable document. A program asking for Turtle gets the definition file. This is content negotiation, and it is how the collector behind this site fetches definition files.
Five-star open data
| Stars | Condition | Example |
|---|---|---|
| ★ | On the web under an open licence, any format | A PDF report |
| ★★ | Machine-readable structured data | A spreadsheet |
| ★★★ | A non-proprietary format | CSV |
| ★★★★ | IRIs for things, so others can point at them | RDF |
| ★★★★★ | Linked to other data | RDF that links to other ontologies and datasets |
Be careful saying two things are the same
owl:sameAs declares that two IRIs name exactly the same thing: whatever is true of one becomes true of the other. For "roughly the same" that is too strong; use the SKOS mapping properties covered in a later lesson.
Data keeps its meaning only while the ontology IRIs it uses stay alive. That is why persistent identifier services such as w3id.org and purl.org are so common.