Top "Sparql" questions

SPARQL (pronounced "sparkle", a recursive acronym for SPARQL Protocol and RDF Query Language) is a set of specifications by W3C that provide languages and protocols to query and manipulate RDF graph content on the Web or in an RDF store.

SPARQL using subquery with limit

I am developing a java application that uses ARQ to execute SPARQL queries using a Fuseki endpoint over TDB. The …

nested subquery limit sparql
How to bind a variable to a queried item in SPARQL

In this simple sparql query I get a list of subjects whose object is 42 SELECT ?v WHERE { ?v ?p 42 } If …

sparql
Filter by date range in SPARQL

I am using Jena's SPARQL engine and trying to write a query to filter on a date range as I …

datetime rdf sparql jena
Using GROUP BY, COUNT and SAMPLE in apache jena SPARQL

So I have an RDF schema that contains many "groups", and each of these groups has a "name", and contains …

rdf sparql semantic-web jena owl
Querying DBpedia with SPARQL and Jena

I cannot understand how can I query DBpedia using Jena. In the tutorials like here(Listing 4) model is initialized as …

sparql semantic-web jena dbpedia
Binding a variable to one of two values with IF?

In the following SPARQL query, I'm not sure how to use if to bind one of two strings to the …

if-statement rdf sparql
SPARQL filter lang 'en' gives other languages

The following SPARQL query doesn't get the results I want because they are in other languages than English, regardless of …

sparql dbpedia
How to build SPARQL queries in java?

Is there a library, which is able to build SPARQL queries programmatically like the CriteriaBuilder in JPA or to build …

java string sparql
How to write SPARQL query that efficiently matches string literals while ignoring case

I am using Jena ARQ to write a SPARQL query against a large ontology being read from Jena TDB in …

rdf sparql jena arq tdb
Selecting some distinct and some not-distinct tags in SPARQL

I'm trying to query DBPedia for a list of properties relating to a given class in the ontology, but since …

distinct rdf sparql dbpedia