Questions tagged [dbpedia]

DBpedia is a community project focused on transforming Wikipedia content in structured data represented using RDF Language statements. In addition to Wikipedia content transformation, it also publishes said content into the World Wide Web, as Linked Open Data, by adhering Linked Data principles. If you are completely new to SPARQL, please consider to ask your question on opendata.stackexchange.com.

DBpedia is a community effort focused on transforming Wikipedia article content into structured data which is then published to the Web, as Linked Open Data, in conformance with Linked Data publishing principles. In addition, this project also includes a Query Services endpoint that allows both humans and/or machines to perform powerful ad-hoc queries using the W3C's SPARQL Query Language.

Finally, DBpedia also have a Live Edition that provides all the aforementioned functonality, but with the addition of being up to date with Wikipedia article changes, as they arise.

1334 questions
11
votes
3 answers

How to skip bad dates in DBpedia SPARQL request?

I need to get data about films from DBpedia. I use SPARQL query as follows on http://dbpedia-live.openlinksw.com/sparql: PREFIX rdfs: PREFIX rdf: PREFIX foaf:…
10
votes
2 answers

DBpedia SPARQL Querying for a specific rdfs:label

Basically I have a query (shown below) which works efficiently. However, I want my search to be more precise where the label is the actual string 'yago' rather than containing the string 'yago'. I want to try to do it without filters if possible as…
Sam
  • 1,479
  • 3
  • 14
  • 16
10
votes
3 answers

Get all Wikipedia Infobox Templates and all Pages using them

Given a Wikipedia page like Wikipedia: Stack Overflow there are often Infoboxes (mostly on the right hand at the top of the page). Example screenshot: DBPedia lists all these attributes as RDF triples. You can see the example at DBPedia: Stack…
Alp
  • 29,274
  • 27
  • 120
  • 198
10
votes
1 answer

Counting in SPARQL

Ok so i have this query PREFIX rdfs: SELECT DISTINCT (COUNT(?instance) AS ?count) WHERE { ?instance a . } and the result is 286. Cool. Now I want to get the number…
ip.
  • 3,306
  • 6
  • 32
  • 42
10
votes
2 answers

How to setup neo4j with dBpedia ontop of ruby-on-rails application?

I am trying to use dBpedia with neo4j ontop of ruby on rails. Assuming I have installed neo4j and downloaded one of the dBpedia datasets. How do I import the dbpedia dataset into neo4j ?
0x90
  • 39,472
  • 36
  • 165
  • 245
9
votes
2 answers

Returning all images on a Wikipedia page

I am trying to write a SPARSQL query that will return all possible image URLs associated with a resource. I can return the foaf:depiction, if there is one, but often when I visit said page on Wikipedia I see there are other pictures that I cannot…
9
votes
3 answers

How to fix 'TypeError: name.toUpperCase is not a function' in axios

I want to get data from dbpedia endpoint, with axios in vue js. I use axios.get to get data from dbpedia, and i got and error in console say : TypeError: name.toUpperCase is not a function How can i fix it? created(){ this.fetch(); }, …
Mar_TO
  • 183
  • 1
  • 3
  • 9
9
votes
2 answers

Filter language only if the type is literal

This is probably almost the same quetion as: Filter by language only if the object is a literal Problem is that the answer there doesn't work in my case. I have this query: SELECT ?property ?value WHERE {
Marius Lian
  • 523
  • 7
  • 15
9
votes
2 answers

How to concatenate a list of values in sparql?

Suppose I have a uri http://dbpedia.org/page/Manmohan_Singh now he has a list of years in his tag dbpprop:years. When I write a query like PREFIX rdf: PREFIX rdfs:…
RamPrasadBismil
  • 579
  • 2
  • 10
  • 30
9
votes
1 answer

Exclude results from DBpedia SPARQL query based on URI prefix

How can I excluding a group of concepts when using the DBpedia SPARQL endpoint? I'm using the following basic query to get a list of concepts: SELECT DISTINCT ?concept WHERE { ?x a ?concept } LIMIT 100 SPARQL Results This gives me a list of 100…
Mohammad Amir
  • 135
  • 2
  • 6
9
votes
1 answer

Load DBpedia locally using Jena TDB?

I need to perform a query against DBpedia: SELECT DISTINCT ?poi ?lat ?long ?photos ?template ?type ?label WHERE { ?poi ?label . ?poi ?lat . ?poi…
George Papatheodorou
  • 1,539
  • 19
  • 23
9
votes
1 answer

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 follows: // Open the bloggers RDF graph from the filesystem InputStream in = new FileInputStream(new File("bloggers.rdf")); //…
Eugeniu Torica
  • 7,484
  • 12
  • 47
  • 62
8
votes
2 answers

DBpedia SPARQL - getting image and resource link of other artists?

Given a musical artist, I am trying to find other musical artists who have the most common "associatedActs of" with a particular artist. I have the following query for Eminem and it works fine SELECT ?c (COUNT(*) AS ?count) WHERE { { ?b…
user972616
  • 1,324
  • 3
  • 18
  • 38
8
votes
1 answer

Retrieving a DBpedia resource by its string name with SPARQL

I am trying to get the resource describing country Romania by the country name with this query: PREFIX foaf: PREFIX : SELECT DISTINCT ?x WHERE { ?x foaf:name 'Romania' } SPARQL…
8
votes
2 answers

Getting started with DBpedia

I want to get started using DBpedia. At the moment all I know is that DBpedia is a structured form of Wikipedia data and it can be queried using SPARQL. To me the basic idea of DBpedia (giving structure to wikipedia data) seems truly amazing, so…
Ubercoder
  • 711
  • 8
  • 24
1
2
3
88 89