r/semanticweb • • Jun 14 '13

Explain Linked Data like I'm Five

Explain Linked Data using your own words. Please refrain from providing any references i.e., no links!

27 Upvotes

15 comments sorted by

11

u/[deleted] Jun 14 '13 edited Jun 14 '13

(I assume example links for explaining URIs are OK!)

Linked Data is a way to share something you know with other people over the Internet, but in such a way that they don't need to talk to you to understand what it means, and don't need to read texts to find out what you know.

So let us pretend that you know a lot about different types of dinosaurs. You know how big a Tyrannosaurus Rex is (12 meters long, more than a bus!), and that the Stegosaurus weighed 4.5 tonne, like 3 cars. You want to share this information with me, because I know a lot about dinosaurs as well, but just what they eat - T-Rex eats animals, and Stegosaurus plants.

Let's again pretend that you know the size not just of those two, but hundreds of dinosaurs! And I know almost all the hundreds of meat-eating and plant-eating dinosaurs, and even what is their favourite food. With the help of the computer and what we know, we can combine our two lists of dinosaurs, and find out cool things such as biggest plant-eating dinosaur, or what is the smallest dinosaur that eats other dinosaurs.

Now in order to do this, the computer should be able to help us so we don't have to go through hundreds of dinosaurs ourselves - computers are very good at doing simple things many many times, very very fast, such as checking the size of each dinosaur.

So I put my list on my homepage, and you put your list on your page, and we send the link for those pages to each other. I can click the link and go see your list of dinosaurs. Now we have shared the data, shared what we know about dinosaurs.

Unfortunately the computer does not really know anything about dinosaurs. It can help us show dinosaurs pictures from the internet, or show stories about dinosaurs, but the computer itself would not know the difference between showing dinosaurs or sweet fluffy kittens. So the computer would only be able to tell us the biggest and smallest if we help it a bit.

In order to help the computer, we have to agree on some things. For instance, if I call the dinosaur Tyrannosaurus Rex, and you call it T-Rex, the computer does not know we mean the same kind of dinosaur. The computer would also know the difference between T-Rex (the dinosaur) and T-Rex (the restaurant in Disney world).

However the computer does know how to distinguish different web pages - by the link address we can see in the browser, like http://mcdonalds.com/. We can call this a Uniform Resource Identifier - because no matter if I or you type this link in, we get the same homepage and we can agree that we mean McDonalds the burger restaurant, not Old McDonald from the song. The address uniform because the restaurant people always wear the same McDonalds uniform, they don't show up in farmer outfits!

So for you and me to agree on calling the dinosaurs, we decide to use the these kind of links, one for each dinosaur. If we are lucky, there is already a website with pictures of dinosaurs, and we can just both use these links as names instead of T-Rex and Tyrannosaurus Rex. So now the computer is able to put those together, as we used the same link, and tell us that the T-Rex is 12 meters long and eats animals.

However the computer still does not understand long, eats or animals. It could just have well been 12 buses high and breathes flames for the computer, and it would not know that we are making it up. If both of us know the colour of some dinosaurs, then we have the same problem as with the name of the dinosaur, we have to agree on what it means to "have color" and if it is "purple" or "lilac". We can use the same trick as before - we just use a link for each colour, say from a website about painting, and we make a new page that says that when I say a dinosaur "has color" I mean the colour of the skin of the tummy, not of the feet or head (which could be a different for some dinosaurs!). You can then use the link for that has-color page when you say that "t-rex has-color blue". These 3 words makes a single piece of information, and it turns our whole list of what we know about dinosaurs can be said as many many such small sentences: T-rex has-length 12-meters, Stegosaurus is-a plant-eater, and so on. In a way we tie all the different dinosaur links together with ropes, forming a spider web.

Now that we finally have agreed on what to call all those things and how we put my list together with your list, and get the computer to do its magic. We can ask it a question, by using these links, and ask things like "What dinosaurs are blue and eat plants?" and get a list back. We can click the addresses for each dinosaur to see its picture - because the computer gives back those links to the dinosaur picture website.

