Questions tagged [sparql]

SPARQL (pronounced "sparkle", a recursive acronym for SPARQL Protocol and RDF Query Language) 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

A SPARQL query example that models the question "What are all the country capitals in Africa?":

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 .
}
1 questions
3
votes
1 answer

Semantic querying of local data

Just got told to find some specific pictures for a calendar as a gift. I have thousands of pictures and looking through all of them is annoying. I just realized that the requirements of the images could be found by a sparql query pretty easy. Can I…
ManuelSchneid3r
  • 4,256
  • 8
  • 41
  • 58