Verrijkt Koninkrijk Semantic Layer update: now with more DBPedia!

overview

The Verrijkt Koninkrijk Semantic Layer (which has gotten a small makeover) now is expanded with 13,160 links to the Dutch version of DBPedia (nl.dbpedia.org). The Named Entities that have been identified by the UvA recognizers have been converted to SKOS and are loaded in the semantic layer. The wikipedia links, also from the UvA algorithms, have been converted to owl:sameAS links to Dutch and English DBPedia. To allow for some nice SPARQL querying, I have fetched the RDF triples for the linked Dutch DBPedia concepts (interactive SPARQL endpoint at http://semanticweb.cs.vu.nl/verrijktkoninkrijk/flint/).

An example of such a nice SPARQL query is this one, which retrieves all paragraphs in Loe de Jong’s text (retrievable through the loedejongdigitaal.nl resolver) that mention a person that was (or later became) a Prime minister (limited to the first 100 results).

PREFIX dcterms: <http://purl.org/dc/terms/ >
PREFIX niod: <http://purl.org/collections/nl/niod/ >
PREFIX skos: <http://www.w3.org/2004/02/skos/core# >
PREFIX dbp-prop: <http://nl.dbpedia.org/property/ >
PREFIX dbp-res: <http://nl.dbpedia.org/resource/ >

SELECT * WHERE {
?entity niod:nerClass niod:nerclass-per;
owl:sameAs ?dbpedia_entry;
niod:pRef ?pref.
?dbpedia_entry dbp-prop:functie dbp-res:Minister-president_van_Nederland.
}
LIMIT 100

Or this next one, that lists for each of the found named entities of type ‘event’ an image depicting that event.

PREFIX dcterms: <http://purl.org/dc/terms/ >
PREFIX niod: <http://purl.org/collections/nl/niod/ >
PREFIX skos: <http://www.w3.org/2004/02/skos/core# >
PREFIX dbp-prop: <http://nl.dbpedia.org/property/ >
PREFIX foaf: <http://xmlns.com/foaf/0.1/ >

SELECT DISTINCT ?event ?place WHERE {
?event niod:nerClass niod:nerclass-eve;
owl:sameAs ?dbpedia_entry;
niod:pRef ?pref.
?dbpedia_entry foaf:depiction ?picture.
}
LIMIT 100

Again, all results should be taken with a grain of salt, since many OCR, conversion and linking-errors occur. The quality of the DBPedia conversion is unknown and outside of the scope of the Verrijkt Koninkrijk project.

[update: Links have been updated to http://semanticweb.cs.vu.nl/verrijktkoninkrijk/]

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s