So when you ask me what is Linked Data, well it is that when you have made such an agreement, you use known links rather than just names you make up in your room (like Burblyburb and Fishitup), and it is possible to click on those to learn more about the thing. When several people use the same links and make what they know available on the internet (making more links), then it is possible to share the knowledge and for other people to combine them in new ways that we had not thought about before.

6

u/danbri Jun 16 '13

The World Wide Web is made from hundreds of billions of pages, with links between pages whenever one pages mentions another. Lots of these pages contain simple factual information about the things they describe or mention - prices, ages, heights, names, football scores, scientific measurements etc. Sometimes Web pages tell lies, but usually people tell the truth as they see it, and it is useful to combine mostly-truthful information to get to see a bigger picture of the world. Linked Data is all about making better use of this kind of factual information from the Web, so it can be combined and explored in different ways.

For example, some interesting Web page might mention a particular place or person, while other pages elsewhere in the Web might tell us a lot more about the place or person. Wouldn't it be useful if information in those other pages ("Triple academy award winner", "shares a border with Afghanistan", "The place Arnold Schwarzenegger was born"...) could be used to find stuff in the first pages too? Linked Data is an attempt to improve the Web to make this sort of thing easier, so that everyone on the planet can share these basic facts about everyday things more easily.

11

u/alx5000 Jun 14 '13 edited Jun 14 '13

Ok, I'll try, but I think it's gonna be eli12 at least.

Imagine that you have some data that you want to publish on the Internet. This data can be anything you can think of, ranging from your CV to an unemployment rate data set.

So you have your data (e.g., the aforementioned unemployment rate dataset), and you're about to set up a website to make it publicly available, but first you need to decide the format in which to present it. Will you use HTML tables? Plain text, descriptive documents? Comma-separated values? Excel files? PDF's?

For the sake of example, let's go with Excel files. The next step is estabilishing its internal format: how data will be organized (what goes in rows and what in columns), how and where headers will be written, how you will represent dates, what language you will use for categories and titles... You can easily see that, no matter what file format you choose from the previous paragraph, a lot of design decisions will need to be made.

Once the file is ready and you upload it, someone else comes along and wants to use your data to write an article on unemployment. Now, that person, when confronted with one of your files, will need to:

  • speak your language (to me personally, 'Arbeitslosigkeit' may as well be gibberish).

  • find out wich serialization format (file type) you are using (and understand it!).

  • make out which parts of the file are raw data and which are just titles, notes, etc.

  • read the data (rows/columns, decimal separators, date formats...).

You wouldn't precisely call that a daunting task, but that's when a human being is the one trying to decipher your data. What if someone wanted to use a machine (computer program) to read unemployment data from, say, 100 different sources and aggregate it? Its programmer would have to go through all 100 sources, study them and prepare load processes for each and every one of them: Some will use HTML tables, others Excel; some will contain typos in their headers; some will add asterisks to otherwise numeric values to indicate the existence of applicable footnotes...

Wouldn't it be wonderful if everyone agreed on using a common dialect that could be easily read by computer programs? Well, that's one of the pillars of Linked Data: certain ways of understanding and describing reality (frameworks) are standarized, and so are the properties used for those descriptions (vocabularies). RDF, which basically boils down to "Describe everything using a simple [Subject] [Predicate] [Object] structure, and use web addresses (URL's) whenever possible to refer to resources and their relationships", is arguably the most widely used of these frameworks. RDF uses well-known vocabularies, each suited for a special knowledge domain (e.g., for statistical data exchange, for describing people, projects or places, for organizing concept schemes in a hierarchical manner...), to aid in the task of writing these descriptions and understanding descriptions written by others. RDF can be serialized (formatted) as XML and many other formats, including HTML (so you can actually annotate your blog with RDF and help machines understand what you are writing about).

