Difference between revisions of "SPARQL"

From BITPlan Wiki
Jump to navigation Jump to search
Line 18: Line 18:
 
<pre>
 
<pre>
 
<subject> <predicate> <object>
 
<subject> <predicate> <object>
 +
</pre>
 +
e.g.
 +
<pre>
 +
Dubai is-located-in AE
 
</pre>
 
</pre>

Revision as of 13:05, 4 January 2018

What is SPARQL

SPARQL is a query language for semantic databases using the Resource Description Framework (RDF) format

Tutorial

There are quite a few tutorials out there for SPARQL e.g.

  1. W3C SPARQL By Example
  2. Apache Jena SPARQL

This tutorial is for people which are new to semantic concepts but would like to use an example with a fair amount of data but not too much of complexity in the structure of the data.

Semantic Concepts

Personally I learned Semantic Concepts using Semantic MediaWiki see

  1. Wolfgang Fahl's User page at www.semantic-mediawiki.org
  2. Semantic Concepts Talk at SMWCon 2015

Triples

A semantic statement has the form

<subject> <predicate> <object>

e.g.

Dubai is-located-in AE