SPARQL Query using dotnotrdf API

by

You may be wondering what is Sparql?

What for? 

In this article will try to answer this question, and talk a bit about SPARQL.

According to W3C SPARQL is an RDF query language, that is, a semantic query language for databases, able to retrieve and manipulate data stored in Resource Description Framework (RDF) format.

it is instructions to query RDF, it is similar to SQL query.

Example:

 

I do not want to talk more IT jargon, let's make it easy.

many of us using Alex, google or Cortana this AI devises or software.

How they are understanding what is written in your HTML page.

How they will recognize this text is talking about Person, not about Place or Pace of hardware.

For example, if you google Hilton word, how google understand that is Person, not Hotel!

Rdf came to solve the problem, By giving a description to the text to make it has meaning.

How?

By Using RDFa or Microdata and write our own ontology to describe things.

Example for RDFa with HTML:

 

In the Last HTML page, you may notice the new code in the red color.

This code describes the HTML page, telling Alex this is an Article, title and the body of the article.

So when you Ask Alex: Who is the creator of the Article?

Alex: will give the correct answer (Alice).

the subject is not that complicated, I just give you small or brief words to describe it to you.

and our main article was about SPARQL Query language.

I have developed web solution, through the website you can upload you owl file and query it.

demo: http://sparql.a-hamoud.com/Home/Index

 I have used dontnetrdf API and ASP.NET MVC 5 with SQL Server to store the owl files and manage the users.

 

 

 

 

Query CSV File using Java RMI Client/Server

by

 

This application working on Java RMI, to Query CSV file through the network.
the client will send the query to the server, the code will be executed on the server.
the server will use Apache Commons CSV  to read the CSV file.


the result of the query will be streamed to the client through the network.
the client will read the result and display it to the end user.

 

Snapshot of the result(Client).


I will record youtube video, how to run the server and the client.
this example just to show you the concepts of Java RMI.

 

Code gitHub