The other important part, of course, is the "linked" one. One of the issues I mentioned before about reading data files is that headers, titles, notes and other texts will be written in a specific language (e.g., Spanish) that the machine may not understand. They could also contain typos, or refer to the same places or people using different terms ("Londres" and "London", "Don Quijote" and "Don Quixote", etc.). Can't we describe these common topics using well-known identifiers instead of plainly written words, just as we did with vocabularies before? Sure we can! There are a lot of Linked Data publications describing places (e.g., GeoNames), subject matters (e.g., Library of Congress Subject Headings [LCSH], or Lista de Encabezamientos de Materia para las Bibliotecas Públicas [LEM], the latter of which I'm personally involved in) or even everything and anything (such as DBpedia, whose aim is to republish all of Wikipedia's information in a Linked Data compatible format) which you can link to.

So, for example, you could link your data using the 'subject' property defined in the very-well-known Dublin Core (DC) vocabulary and pointing to the 'Unemployment' article in DBpedia and to the 'Unemployment' subject heading in LCSH. And you could link the DC 'author' property using yourself (your email or homepage) as its object. And, since RDF uses widely-recognized and well-defined file types, you don't have to worry that someone will mistake your decimal comma for a thousands separator, or that they will not be able to interpret a specific date. In short, your dataset, contained in a single file, is no longer an island in a sea of data, since you have built bridges to other datasets.

See how this relates to the traditional Web? But now you're not merely linking to other web pages: you're giving a meaning (hence the 'Semantic' in Semantic Web) to every relationship you build, and, if done properly, anyone will be able to interpret that meaning when reading your data, be it a person or a machine.

One of the pontial applications of Linked Data and the Semantic Web is being able to transparently query many datasets using common filters. For example, I can select Química (Chemistry) from LEM, and ask many online libraries if they have any books with that subject matter, but using its URL, not the word "Química". But Química in LEM is related to Chemistry in LCSH, so I can extend my query to include its URL. Ah, but Chemistry in LCSH is also linked to Chimie in the French National Library Subject Headings... You see where I'm going. Information is easily consumable and queriable by machines, so they can do the heavy lifting.

TL;DR: I don't blame you.

1

u/[deleted] Jun 14 '13

+1000

1

u/csarven Jun 18 '13

Linked Data is an approach to connect imaginary or real things on the Web such that, we can learn and discover new things given their relationship with one another. The whole Linked Data thing is like surfing the Web, doing some detective work, crossing a bridge, or plugging one thing to another; we start somewhere and then move from one point to another as we need to. In the end, Linked Data allows us to look for patterns or interesting things that's sometimes not easy to see or know.

When things are unambiguously identified and are related to one another on the Web, we can easily answers questions like: Which of my friend's friends live in Bern and love dogs? What is the percentage of people liking bananas that highly reviewed the book which I also like? A list of key ideas and discoveries in human history that eventually lead to the development of the Internet. What's the relationship between different periods in art and literature? What set of facts lead a politician to support a certain policy? Which products in this market are from local farmers or from companies that support local farmers?

5

u/linked_data_abstract Jun 14 '13 edited Jun 14 '13

Thanks for the question.

Are you familiar with the phrase "tldr"? Which TLDR are we talking about? "Top Level Design Review"? "Too Long Didn't Read"?

Time is money. To save time and money, we use links (or URLs / URIs) to describe things.

Please refrain from providing any references i.e., no links!

I interpret this as "explain what math is without using any numbers"; or "I trust you to abstract it for me."

Math is the universal language because it is built upon numbers that we all share. Conventionally, we use base-10 so that we can understand one another. Similarly, Linked Data is about using standard web protocols like HTTP and URLs to share and describe things.

Linked Data

There are four guiding principles for Linked Data:

1: Use URIs to denote things.

1: Use URIs to name and link to things.

2: Use HTTP URIs so that these things can be referred to and looked up ("dereferenced") by people and user agents.

2: Put things on the internet so we can share.

3: Provide useful information about the thing when its URI is dereferenced, leveraging standards such as RDF*, SPARQL.

3: Describe things with attributes (which are named with URIs)

4: Include links to other related things (using their URIs) when publishing data on the Web.

4: Share links to other useful resources when publishing data on the Web.

URLs, Turtle, Ontologies

Say we were to describe the components of the URL to this page as Linked Data (specifically in Turtle RDF syntax):

# First we declare namespaces
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix uri: <http://example.com/vocab/URI> .
@prefix uriv: <http://uri4uri.net/vocab#> .

# Then we declare subjects
<http://www.reddit.com/r/semanticweb/comments/1gbuvp/explain_linked_data_like_im_five/> a uri:URL ;
    uri:scheme  "http" ;
    uri:host    "www.reddit.com" ;
    uri:path    "/r/semanticweb/comments/1gbuvp/explain_linked_data_like_im_five/" ;
    uri:query   "" ;
    uri:fragment "" ;
    .

If we visited (or dereferenced) uri: , we should expect to find an ontology describing what a uri:URL is, and what uri:scheme and uri:host attributes are.

See also the schema.org ontology in Turtle RDF syntax.

Examples

Here is a linked picture of the Linked Open Data cloud.

There's an example of a Linked Data schema in Turtle RDF syntax at schema DOT rdfs DOT org / all.ttl.

Compare this:

It doesn't look like anyone has created a Linked Data page in simple english Wikipedia, but the simple english article about Semantic Web from Simple English Wikipedia is a useful reference.

With this from http://dbpedia.org/page/Linked_data#dbpedia-owl:abstract@en :

In computing, linked data describes a method of publishing structured data so that it can be interlinked and become more useful. It builds upon standard Web technologies such as HTTP and URIs, but rather than using them to serve web pages for human readers, it extends them to share information in a way that can be read automatically by computers. This enables data from different sources to be connected and queried.

1

u/westurner Jun 16 '13

Attribute -> rdf:Property

1

u/janppp Jun 17 '13

You can use it on a computer to describe something, so other people can find it in an easy way. E.g. you want to invent a new Pokémon, let’s call it Angramon, you can use this name to find it. But for other Pokémon-Trainers it will be hard to find it, because only you know the exact name. So you have to describe what characteristics it has. That means what kind of a Pokémon it is, what attacks it can perform, how strong it is, etc. Once you described it the others can now find your new Pokémon in an easy way. It also allows you to find Pokémon from other Trainers that are similar to yours.

1

u/wbtcchj Jun 18 '13 edited Jun 19 '13

We have all this useful information on the internet but it is spread out and we have to manually search for it. If we write „Bern is the capital of Switzerland“ on our webpage a human will understand it but a computer does not. If we tag it in a way so that a computer can understand it too, he can connect this information for us with many other available information about Bern. Somebody might have written that Bern was founded in 1191, now those two information are automatically connected with each other. Linking all this data together helps us understand how things are connected and we can see how objects influence other objects, things we might have never thought about otherwise. #BFHWBTC

1

u/wbtcfg Jun 20 '13

Just imagine that all LEGO bricks are connectet. True that fact, you could ask one brick to show you all the yellow bricks, wich are 6 dots long and 2 dots wide. So you can find your bricks a lot faster.

But there is one big difference, unfortunatelly for your LEGO it does not work, but for some information in the internet it works great.

1

u/wbtcmaz Jun 26 '13

Imagine you are Mario in a Mario Nintendo Game and the Ghost Boo will help you select items from the scary, dark house. You explain to him you need the star from the house. Boo will get you all the stars in the house but none of them are the right one to complete the level. With Linked Data he knows in which room of the house are the right star and only bring you those. Now Mario can chose the right one.

BFHWBTC

0

u/westurner Jun 17 '13

Cambridge Semantics' free Semantic University is a great resource for learning about Linked Data.

The "What is Linked Data" video

[applies] whimsical, hand-drawn pieces of paper and hand gestures to introduce the subject of Linked Data for non-technical people.

-1

u/ravo87 Jun 14 '13

WHY!?