Skip to content
Permalink
Browse files
Update queries for DBpedia 2016.
  • Loading branch information
RubenVerborgh committed Oct 27, 2016
1 parent a2be20b commit c1924ccb8628c1a3950e1c71d0c5a9840dce5b5e
@@ -1,6 +1,5 @@
# Airports in Italy
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT DISTINCT ?entity WHERE {
?entity a dbpedia-owl:Airport;
dbpprop:cityServed dbpedia:Italy.

This file was deleted.

@@ -1,6 +1,5 @@
# Artists born in York
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT ?name ?deathDate WHERE {
?person a dbpedia-owl:Artist;
rdfs:label ?name;
@@ -1,6 +1,5 @@
# Authors of books
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT DISTINCT ?book ?author
WHERE {
?book rdf:type dbpedia-owl:Book;
@@ -1,6 +1,5 @@
# Award ceremonies in Dutch speaking countries
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT ?award WHERE {
?award a dbpedia-owl:Award;
dbpprop:country [ dbpedia-owl:language dbpedia:Dutch_language ].
@@ -1,9 +1,10 @@
# Bands associated with members of Queen
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
SELECT DISTINCT ?artist ?band WHERE {
# Other bands of Queen members
# Datasource: http://fragments.dbpedia.org/*/en
SELECT DISTINCT ?artist ?band ?bandName WHERE {
{ <http://dbpedia.org/resource/Queen_(band)> dbpedia-owl:bandMember ?artist. }
UNION
{ <http://dbpedia.org/resource/Queen_(band)> dbpedia-owl:formerBandMember ?artist. }
?artist dbpedia-owl:associatedBand ?band.
?band dbpedia-owl:formerBandMember ?artist;
rdfs:label ?bandName.
FILTER (?band != <http://dbpedia.org/resource/Queen_(band)>)
}
@@ -1,6 +1,5 @@
# Belgian software
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT ?software ?company WHERE {
?software dbpedia-owl:developer ?company.
?company dbpedia-owl:locationCountry [ rdfs:label "Belgium"@en ].
@@ -1,6 +1,5 @@
# 1. Directors of movies starring Brad Pitt
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT ?movie ?title ?name
WHERE {
?movie dbpedia-owl:starring [ rdfs:label "Brad Pitt"@en ];
@@ -1,6 +1,5 @@
# Carpenters killed by crucifixion
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT ?person
WHERE {
@@ -1,6 +1,5 @@
# People who have something in common with Jesus
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT DISTINCT ?person
WHERE {
dbpedia:Jesus dc:subject ?common.
@@ -1,6 +1,5 @@
# Death causes of male American actors
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
PREFIX dbpedia-owl: <http://dbpedia.org/ontology/>
SELECT ?actor ?cause
WHERE {
@@ -1,6 +1,5 @@
# Desserts made with plants
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT ?dessert ?fruit
WHERE {
?dessert dbpedia-owl:type <http://dbpedia.org/resource/Dessert>;
@@ -1,6 +1,5 @@
# Events that took place in the Trentino region
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT DISTINCT ?entity ?event
WHERE {
?entity a dbpedia-owl:Event;
@@ -1,6 +1,5 @@
# Indian dishes that have ingredients in common with Belgian dishes
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT ?indDish ?belDish ?ingredient
WHERE {
?indDish a dbpedia-owl:Food;
@@ -1,6 +1,5 @@
# Bands Michael Jackson wrote a song for
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT DISTINCT ?performer ?name WHERE {
?work dbpedia-owl:writer dbpedia:Michael_Jackson;
dbpedia-owl:musicalArtist ?performer.
@@ -1,6 +1,5 @@
# Foreign titles of Natalie Portman movies
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT ?titleEng ?title
WHERE {
?movie dbpprop:starring [ rdfs:label "Natalie Portman"@en ];
@@ -1,5 +1,5 @@
# Devices with the same OS as the Raspberry Pi
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT DISTINCT ?device WHERE {
dbpedia:Raspberry_Pi dbpprop:os ?operatingSystem.
?device a dbpedia-owl:Device;
@@ -1,6 +1,5 @@
# Artists influenced by Picasso
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
CONSTRUCT {
?artist a dbpedia-owl:Artist.
?artist dbpedia-owl:birthDate ?date.
@@ -1,6 +1,5 @@
# Places that have something to do with Barack Obama
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT ?place ?relation
WHERE {
?place rdf:type dbpedia-owl:Settlement;
@@ -1,6 +1,5 @@
# Soccer players born in their club's city
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT ?clubName ?playerName WHERE {
?club a dbpedia-owl:SoccerClub;
dbpedia-owl:ground ?city;
@@ -1,6 +1,5 @@
# Women in Greek mythology
# Datasource: http://fragments.dbpedia.org/2014/en
# Datasource: http://fragments.dbpedia.org/2015/en
# Datasource: http://fragments.dbpedia.org/*/en
SELECT ?entity ?label ?comment
WHERE {
?entity a dbpedia-owl:MythologicalFigure;
@@ -1,6 +1,5 @@
# 5. Works by Cubists (DBpedia & VIAF)
# Datasources: http://fragments.dbpedia.org/2014/en http://data.linkeddatafragments.org/viaf
# Datasources: http://fragments.dbpedia.org/2015/en http://data.linkeddatafragments.org/viaf
# Datasources: http://fragments.dbpedia.org/*/en http://data.linkeddatafragments.org/viaf
SELECT ?name ?work ?title {
?artist dbpedia-owl:movement [ rdfs:label "Cubism"@en ];
foaf:name ?name.
@@ -1,13 +1,17 @@
{
"datasources": [
{
"name": "DBpedia 2015-04",
"url": "http://fragments.dbpedia.org/2015/en"
"name": "DBpedia 2016-04",
"url": "http://fragments.dbpedia.org/2016-04/en"
},
{
"name": "DBpedia 2015-10",
"url": "http://fragments.dbpedia.org/2015-10/en"
},
{
"name": "DBpedia 2015-04",
"url": "http://fragments.dbpedia.org/2015/en"
},
{
"name": "DBpedia 2014",
"url": "http://fragments.dbpedia.org/2014/en"

0 comments on commit c1924cc

Please sign in to comment.