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.

1264 questions
24
votes
2 answers

How to extract information from a Wikipedia infobox?

There is this fancy infobox in . How do I get the value of ?
Tgr
  • 25,494
  • 11
  • 77
  • 108
20
votes
2 answers

Get all properties for a DBpedia class

How to get a list of properties for a specific class? Consider the class dbpedia-owl:Person. All instances of the Person class have some properties prefixed with dbpprop:. How can I get all the dbpprop: properties that we may find for all the…
user878812
  • 239
  • 1
  • 2
  • 6
20
votes
2 answers

How to use DBPedia to extract Tags/Keywords from content?

I am exploring how I can use Wikipedia's taxonomy information to extract Tags/Keywords from my content. I found articles about DBPedia. DBpedia is a community effort to extract structured information from Wikipedia and to make this information…
Pritam Raut
  • 289
  • 1
  • 3
  • 12
17
votes
2 answers

How to get all companies from DBPedia?

I'm new to querying DBPedia. How can I get all companies from http://dbpedia.org/sparql? This query returns only 50'000 organizations: SELECT DISTINCT * WHERE {?company a dbpedia-owl:Company}
Anton
  • 505
  • 4
  • 16
16
votes
1 answer

Freebase / DBpedia / wikidata.org -- differences

I'm looking to enhance several "objects" in my application with human-readable data. To that end, I've seen Freebase, DBpedia and wikidata.org, and am currently working with Freebase. I can't help but wonder, though, what I am missing. So: what's…
Nitzan Shaked
  • 12,530
  • 5
  • 42
  • 54
15
votes
1 answer

Sparql Query to get all the possible movies available from dbpedia

To get all the possible film name, I used sparql query: PREFIX rdfs: PREFIX rdfs: SELECT DISTINCT ?film_title ?film_abstract WHERE { ?film_title rdf:type…
Shruts_me
  • 783
  • 1
  • 10
  • 22
15
votes
1 answer

How to properly use SPARQL OPTIONAL to retrieve attributes for a resource that may exist?

I'm trying to use a SPARQL query to retrieve information about a DBpedia resource (a Person). I'd like to use the same query to retrieve data about any Person by parameterizing the resource URI. Since some attributes may not exist for a particular…
14
votes
3 answers

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 the human-readable "labels" aren't always clear, I'd also like to provide an example from the database. The problem is that while I want to…
Paul
  • 9,014
  • 9
  • 41
  • 75
12
votes
2 answers

Example python script that uses DBPedia?

I am writing a python script to extract "Entity names" from a collection of thousands of news articles from a few countries and languages. I would like to make use of the amazing DBPedia structured knwoledge, say for example to look up the names of…
jaz
  • 155
  • 1
  • 7
12
votes
1 answer

How get DBpedia data in a specific language?

i tried this request http://lookup.dbpedia.org/api/search.asmx/KeywordSearch?QueryClass=film&QueryString=transformers&MaxHits=1 but if i want to retrieve info in italian language? it there another service (similar this) that can?
Leonardo
  • 2,033
  • 6
  • 28
  • 32
12
votes
1 answer

Querying DBpedia for English-only description (with SPARQL)

I'm querying dbpedia.org for a description of Big Ben with this SPARQL query: select ?desc where { ?desc } This returns a list of descriptions in at least 10…
siamii
  • 20,540
  • 26
  • 86
  • 136
12
votes
1 answer

DISTINCT only on one value with SPARQL

I want to retrieve with SPARQL the list of the italian cities with more than 100k of population and I'm using the following query: PREFIX dbo: SELECT ?city ?name ?pop WHERE { ?city a dbo:Settlement . ?city…
drstein
  • 1,071
  • 1
  • 11
  • 23
11
votes
1 answer

Retrieving a DBpedia resource by its string name with SPARQL and without knowing its type

As shown in this question which has a similar title, I would like to retrieve a dbpedia resource by knowing a part of its name. I'm a beginner when it comes to SPARQL and such, but the example in the question helped me a lot, as the author searched…
Ged ort
  • 113
  • 1
  • 5
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:…
11
votes
2 answers

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 the filter lang 'en' (see filters in query). Results of the query : "Никола́й Ива́нович Буха́рин"@en "Никола́й Буха́рин"@en …
Funmatica
  • 167
  • 1
  • 2
  • 9
1
2 3
84 85