SPARQL

SPARQL Protocol and RDF Query Language
SPARQL
Status gepubliceerd
Startjaar 2008
Auteurs W3C
Gerelateerde standaarden RDF
Afkorting SPARQL
Domein Semantisch web
Website SPARQL 1.1
Portaal  Portaalicoon   Informatica

SPARQL (SPARQL Protocol And RDF Query Language) is een RDF-zoektaal (querytaal) die gebruikt wordt om RDF-gebaseerde data te bevragen door middel van zoekopdrachten (queries). Met deze zoektaal is het mogelijk om informatie op te vragen voor applicaties op het semantisch web.

Geschiedenis

Op 15 januari 2008 is deze zoektaal officieel door W3C geïntroduceerd met SPARQL 1.0.[1]

SPARUL, of SPARQL/Update, is een latere toevoeging aan de SPARQL zoektaal, ook wel SPARQL/Update 1.0 genoemd uit juli 2008.[2]

Versie 1.1 ontstond in 2009[3],

SPARQL/Query 1.1 of SPARQL 1.1 is de huidige status.[4]

Voorbeeld

De voornaamste querytaal voor RDF-grafen is SPARQL en dit is een SQL-achtige taal.
Dit voorbeeld van een SPARQL query laat van het werelddeel Afrika alle hoofdsteden zien en maakt gebruik van een fictieve ontologie.

PREFIX abc: <nul://sparql/exampleOntology#> .
SELECT ?capital ?country
WHERE {
  ?x abc:cityname ?capital ;
     abc:isCapitalOf ?y.
  ?y abc:countryname ?country ;
     abc:isInContinent abc:Africa.
}

Zie ook

Wikibooks heeft meer over dit onderwerp: Programmeren in SPARQL.
Zie de categorie SPARQL van Wikimedia Commons voor mediabestanden over dit onderwerp.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.