SPARQL Protocol and RDF Query Language, aka SPARQL Protocol and RDF Query Language, is an actively used query language created in 2008.

11Years Old 6,705Users 0Jobs

Example code from Linguist:

PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT ?name ?email
WHERE {
  ?person a foaf:Person.
  ?person foaf:name ?name.
  ?person foaf:mbox ?email.
}

Example code from Wikipedia:

PREFIX ex: <http://example.com/exampleOntology#>
SELECT ?capital
       ?country
WHERE
  {
    ?x  ex:cityname       ?capital   ;
        ex:isCapitalOf    ?y         .
    ?y  ex:countryname    ?country   ;
        ex:isInContinent  ex:Africa  .
  }
Edit

Last updated February 11th, 2019