question stringlengths 9 150 | query stringlengths 109 692 | dataset-id stringclasses 12
values |
|---|---|---|
How much is the population of Iraq? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?pIraq WHERE { res:Iraq onto:populationTotal ?pIraq } | qald-8 |
What is the population of Cairo? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?pop WHERE { res:Cairo onto:populationTotal ?pop } | qald-8 |
How much is the population density rank of Germany? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT ?rank WHERE { res:Germany prop:populationDensityRank ?rank } | qald-8 |
What is the relation between Resource Description Framework and Web Ontology Language? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?rdf_owl WHERE { res:Web_Ontology_Language onto:abstract ?rdf_owl } LIMIT 1 | qald-8 |
How large is the total area of North Rhine-Westphalia? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?tarea WHERE { res:North_Rhine-Westphalia onto:areaTotal ?tarea } | qald-8 |
What is the original title of the interpretation of dreams? | PREFIX res: <http://dbpedia.org/resource/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?title WHERE { res:The_Interpretation_of_Dreams foaf:name ?title } | qald-8 |
Who are the writers of the Wall album of Pink Floyd? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT ?writers WHERE { res:The_Wall prop:writer ?writers } | qald-8 |
When was the death of Shakespeare? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?x WHERE { res:William_Shakespeare onto:deathDate ?x } LIMIT 1 | qald-8 |
With how many countries Iran has borders? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT ?border WHERE { res:Geography_of_Iran prop:borders ?border } LIMIT 8 | qald-8 |
What is the smallest city by area in Germany? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX skos: <http://www.w3.org/2004/02/skos/core#> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX dct: <http://purl.org/dc/terms/> SELECT ?city WHERE { ?m skos:broader dbc:Cities_in_Germany . ?city dct:subject ?m ; onto:areaTotal ?area } ORDER BY ?area LIMIT 1 | qald-8 |
Which beer brewing comapnies are located in North-Rhine Westphalia? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX dct: <http://purl.org/dc/terms/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?company WHERE { ?company dct:subject dbc:Companies_based_in_North_Rhine-Westphalia ; rdf:type onto:Brewery } | qald-8 |
What is the largest city in america? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?lcity WHERE { res:United_States onto:largestCity ?lcity } | qald-8 |
Who is the current federal minister of finance in Germany? | PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?leader WHERE { <http://dbpedia.org/resource/Federal_Ministry_of_Finance_(Germany)> onto:leader ?leader } | qald-8 |
What is the highest mountain in the Bavarian Alps? | PREFIX prop: <http://dbpedia.org/property/> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?m WHERE { res:Bavarian_Alps prop:highest ?m} | qald-8 |
Who is 8th president of US? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?name WHERE { res:8th_President_of_the_United_States onto:wikiPageRedirects ?link . ?link prop:name ?name } | qald-8 |
Where is the most deep point in the ocean? | PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX dct: <http://purl.org/dc/terms/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?point WHERE { res:Extreme_points_of_Earth dct:subject ?x . ?point dct:subject ?x ; rdfs:comment ?comment FILTER ( lang(?comment) = "en" ) } OFFSET 13 LIMIT 1 | qald-8 |
In which state Penn State University is located? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?s WHERE { res:Pennsylvania_State_University onto:state ?s } | qald-8 |
Which species does an elephant belong? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT ?species WHERE { res:Elephant prop:species ?species } | qald-8 |
What is Donald Trump's main business? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?owner WHERE { ?owner onto:owner res:Donald_Trump } | qald-8 |
What is the last work of Dan Brown? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?book ?date WHERE { ?book onto:author res:Dan_Brown . ?book prop:releaseDate|onto:publicationDate ?date } ORDER BY DESC(?date) | qald-8 |
What other books have been written by the author of The Fault in Our Stars? | PREFIX onto: <http://dbpedia.org/ontology/> SELECT ?books WHERE { ?books onto:author <http://dbpedia.org/resource/John_Green_(author)> } | qald-8 |
When was the last episode of the TV series Friends aired? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?date WHERE { res:Friends onto:completionDate ?date } | qald-8 |
What is the highest mountain in Saxony Germany? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?m WHERE { ?m onto:mountainRange res:Ore_Mountains ; onto:elevation ?height } ORDER BY DESC(?height) LIMIT 1 | qald-9 |
How much is the population of mexico city ? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?Mexico_City WHERE { res:Mexico_City onto:populationTotal ?Mexico_City } | qald-9 |
how much is the total population of european union? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?europop WHERE { res:European_Union onto:populationTotal ?europop } | qald-9 |
Where is Sungkyunkwan University? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?country WHERE { res:Sungkyunkwan_University onto:city ?city ; onto:country ?country } | qald-9 |
When was the death of Shakespeare? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?x WHERE { res:William_Shakespeare onto:deathDate ?x } LIMIT 1 | qald-9 |
how big is the total area of North Rhine- Westphalia? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?tarea WHERE { res:North_Rhine-Westphalia onto:areaTotal ?tarea } | qald-9 |
how much is the population Iraq? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?pIraq WHERE { res:Iraq onto:populationTotal ?pIraq } | qald-9 |
how much is the population densty rank of germany? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT ?rank WHERE { res:Germany prop:populationDensityRank ?rank } | qald-9 |
How many gold medals did Michael Phelps win at the 2008 Olympics? | 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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT Count(?sub) as ?c WHERE { ?sub onto:goldMedalist res:Michael_Phelps . filter (contains (str(?sub), "2008") && conta... | qald-9 |
What is Angela Merkel’s birth name? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?string WHERE { res:Angela_Merkel prop:birthName ?string } | qald-9 |
Which classes does the Millepede belong to? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?String WHERE { res:Millipede prop:taxon ?String } | qald-9 |
Sean Parnell was the governor of which U.S. state? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Sean_Parnell onto:region ?uri } | qald-9 |
Is Pamela Anderson a vegan? | PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Pamela_Anderson a <http://dbpedia.org/class/yago/WikicatAmericanVegans> } | qald-9 |
Give me all American presidents of the last 20 years. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX dct: <http://purl.org/dc/terms/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type onto:Person ; dct:subject dbc:President... | qald-9 |
When is the movie Worst Case Scenario going to be in cinemas in the Netherlands? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT DISTINCT ?rel WHERE { <http://dbpedia.org/resource/Worst_Case_Scenario_(f... | qald-9 |
What is the wavelength of Indigo? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?n WHERE { res:Indigo onto:wavelength ?n } | qald-9 |
Which daughters of British earls died at the same place they were born at? | 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 DISTINCT ?uri WHERE { ?uri rdf:type yago:WikicatDaughtersOfBritishEarls ; onto:birthPlace ?x ; onto:deathPlace ?y FILTER ( ?x = ?y ) } | qald-9 |
In which studio did the Beatles record their first album? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX db: <http://dbpedia.org/> SELECT ?studio WHERE { ?album onto:artist res... | qald-9 |
Which beer brewing companies are located in North-Rhine Westphalia? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX dct: <http://purl.org/dc/terms/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?company WHERE { ?company dct:subject dbc:Companies_based_in_North_Rhine-Westphalia ; rdf:type onto:Brewery } | qald-9 |
What were the names of the three ships by Columbus? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX dct: <http://purl.org/dc/terms/> PREFIX dbc: <http://dbpedia.org/resource/Category:> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT ?uri WHERE { ?uri rdf:type onto:Ship ; dct:subject dbc:Christopher_Columbus ; dct:subject dbc:Exploration_ships } | qald-9 |
Which type of sector is receiving the most Finland foreign aid in India? | PREFIX lso: <http://example.org/lso#> select ?result { ?obs lso:finland-aid-recipient-country <https://openspending.org/finland-aid/recipient-country/in> . ?obs lso:finland-aid-amount ?amount. ?obs lso:finland-aid-sector ?result. } order by desc(sum(xsd:decimal(?amount))) limit 1 | qald-6 |
What types of foreign aid from Finland did Belarus receive in 2011? | PREFIX lso: <http://example.org/lso#> select distinct(?result) { ?obs lso:finland-aid-recipient-country <https://openspending.org/finland-aid/recipient-country/by> . ?obs lso:finland-aid-type-of-aid ?result . ?obs lso:refYear ?year. filter(year(?year)=2011). } | qald-6 |
Butch Otter is the governor of which U.S. state? | PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT DISTINCT ?uri WHERE { ?uri rdf:type yago:StatesOfTheUnitedStates . ?uri prop:governor <http://dbpedia.org/resource/Butch_Otter> . } | qald-6 |
How tall is Amazon Eve? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?height WHERE { res:Amazon_Eve onto:height ?height . } | qald-6 |
Which weapons did Heckler & Koch develop? | PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri rdf:type onto:Weapon . ?uri prop:designer <http://dbpedia.org/resource/Heckler_&_Koch> . } | qald-6 |
Where is Fort Knox located? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri WHERE { res:Fort_Knox prop:location ?uri . } | qald-6 |
Who created Batman? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Batman onto:creator ?uri . } | qald-6 |
Which politicians were married to a German? | PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri rdf:type onto:Politician . ?uri onto:spouse ?spouse . { ?spouse onto:birthPlace <http://dbpedia.org/resource/Germany> . } UNION { ?spouse onto:birthPlace ?p . ?p onto:country <http:... | qald-6 |
When was Jack Wolfskin founded? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?year WHERE { res:Jack_Wolfskin onto:foundingYear ?year . } | qald-6 |
How deep is Lake Chiemsee? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?n WHERE { res:Chiemsee onto:depth ?n . } | qald-6 |
Give me the grandchildren of Elvis Presley. | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Elvis_Presley onto:child ?child . ?child onto:child ?uri . } | qald-6 |
What does ICRO stand for? | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri onto:abbreviation 'ICRO'^^<http://www.w3.org/2001/XMLSchema#string> . } | qald-6 |
When was Olof Palme shot? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?date WHERE { res:Olof_Palme onto:deathDate ?date . } | qald-6 |
List all the musicals with music by Leonard Bernstein. | PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri rdf:type onto:Musical . ?uri onto:musicBy <http://dbpedia.org/resource/Leonard_Bernstein> . } | qald-6 |
Which airports does Yeti Airlines serve? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Yeti_Airlines onto:targetAirport ?uri . } | qald-6 |
Which movies starring Mickey Rourke were directed by Guy Ritchie? | PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri rdf:type onto:Film . ?uri onto:starring <http://dbpedia.org/resource/Mickey_Rourke> . ?uri onto:director <http://dbpedia.org/resource/Guy_Ritchie> . } | qald-6 |
Is Darth Vader Luke’s father? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
ASK WHERE { res:Darth_Vader prop:children "Luke Skywalker"@en . } | qald-6 |
Which subsidiary of TUI Travel serves both Glasgow and Dublin? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:TUI_Travel onto:subsidiary ?uri . ?uri onto:targetAirport res:Glasgow_Airport . ?uri onto:targetAirport res:Dublin_Airport . } | qald-6 |
How high is the lighthouse in Colombo? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?num WHERE { res:Colombo_Lighthouse onto:height ?num . } | qald-6 |
Who was the doctoral supervisor of Albert Einstein? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Albert_Einstein onto:doctoralAdvisor ?uri . } | qald-6 |
Did Kaurismäki ever win the Grand Prix at Cannes? | PREFIX onto: <http://dbpedia.org/ontology/>
ASK WHERE { <http://dbpedia.org/resource/Aki_Kaurismäki> onto:award <http://dbpedia.org/resource/Grand_Prix_(Cannes_Film_Festival)> . } | qald-6 |
Who wrote the song Hotel California? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Hotel_California onto:writer ?uri . } | qald-6 |
Who was on the Apollo 11 mission? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri WHERE { res:Apollo_11 prop:crewMembers ?uri . } | qald-6 |
Which electronics companies were founded in Beijing? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri a onto:Company . ?uri onto:industry res:Electronics . ?uri onto:foundationPlace res:Beijing . } | qald-6 |
What is in a chocolate chip cookie? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Chocolate_chip_cookie onto:ingredient ?uri . } | qald-6 |
What is the atmosphere of the Moon composed of? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri WHERE { res:Moon prop:atmosphereComposition ?uri . } | qald-6 |
How many movies did Park Chan-wook direct? | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT COUNT(DISTINCT ?uri) WHERE { ?uri onto:director <http://dbpedia.org/resource/Park_Chan-wook> . } | qald-6 |
Who are the developers of DBpedia? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:DBpedia onto:developer ?uri . } | qald-6 |
Which Indian company has the most employees? | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri a onto:Company . ?uri onto:location <http://dbpedia.org/resource/India> . ?uri onto:numberOfEmployees ?n . } ORDER BY DESC(?n) OFFSET 0 LIMIT 1 | qald-6 |
What is the name of the school where Obama's wife studied? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?s WHERE { res:Barack_Obama prop:spouse ?x . ?x prop:almaMater ?s . } | qald-6 |
Where does Piccadilly start? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri onto:routeStart res:Piccadilly. } | qald-6 |
What is the capital of Cameroon? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Cameroon onto:capital ?uri. } | qald-6 |
When did the Boston Tea Party take place? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?d WHERE { res:Boston_Tea_Party prop:date ?d . } | qald-6 |
Who played Gus Fring in Breaking Bad? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Gus_Fring onto:portrayer ?uri . } | qald-6 |
Who wrote Harry Potter? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri WHERE { res:Harry_Potter prop:author ?uri . } | qald-6 |
Which actors play in Big Bang Theory? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:The_Big_Bang_Theory onto:starring ?uri . } | qald-6 |
What is the largest country in the world? | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri a onto:Country . ?uri onto:areaTotal ?n . } ORDER BY DESC(?n) OFFSET 0 LIMIT 1 | qald-6 |
Who is the president of Eritrea? | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Eritrea> onto:leader ?uri . <http://dbpedia.org/resource/Eritrea> onto:leaderTitle 'President'@en . } | qald-6 |
Which computer scientist won an oscar? | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { { ?uri onto:field <http://dbpedia.org/resource/Computer_science> . } UNION { ?uri <http://purl.org/dc/elements/1.1/description> ?s . FILTER regex(?s,'computer scientist','i') } ?uri onto:award <http://dbpedia.org/resource/Academy_Awards> . } | qald-6 |
Who created Family Guy? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Family_Guy onto:creator ?uri . } | qald-6 |
How many people live in Poland? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Poland onto:populationTotal ?uri . } | qald-6 |
To which party does the mayor of Paris belong? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Paris onto:mayor ?x . ?x onto:party ?uri . } | qald-6 |
Who does the voice of Bart Simpson? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri WHERE { res:Bart_Simpson prop:voiceactor ?uri . } | qald-6 |
Who composed the soundtrack for Cameron's Titanic? | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Titanic_(1997_film)> onto:musicComposer ?uri . } | qald-6 |
When did Boris Becker end his active career? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?d WHERE { res:Boris_Becker onto:activeYearsEndDate ?d . } | qald-6 |
Show me all basketball players that are higher than 2 meters. | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri a onto:BasketballPlayer . ?uri onto:height ?n . FILTER (?n > 2.0) } | qald-6 |
What country is Sitecore from? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Sitecore onto:foundationPlace ?uri . } | qald-6 |
Which country was Bill Gates born in? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Bill_Gates onto:birthPlace ?x . ?x onto:country ?uri . } | qald-6 |
Who developed Slack? | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri onto:product <http://dbpedia.org/resource/Slack_(software)> . } | qald-6 |
In which city did Nikos Kazantzakis die? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Nikos_Kazantzakis onto:deathPlace ?uri . ?uri a onto:Town . } | qald-6 |
How many grand-children did Jacques Cousteau have? | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT COUNT(DISTINCT ?y) WHERE { <http://dbpedia.org/resource/Jacques_Cousteau> onto:child ?x . ?x onto:child ?y . } | qald-6 |
Which films did Stanley Kubrick direct? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri onto:director res:Stanley_Kubrick . } | qald-6 |
Does Neymar play for Real Madrid? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
ASK WHERE { res:Neymar onto:team <http://dbpedia.org/resource/Real_Madrid_C.F.> . } | qald-6 |
How many seats does the home stadium of FC Porto have? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?n WHERE { res:FC_Porto onto:ground ?x . ?x onto:seatingCapacity ?n . } | qald-6 |
Show me all books in Asimov's Foundation series. | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri onto:series res:Foundation_series . } | qald-6 |
Which movies star both Liz Taylor and Richard Burton? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?uri onto:starring res:Elizabeth_Taylor . ?uri onto:starring res:Richard_Burton . } | qald-6 |
In which city are the headquarters of the United Nations? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { res:Headquarters_of_the_United_Nations onto:location ?uri . ?uri a onto:City . } | qald-6 |
In which city was the president of Montenegro born? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE { ?x prop:office res:President_of_Montenegro . ?x onto:birthPlace ?uri . ?uri a onto:City . } | qald-6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.