question
stringlengths
9
150
query
stringlengths
63
685
dataset-id
stringclasses
12 values
Give me all school types.
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX yago: <http://dbpedia.org/class/yago/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:SchoolTypes . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
qald-1
Which presidents were born in 1945?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX yago: <http://dbpedia.org/class/yago/> SELECT DISTINCT ?uri ?string WHERE { { ?uri rdf:type onto:President . ?uri onto:birthDate ?date . FILTER regex(...
qald-1
Who are the presidents of the United States?
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri ?string WHE...
qald-1
Who was the wife of President Lincoln?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?uri ?string WHERE { ?person rdf:type onto:President . ?person foaf:surname 'Lincoln'@en . ?person onto:spouse ?...
qald-1
Who developed the video game World of Warcraft?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?uri ?string WHERE { ?subject rdf:type onto:Software . ?subject rdfs:label 'World of Warcraft'@en . ?subject onto:developer ?uri . OPTIONAL...
qald-1
What is the official website of Tom Hanks?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?uri WHERE { ?subject rdfs:label 'Tom Hanks'@en . ?subject foaf:homepage ?uri }
qald-1
List all episodes of the first season of the HBO television series The Sopranos!
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?uri ?string WHERE { ?uri onto:series res:The_Sopranos . ?uri onto:seasonNumber 1 . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
qald-1
Who produced the most films?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?uri ?string WHERE { ?film rdf:type onto:Film . ?film onto:producer ?uri . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en')...
qald-1
Which people have as their given name Jimmy?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type foaf:Person. ?uri foaf:givenName 'Jimmy'@en . OPTIONAL {?uri rdfs:label ?string . FILTER ...
qald-1
Is there a video game called Battle Chess?
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> ASK WHERE { ?software rdf:type onto:Software . ?software rdfs:label ?name . FILTER (regex(?name, 'Battle Chess')) }
qald-1
Which mountains are higher than the Nanga Parbat?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> SELECT ?uri ?string WHERE { ?uri rdf:type onto:Mountain . ?acon rdfs:label 'Nanga Parbat'@en . ?acon pr...
qald-1
Who created English Wikipedia?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?uri ?string WHERE { ?website rdf:type onto:Website . ?website onto:author ?uri . ?website rdfs:label 'English Wikipedia'@en . OPTIO...
qald-1
Give me all actors starring in Batman Begins.
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?uri ?string WHERE { ?film rdf:type onto:Film . ?film onto:starring ?uri . ?film foaf:name 'Batman...
qald-1
Which software has been developed by organizations founded in California?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?uri ?string WHERE { ?company rdf:type onto:Organisation . ?company onto:foundationPlace res:California . ?uri onto:developer ?company . ?uri rdf:...
qald-1
Which companies work in the aerospace industry as well as on nuclear reactor technology?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT ?uri ?string WHERE { ?uri rdf:type onto:Company . ?uri prop:indu...
qald-1
Is Christian Bale starring in Batman Begins?
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX onto: <http://dbpedia.org/ontology/> ASK WHERE { ?film rdf:type onto:Film . ?film onto:starring ?actors . ?actors rdfs:label 'Christian Bale'@en . ?film foaf:name 'Batman Begins'@en }
qald-1
Give me the websites of companies with more than 500000 employees.
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX prop: <http://dbpedia.org/property/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { ?subject rdf:type onto:Company . ?subject prop:numE...
qald-1
Which actors were born in Germany?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX yago: <http://dbpedia.org/class/yago/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Actor . { ...
qald-1
Which country does the Airedale Terrier come from?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX prop: <http://dbpedia.org/property/> SELECT ?string WHERE { ?dog rdfs:label 'Airedale Terrier'@en . ?dog prop:country ?string }
qald-1
Which birds are there in the United States?
PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:BirdsOfTheUnitedStates. OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
qald-1
Give me all European Capitals!
PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?uri ?string WHERE { ?uri rdf:type yago:CapitalsInEurope. OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
qald-1
Which cities have more than 2 million inhabitants?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX prop: <http://dbpedia.org/property/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:City. { ...
qald-1
Who was Tom Hanks married to?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri ?string WHERE { ?person rdfs:label 'Tom Hanks'@en . ?person prop:spouse ?string . OPTIONAL { ?uri rdfs:label ?string . } }
qald-1
When was DBpedia released?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?date WHERE { ?website rdf:type onto:Software . ?website onto:releaseDate ?date . ?website rdfs:label 'DBpedia'@en }
qald-1
Which people were born in Heraklion?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX yago: <http://dbpedia.org/class/yago/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Person . ?uri onto:birthPlace ?city . ?city ...
qald-1
Which caves have more than 3 entrances?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?uri ?string WHERE { ?uri rdf:type onto:Cave . ?uri onto:numberOfEntrances ?entrance . FILTER (?entrance > 3) . OPTIONAL {?uri rdf...
qald-1
Give me all films produced by Hal Roach.
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Film . ?uri onto:producer ?producer . ?producer r...
qald-1
Which software has been published by Mean Hamster Software?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Software . { ...
qald-1
What languages are spoken in Estonia?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri ?string WHERE { ?country rdf:type onto:Country. { ?country onto:language ?uri . } UNION { ?uri onto:spokenIn ?countr...
qald-1
Who owns Aldi?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?uri ?string WHERE { ?orga rdf:type onto:Organisation . ?orga onto:keyPerson ?uri . ?orga rdfs:label 'Aldi'@en . OPTIONAL {?uri rdfs:label ?string . FILT...
qald-1
Which capitals in Europe were host cities of the summer olympic games?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX yago: <http://dbpedia.org/class/yago/> SELECT ?uri ?string WHERE { ?uri rdf:type yago:CapitalsInEurope . ?uri rdf:type yago:HostCitiesOfTheSummerOlympicGames . OPTIONAL {?uri rdfs:labe...
qald-1
Who has been the 5th president of the United States of America?
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?uri ?string WHERE { ?uri rdf:type onto:President . ?uri onto:orderInOffice '5th President of the United States'@en . OPTIONAL {?uri rdfs:label ?st...
qald-1
Who is called Dana?
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri ?string WHERE { { ?uri rdf:type foaf:Person. ?uri foaf:givenName 'Dana'@en. } ...
qald-1
Which music albums contain the song Last Christmas?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri ?string WHERE { ?single rdf:type onto:Single . ?single onto:album ?uri . ?single foa...
qald-1
Which books were written by Danielle Steel?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?uri ?string WHERE { ?uri rdf:type onto:Book . ?uri onto:author ?author . ?author foaf:name 'Danie...
qald-1
Which companies are located in California, USA?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Organisation . ?uri onto:location res:California . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?strin...
qald-1
Which genre does DBpedia belong to?
PREFIX prop: <http://dbpedia.org/property/> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?uri ?string WHERE { ?dbpedia rdf:type onto:Software . ?dbpedia onto:genre ?uri . ?dbpedia rdfs:...
qald-1
Which country has the most official languages?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?uri ?string WHERE { ?uri rdf:type onto:Country . ?uri onto:language ?language . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en'...
qald-1
In which programming language is GIMP written?
PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?string WHERE { res:GIMP prop:programmingLanguage ?string . }
qald-1
Who produced films starring Natalie Portman?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri ?string WHERE { ?film rdf:type onto:Film . ?film onto:starring ?actors . ?actors foa...
qald-1
Give me all movies with Tom Cruise!
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Film. { ?uri prop:s...
qald-1
In which films did Julia Roberts as well as Richard Gere play?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?uri ?string WHERE { ?uri rdf:type onto:Film . ?uri onto:starring res:Julia_Roberts . ?uri onto:s...
qald-1
Give me all female German chancellors!
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX prop: <http://dbpedia.org/property/> SELECT ?uri ?string WHERE { ?uri rdf:type yago:FemaleHeadsOfGovernment. ?uri prop:office ?office . FI...
qald-1
Who wrote the book The pillars of the Earth?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?uri ?string WHERE { ?books rdf:type onto:Book . ?books onto:author ?uri . ?books rdfs:...
qald-1
How many films did Leonardo DiCaprio star in?
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT COUNT(?film) WHERE { ?film rdf:type onto:Film . ?film onto:starring ?actors . ?actors foaf:name 'Leonardo DiCaprio'@en . }
qald-1
Give me all soccer clubs in the Premier League.
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX resource: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri ?string WHERE { ?uri onto:league resource:Premier_League . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
qald-1
When was Capcom founded?
PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT ?date WHERE { res:Capcom prop:foundation ?date . }
qald-1
Which organizations were founded in 1950?
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Organisation . ?uri prop:foundation ?date . FIL...
qald-1
What is the highest mountain?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?uri ?string WHERE { ?uri rdf:type onto:Mountain . ?uri onto:elevation ?elevation . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?stri...
qald-1
Is Natalie Portman an actress?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> ASK WHERE { ?subject rdf:type onto:Actor. ?subject rdfs:label 'Natalie Portman'@en. }
qald-1
Which presidents of the United States had more than three children?
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX yago: <http://dbpedia.org/class/yago/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:PresidentsOfTheUnitedStates . ?uri onto:child ?child ...
qald-1
Give me the official websites of actors of the television show Charmed.
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { ?film rdf:type onto:TelevisionShow . ?film rdfs:label 'Charmed'@en . ?film o...
qald-1
Who is the daughter of Bill Clinton married to?
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbpedia2: <http://dbpedia.org/property/> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Bill_Clinton onto:child ?child . ?child dbpedia2:spouse ?string . ...
qald-1
Which river does the Brooklyn Bridge cross?
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbpedia2: <http://dbpedia.org/property/> SELECT DISTINCT ?uri ?string WHERE { res:Brooklyn_Bridge dbpedia2:crosses ?string . ?uri dbpedia2:name ?string . }
qald-1
How many monarchical countries are there in Europe?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT COUNT(DISTINCT ?uri) WHERE { ?uri rdf:type yago:EuropeanCountries . ?uri onto:governmentType ?govern . FILTER regex(?govern,'monarchy') . }
qald-1
Where did Abraham Lincoln die?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Abraham_Lincoln onto:deathPlace ?uri . OPTIONAL {?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
qald-1
Is the wife of President Obama called Michelle?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Barack_Obama onto:spouse ?spouse . ?spouse rdfs:label ?name . FILTER(regex(?name,'Michelle')) }
qald-1
Which states of Germany are governed by the Social Democratic Party?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX yago: <http://dbpedia.org/class/yago/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:StatesOfGermany . ?uri onto:leaderParty res:So...
qald-1
Which U.S. states possess gold minerals?
PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX dbpedia2: <http://dbpedia.org/property/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:StatesOfTheUnitedStates . ?uri dbpedia2:mi...
qald-1
In which country does the Nile start?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX res: <http://dbpedia.org/resource/> SELECT ?uri ?string WHERE { res:Nile onto:sourceCountry ?uri . OPTIONAL {?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
qald-1
Which locations have more than two caves?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?cave rdf:type onto:Cave . ?cave onto:location ?uri . OPTIONAL {?uri rdfs:label ?string. FILTER...
qald-1
Is proinsulin a protein?
PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX onto: <http://dbpedia.org/ontology/> ASK WHERE { res:Proinsulin rdf:type onto:Protein . }
qald-1
Which classis does the Millepede belong to?
PREFIX dbpedia2: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?string WHERE { res:Millipede dbpedia2:classis ?string . }
qald-1
How tall is Claudia Schiffer?
PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?number WHERE { res:Claudia_Schiffer onto:height ?number . }
qald-1
Who created Goofy?
PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri ?string WHERE { res:Goofy prop:creator ?string . ?uri prop:name ?string . }
qald-1
Give me the capitals of all U.S. states.
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX yago: <http://dbpedia.org/class/yago/> SELECT DISTINCT ?uri ?string WHERE { ?states rdf:type yago:StatesOfTheUnitedStates . ?states onto:capital ?ur...
qald-1
Give me all cities in New Jersey with more than 100000 inhabitants.
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX dbpedia2: <http://dbpedia.org/property/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:City . ?uri dbpedia2:subdivisionName ?location . ...
qald-1
Which museum exhibits The Scream by Munch?
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbpedia2: <http://dbpedia.org/property/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?uri ?string WHERE { res:The_Scream dbpedia2:museum ?string . OPTIONAL { ?uri rdfs:label ?string. } }
qald-1
Is Egypts largest city also its capital?
PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> ASK WHERE { res:Egypt onto:largestCity ?large . res:Egypt onto:capital ?capital . FILTER (?large = ?capital) }
qald-1
What is the revenue of IBM?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?number WHERE { res:IBM onto:revenue ?number . }
qald-1
Which states border Utah?
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbpedia2: <http://dbpedia.org/property/> PREFIX yago: <http://dbpedia.org/class/yago/> SELECT DISTINCT ?uri ?string WHERE { {res:Kansas dbpedia2:north ?string.} UNION {res:Kansas dbpedia2:northeast ?string.} UNION {res:Kansa...
qald-1
In which country is the Limerick Lake?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri ?string WHERE { res:Limerick_Lake onto:country ?uri . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
qald-1
Which television shows were created by Walt Disney?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:TelevisionShow . ?uri onto:creator res:Walt_Disney . ...
qald-1
Which mountain is the highest after the Annapurna?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX res: <http://dbpedia.org/resource/> SELECT ?uri ?string WHERE { res:Annapurna onto:elevation ?elev . ?uri rdf:type onto:Mountain . ...
qald-1
In which films directed by Garry Marshall was Julia Roberts starring?
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Film . ?uri onto:starring res:Julia_Roberts . ?u...
qald-1
Which bridges are of the same type as the Manhattan Bridge?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX res: <http://dbpedia.org/resource/> PREFIX dbpedia2: <http://dbpedia.org/property/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Br...
qald-1
Was U.S. president Jackson involved in a war?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX dbpedia2: <http://dbpedia.org/property/> ASK WHERE { ?uri rdf:type yago:PresidentsOfTheUnitedStates . ...
qald-1
Which European countries are a constitutional monarchy?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:EuropeanCountries ...
qald-1
Who is the author of WikiLeaks?
PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?uri ?string WHERE { res:WikiLeaks onto:author ?uri . OPTIONAL {?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
qald-1
Which state of the United States of America has the highest density?
PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX dbpedia2: <http://dbpedia.org/property/> SELECT ?uri ?string WHERE { ?uri rdf:type yago:StatesOfTheUnitedStates . ?uri dbpedia2:densityrank ?densi...
qald-1
What is the currency of the Czech Republic?
PREFIX dbpedia2: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?uri ?string WHERE { res:Czech_Republic dbpedia2:currency ?string . ?uri rdfs:label ?string . }
qald-1
Which countries in the European Union adopted the Euro?
PREFIX dbpedia2: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:EuropeanUnionM...
qald-1
What is the area code of Berlin?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?string WHERE { res:Berlin onto:areaCode ?string . }
qald-1
Which countries have more than two official languages?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Country . ?uri onto:officialLanguage ?language . OPTIONAL {?uri rdfs:label ?string. FILTER (lang...
qald-1
Who is the owner of Universal Studios?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?uri ?string WHERE { res:Universal_Studios onto:owner ?uri . OPTIONAL {?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
qald-1
Through which countries does the Yenisei river flow?
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbpedia2: <http://dbpedia.org/property/> SELECT DISTINCT ?uri ?string WHERE { res:Yenisei_River dbpedia2:country ?string . OPTIONAL { ?uri dbpedia2:commonName ?name . } FILTER regex(?name,?string) . OPTIONAL { ?uri dbpedia2:dateEnd ?date...
qald-1
When did Germany join the EU?
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbpedia2: <http://dbpedia.org/property/> SELECT ?date WHERE { res:Germany dbpedia2:accessioneudate ?date . }
qald-1
Which monarchs of the United Kingdom were married to a German?
PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:MonarchsOfT...
qald-1
When was the Battle of Gettysburg?
PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?string WHERE { res:Battle_of_Gettysburg onto:date ?string . }
qald-1
What is the highest mountain in Germany?
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?uri ?string WHERE { ?uri rdf:type onto:Mountain . ?uri onto:elevation ?elevation . ?uri onto:locatedInArea ?area . FILTER (regex(?a...
qald-1
Give me all soccer clubs in Spain.
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:SoccerClub . { ?uri onto:ground ?ground . } UNI...
qald-1
What are the official languages of the Philippines?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Philippines onto:officialLanguage ?uri . OPTIONAL {?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
qald-1
Who is the mayor of New York City?
PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?uri ?string WHERE { res:New_York_City onto:leaderName ?uri . OPTIONAL {?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
qald-1
Who designed the Brooklyn Bridge?
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbpedia2: <http://dbpedia.org/property/> SELECT DISTINCT ?uri ?string WHERE { res:Brooklyn_Bridge dbpedia2:designer ?string . ?uri dbpedia2:name ?string . }
qald-1
Which telecommunications organizations are located in Belgium?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX dbpedia2: <http://dbpedia.org/property/> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?uri ?string WHERE { ?uri rdf:type onto:Organisation . ?uri d...
qald-1
What is the profession of Frank Herbert?
PREFIX dbpedia2: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?string WHERE { res:Frank_Herbert dbpedia2:occupation ?string . }
qald-1
What is the highest place of Karakoram?
PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX res: <http://dbpedia.org/resource/> SELECT ?uri ?string WHERE { res:Karakoram onto:highestPlace ?uri . OPTIONAL {?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
qald-1
Give me the homepage of Forbes.
PREFIX res: <http://dbpedia.org/resource/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT DISTINCT ?uri WHERE { res:Forbes foaf:homepage ?uri . }
qald-1
Which companies are in the computer software industry?
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX dbpedia2: <http://dbpedia.org/property/> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Company . ...
qald-1
What did Bruce Carver die from?
PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?uri ?string WHERE { res:Bruce_Carver onto:deathCause ?uri . OPTIONAL {?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
qald-1