Get Help

Feed ""

July 13, 2018

I'm working on a SPARQL query to be run against the public DBPedia endpoint and although results are being returned, the query is taking a long time to execute. I am not an expert in SPARQL and was hoping someone could help me optimise the query if possible.

The query retrieves the following:...

July 13, 2018

I'm doing a small task on Sparql. I don't have a query but I just want to know is there a way to write a sparql query to 'Get the list of Dataset'? I'm using DBpedia Endpoint.

July 13, 2018

I'm doing small task on Sparql Query. I want to get the number of entities and number of instances. I have basic knowledge of Sparql and rdf. So I wrote sparql query to get the number of entities but i'm not 100% sure it's right. The endpoint i'm using is Dbpedia. Here's the query.

#Number of Entities SELECT (count(?entity) AS ?Entities) WHERE{ ?entity rdf:...

July 11, 2018

I am new to RDF and SPARQL and am struggling with what syntax is correct. When I look up examples on the web, it looks fairly easy, but when I try to apply it and do exercises, it simply doesn't work.

Currently I have to make a list with three columns, containing the European Union countries, population size (ranked from big to small), and the type of government the country has.


July 11, 2018

I'm doing a small exercise on sparql. Using Dbpedia Endpoint, I need to count number of triples.

This is my query

// Get the number of triples // SELECT (COUNT(*) as ?Triples) WHERE { ?s ?p ?o} ------------------------------------------------------- OUTPUT: ( ?Triples = 1625382483 )

Just wondering are the query and the result right? Is this how you get...

July 05, 2018

I have a list of places in the UK. I want to get their latitude and longitude information from the I have just started to learn SPARQL, and I am not very familiar with the DBpedia. Currently, I am trying to retrieve at least one place, but so far no success. If I manage to get one place, then I will try to get all...

July 02, 2018

Any ideas on how to save the results of this SPARQL query into a TURTLE format?

PREFIX rdfs: <> PREFIX dbo: <> select distinct ?city ?labelEn{ ?city a dbo:City. ?city rdfs:label ?labelEn. filter(lang(?labelEn) = 'en'). } LIMIT 10

June 29, 2018

I want to use freetext search against the dbpedia and I'm trying the query I found on the W3C website:

If I try the query WITHOUT the bif: prefix by commenting it out I get the error shown below the query:

PREFIX xsd: <>...

June 20, 2018

I'm a bit confused, why I cannot retrieve members of following Wikipedia Category:

My query, which is easy and absolutely basic:

prefix dbc: <> prefix dcterms: <> select ?member { ?member dcterms:subject dbc:List_of_members_of_the_17th_Bundestag...

June 14, 2018

I am trying to write a sparql query to get latitude and longtitude of a city based on its name, the query I found is this

PREFIX geo: <> PREFIX dbo: <> SELECT * WHERE { ?s a dbo:Place . ?s geo:lat ?lat . ?s geo:long ?long . }

but it outputs all the places. I want to type in name of a city in a...