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

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759612297, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/Data/open/DBpedia/index(101): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78