(This page is still under construction.)

Some help (such as sample SPARQL queries) can be found on answers.semanticweb.com and/or Stack Overflow. The most recent 10 posts for each site should be seen in the Feeds section, lower down on this page. Full searches are linked here --

If the information you need cannot be found there, you can:

  1. create a new post on one of the Overflow sites and use the tag “dbpedia”
  2. check the DBpedia support page .


(Still not displayed correctly, we are working on aggregating the feed)


Making links

I've compiled an RDF data set about plants. Now I want to link this data out. For example I have things like <#foo> dwc:genus "Musa" . and I'd like it to turn it into <#foo> dwc:genus <http://dbpedia.org/resource/Musa>. I have about 3 million genus triples.

What would be the best way to do this? Should I SPARQL against the dbpedia endpoint using the SERVICE keyword, but I'm already afraid that would sort of break everything because of the size of the data.

Let me know what tools/methodologies you usually employ for inserting links within your dataset.

Protege: Including external object from dbpedia

hi, I have an individual of class Company which has ObjectProperty is__in__region. I want the object of the triple to be an individual located at http://www.dbpedialite.org/things/24343629

The result should look like this

< something:company_1> < something:is_in__region> < http://www.dbpedialite.org/things/24343629>

I am using Protege 4.3 on Windows

PS http://answers.semanticweb.com/questions/15112/protege-including-external-ontology-reference does not seem to work


How to Embed Dbpedia data onto web page?

What do I need in order to embed data from Dbpedia or other endpoints into my markup? I've played with SPARQL using Snorql, and would now like to learn how to display results to my queries on a web page.

I'm not much of a programmer (HTML/CSS are pretty much the limit of my coding skills), so while a complete working example would be ideal, I'd even appreciate just some advice into what I'll need to get going in the right direction.


convert a webpage using DBPedia extraction framework.

How do I use the DBPedia Information Extraction Framework to convert a single webpage to RDF statements? I think I have to use the WikiPage extraction source class, but I don't now how to use it, and I can't find any examples online. Iam working on research project to build documentation(documentations in Github) based search engine which takes its properties from dbpedia.

Dbpedia Customized dump extraction

I want to extract ntriples of only a particular page in wikipedia not the whole Dbpedia dumps. I know that by doing Large-Scale RDF Data Slicing it is possible to customized Dump but not for One page. Is there a way to extract RDF data of just one web page?

Getting commun characteristics


Is there a query to find the connection from several elements in dbpedia. For example: if I got train and stations and chess, how can I find that they are grand child of board game?


Edit: To do that, as DBpedia categories are hierarchical. I want to find all the categories of the elements and find the common one, and if it does not have any match find all the categories of the categories. But how do I get the categories of a category?

So to do this:

SELECT ?grandCat WHERE {
:chess <http://purl.org/dc/terms/subject> ?cat.     // will get the categories of the subject
?cat <http://www.w3.org/2004/02/skos/core#broader> ?grandCat.   // get the categories of the categories

And then find the matching with the different elements

SPARQL & DBpedia can't find the exact query

Can't find the query that return all the Canadian Nobel laureates ( Canadian-born *** naturalized Canadian ) Using the endpoint DBpedia

And then Find all the pairs of Nobel laureates who are members of the same immediate family (spouse, father and son, sisters, ...) Using the endpoint DBpedia

any help would be greatly appreciated :) thx

Which of these two SPARQL queries is faster ?

Hi, I was wondering which are the core differences (in term of what sparql does) between the queries below ? I'm querying dbpedia sparql endpoint (http://dbpedia.org/sparql)

First request:

    SELECT DISTINCT * { ?qoi a foaf:Person. ?qoi foaf:name ?name.

Second request:

    SELECT DISTINCT * { ?qoi a foaf:Person. ?qoi ?prop ?name.

Thanks for your enlightening answers.

Get fr.dbpedia.org properties from dbpedia.org sparql endpoint

Hi, I'd like to get fr.dbpedia.org properties (like http://fr.dbpedia.org/property/genre) from dbpedia.org sparql endoint (using the Virtuoso interface located at http://dbpedia.org/sparql) I've tried the following query, trying to specify as a NAMED GRAPH fr.dbpedia.org, but to no avail :

`SELECT DISTINCT ?prop FROM NAMED <http://fr.dbpedia.org> 
         ?x a foaf:Person. ?x ?prop ?y. 
         FILTER(contains(str(?prop), ".fr"))}`

I filter in order to find whether I get some properties I'm interested in (i.e properties from fr.dbpedia.org)

Is it possible to do what I intend to do ? (I know I could use fr.dbpedia.org sparql endpoint but I'd like to get a mix of regular dbpedia.org properties and fr.dbpedia.org ones)

filter out certain properties from sparql query result

I'm trying to filter out certain properties (e.g dbpprop: ones) from the result of a sparql query. I'm querying dbpedia sparql endoint.

More precisely what I'd like to do is expressed by the following pseudo code :

quantity_of_interest, property, value, property_type = sparqlQuery(query)
if property_type == rdf:Property:
    return quantity_of_interest, property, value

For now, I filter out the properties afterwards in some python code and I use the following sparql query :

SELECT DISTINCT ?qoi ?property ?value (bif:either(?type=rdf:Property, 0, 1) as ?filter_out) 
    ?qoi a foaf:Person. ?qoi ?property ?value. 
    OPTIONAL{?property rdf:type ?type }

If filter_out == 0 I discard the whole result.

Is there a way I can directly make a sparql query which filters out the whole result whenever ?type == rdf:Property ?

There are no files on this page. [Display files/form]
There is no comment on this page. [Display comments/form]


Last Modification: 2011-07-24 20:04:59 by Sebastian Hellmann