Search notes:

DBpedia

Ontlology classes

The complete DBpedia ontology can be browsed online.

SPARQL queries

The SPARQL endpoint for DBpedia is https://dbpedia.org/sparql.

Prefixes/namespaces

The main namespaces of DBpedia are
dbr: http://dbpedia.org/resource/ dbr:… represents a Wikipedia article page
dbp: http://dbpedia.org/property/ Properties extracted from the raw infobox
dbo: http://dbpedia.org/ontology/ For representations of ontologies.

dbo:abstract

dbo:abstract links a Wikipedia article to its first (textual) lines.
select
    ?abstract
{
    dbr:Zürich  dbo:abstract   ?abstract .
    filter(lang(?abstract) = 'en' )
}

rdfs:comment

rdfs:comment is (or seems to be) similar to dba:abstract, but returns a shorter text than dbo:abstract:
select
    ?comment
{
    dbr:Zürich  rdfs:comment   ?comment .
    filter(lang(?comment) = 'en' )
}

owl:sameAs

owl:sameAs can be used to find the DBpedia resource for a Wikidata item:
select
   ?sub
{
   ?sub  owl:sameAs  <http://www.wikidata.org/entity/Q507459> .
}

Misc

rdfs:label
dbo:wikiPageWikiLink and dbo:wikiPageExternalLink
foaf:birthDate
select *
{
   dbr:Category:English_novels ?x ?y .
}
limit 100

Index