C
C
CloudMonster2015-04-16 12:47:09
PHP
CloudMonster, 2015-04-16 12:47:09

What is the Semantic Web and how to implement it in the site?

Hello.
I was given the task to develop a website based on the Semantic Web. On the Internet, I did not find a specific application of the semantic web in websites. Can you please explain what it is and how to use it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anatoly Scherbakov, 2015-04-17
@CloudMonster

Perhaps they meant using the Semantic Web as an engine for storing your site's data. In this case, you will store data in the form of a labeled graph in RDF format, on top of which, perhaps, build an ontology in OWL. To get this or that information from the storage, you will use the SPARQL query language.
One mainstream solution comes to mind - the monstrous OpenLink Virtuoso, but there are many other libraries and tools for different languages ​​​​and DBMS, you can search for them.
It is useful and interesting to get acquainted with Semantic Web technologies. But the use of a semantic store instead of a relational or, in extreme cases, a non-relational database in most cases does not seem very rational. Primarily because it's slow. And then, most of the data in real life is tabular and fits perfectly into a relational database; and when you start fiddling with the triplestore, you immediately begin to suffer from the lack of the usual relational goodies.
The advantage of semantic storage is its flexibility and "reasonableness", so to speak. Let's say you're building a family tree structure and want to show on your site how many grandparents you have. Then you create nodes in your graph for yourself, your parents, parents of their parents, connecting them with parent-child arcs. Having done this, you can write a rule in OWL: if C is a male and is a child of B, and B is a child of A, then C is A's grandson. And so on.
Now you simply write a SPARQL query that returns all nodes Y such that Y is a grandchild of X. The semantic web engine does the rest for you.
Perhaps this is exactly what was required of you - I once did a term paper on this topic.
My personal opinion is that Semantic Web technologies are the future, but SW languages ​​are more of a layer between systems than real languages ​​for describing and storing data. It is silly to store large amounts of well-structured data in an RDF graph, tables are much better suited for this. But linking different systems together using RDF and accessing them through SPARQL is interesting.

A
Andrey B., 2015-04-16
@andykov

I think you just need to observe the semantics.
In layout, as far as I know, there is no concept of a sematic network, there is a semantic layout.

N
Nikolai Shepelev, 2015-04-16
@venomkol

Most likely they meant that you need to make a website with semantic layout - HTML5 Semantic Elements

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question