question stringlengths 9 150 | query stringlengths 109 692 | dataset-id stringclasses 12
values |
|---|---|---|
What are the top-10 action role-playing video games according to IGN? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri <http://purl.org/dc/terms/subject> <http://dbpedia.org/resource/Category:Action_role-playing_video_games> .
?uri prop:ign ?score .
}
ORDE... | qald-4 |
Give me all actors who were born in Berlin. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Actor .
?uri onto:birthPlace res:Berlin .
} | qald-4 |
Give me all actors who were born in Paris after 1950. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Actor .
?uri onto:birthPlace res:Paris .
?uri onto:birthDate ?date .
FILTER ( ?date >= xsd:dat... | qald-4 |
What was Brazil's lowest rank in the FIFA World Ranking? | PREFIX prop: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?n
WHERE {
res:Brazil_national_football_team prop:fifaMin ?n .
} | qald-4 |
Give me all Australian metalcore bands. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Band .
?uri onto:genre res:Metalcore .
{ ?uri onto:hometown res:Australia . }
UNION
{ ?uri o... | qald-4 |
When is Halloween? | PREFIX prop: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?date
WHERE {
res:Halloween prop:date ?date .
} | qald-4 |
How many inhabitants does the largest city in Canada have? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?num
WHERE {
res:Canada onto:largestCity ?city .
?city onto:populationTotal ?num .
} | qald-4 |
In which countries can you pay using the West African CFA franc? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri onto:currency res:West_African_CFA_franc .
} | qald-4 |
Give me the capitals of all countries that the Himalayas run through. | PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Himalayas prop:country ?country .
?country onto:capital ?uri .
} | qald-4 |
Who was the first to climb Mount Everest? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:Mount_Everest onto:firstAscentPerson ?uri .
} | qald-4 |
To which artistic movement did the painter of The Three Dancers belong? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:The_Three_Dancers onto:author ?person .
?person onto:movement ?uri .
} | qald-4 |
Which pope succeeded John Paul II? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri
WHERE {
res:Pope_John_Paul_II prop:successor ?uri .
} | qald-4 |
What was the last movie with Alec Guinness? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Film .
?uri onto:starring res:Alec_Guinness .
?uri onto:releaseDate ?date .
}
ORDER BY DESC(?date)
... | qald-4 |
How many James Bond movies are there? | PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT COUNT(DISTINCT ?uri)
WHERE {
?uri rdf:type yago:JamesBondFilms .
} | qald-4 |
Which actor played Chewbacca? | PREFIX prop: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Chewbacca prop:portrayer ?uri .
} | qald-4 |
Give me the grandchildren of Bruce Lee. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Bruce_Lee onto:child ?child .
?child onto:child ?uri .
} | qald-4 |
Give me all writers that won the Nobel Prize in literature. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Writer .
?uri onto:award res:Nobel_Prize_in_Literature .
} | qald-4 |
What is the official color of the University of Oxford? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?string
WHERE {
res:University_of_Oxford onto:officialSchoolColour ?string .
} | qald-4 |
Give me all Swedish oceanographers. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri onto:field res:Oceanography .
?uri onto:birthPlace res:Sweden .
} | qald-4 |
How deep is Lake Placid? | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?n
WHERE {
<http://dbpedia.org/resource/Lake_Placid_(Texas)> onto:depth ?n .
} | qald-4 |
Is James Bond married? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK
WHERE {
res:James_Bond onto:spouse ?uri .
} | qald-4 |
Which spaceflights were launched from Baikonur? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri onto:launchPad res:Baikonur_Cosmodrome .
} | qald-4 |
Give me all actors called Baldwin. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT DISTINCT ?uri
WHERE {
?uri foaf:surname "Baldwin"@en .
{ ?uri onto:occupation res:Actor . }
UNION
{ ?uri rdf:type onto:Actor . }
} | qald-4 |
What does CPU stand for? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri onto:abbreviation "CPU"@en .
} | qald-4 |
In which country does the Ganges start? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Ganges onto:sourceCountry ?uri .
} | qald-5 |
Do Prince Harry and Prince William have the same parents? | PREFIX onto: <http://dbpedia.org/ontology/>
ASK
WHERE {
<http://dbpedia.org/resource/Prince_William,_Duke_of_Cambridge> onto:parent ?x .
<http://dbpedia.org/resource/Prince_Harry> onto:parent ?x .
} | qald-5 |
How many missions does the Soyuz programme have? | PREFIX prop: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT COUNT(DISTINCT ?uri)
WHERE {
?uri prop:programme res:Soyuz_programme .
} | qald-5 |
Give me all Danish movies. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Film .
?uri onto:country res:Denmark .
} | qald-5 |
Is Rita Wilson the wife of Tom Hanks? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK
WHERE {
res:Tom_Hanks onto:spouse res:Rita_Wilson .
} | qald-5 |
Who was called Frank The Tank? | PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri
WHERE {
?uri prop:nickname 'Frank The Tank'@en .
} | qald-5 |
Which movies did Kurosawa direct? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Film .
?uri onto:director res:Akira_Kurosawa .
} | qald-5 |
Which television shows were created by John Cleese? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:TelevisionShow .
?uri onto:creator res:John_Cleese .
} | qald-5 |
Which awards did Douglas Hofstadter win? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:Douglas_Hofstadter onto:award ?uri .
} | qald-5 |
Who is the daughter of Robert Kennedy married to? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Robert_F._Kennedy onto:child ?child .
?child onto:spouse ?uri .
} | qald-5 |
Who is the owner of Rolls-Royce? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Rolls-Royce_Motors onto:owner ?uri .
} | qald-5 |
Was the wife of president Lincoln called Mary? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
ASK
WHERE {
res:Abraham_Lincoln onto:spouse ?spouse .
?spouse rdfs:label ?name .
FILTER(regex(?name,'Mary'))
} | qald-5 |
Who was the 16th president of the United States? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri onto:office 'President of the United States' .
?uri onto:orderInOffice '16th' .
} | qald-5 |
What is the most frequent cause of death? | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?x
WHERE {
?uri onto:deathCause ?x .
}
ORDER BY DESC(COUNT(DISTINCT ?uri))
OFFSET 0 LIMIT 1 | qald-5 |
Which rockets were launched from Baikonur? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Rocket .
?uri onto:launchSite res:Baikonur_Cosmodrome .
} | qald-5 |
What does IYCM stand for? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri onto:abbreviation 'IYCM' .
} | qald-5 |
Which companies have more than 1 million employees? | 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#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Company .
{ ?uri onto:numberOfEmployees ?n . }
UNION
... | qald-5 |
Give all swimmers that were born in Moscow. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Swimmer .
?uri onto:birthPlace res:Moscow .
} | qald-5 |
Who was called Rodzilla? | PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri
WHERE {
?uri prop:nickname "Rodzilla"@en .
} | qald-5 |
Show me the book that Muhammad Ali wrote. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Book .
?uri onto:author res:Muhammad_Ali .
} | qald-5 |
How many museums does Paris have? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Museum .
?uri onto:location res:Paris .
} | qald-5 |
Which city has the most inhabitants? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:City .
?uri onto:populationTotal ?pop .
}
ORDER BY DESC(?pop)
OFFSET 0 LIMIT 1 | qald-5 |
Which city has the least inhabitants? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:City .
?uri onto:populationTotal ?pop .
}
ORDER BY ASC(?pop)
OFFSET 0 LIMIT 1 | qald-5 |
Give me all the TV shows with Neil Patrick Harris. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:TelevisionShow .
?uri onto:starring res:Neil_Patrick_Harris .
} | qald-5 |
Who wrote The Hunger Games? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:The_Hunger_Games onto:author ?uri .
} | qald-5 |
Show a list of soccer clubs that play in the Bundesliga. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:SoccerClub .
?uri onto:league res:Bundesliga .
} | qald-5 |
What country is Mount Everest in? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
res:Mount_Everest onto:locatedInArea ?uri .
?uri rdf:type onto:Country .
} | qald-5 |
Who is the founder of Penguin Books? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
res:Penguin_Books onto:founder ?uri .
} | qald-5 |
Which programming languages influenced Javascript? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:ProgrammingLanguage .
?uri onto:influenced res:JavaScript .
} | qald-5 |
Did Che Guevara have children? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK
WHERE {
res:Che_Guevara onto:child ?uri .
} | qald-5 |
List all the musicals with music by Elton John. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Musical .
?uri onto:musicBy res:Elton_John .
} | qald-5 |
Show me all the breweries in Australia. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri ?x
WHERE {
?uri rdf:type onto:Brewery .
{ ?uri onto:location res:Australia . }
UNION
{ ?uri onto:location ?x .
?x ont... | qald-5 |
When was the Titanic completed? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?date
WHERE {
res:RMS_Titanic onto:completionDate ?date .
} | qald-5 |
How much did Pulp Fiction cost? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?n
WHERE {
res:Pulp_Fiction onto:budget ?n .
} | qald-5 |
How many airlines are there? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT COUNT(DISTINCT ?uri)
WHERE {
?uri rdf:type onto:Airline .
} | qald-5 |
Who played Agent Smith in Matrix? | PREFIX prop: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Agent_Smith prop:portrayer ?uri .
} | qald-5 |
How much carbs does peanut butter have? | PREFIX prop: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?carbs
WHERE {
res:Peanut_butter prop:carbs ?carbs .
} | qald-5 |
Which book has the most pages? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Book .
?uri onto:numberOfPages ?n .
}
ORDER BY DESC(?n)
OFFSET 0 LIMIT 1 | qald-5 |
Which bridges cross the Seine? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Bridge .
?uri onto:crosses res:Seine .
} | qald-5 |
Who is the mayor of the capital of French Polynesia? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:French_Polynesia onto:capital ?x .
?x onto:mayor ?uri .
} | qald-5 |
When did Dracula's creator die? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?date
WHERE {
res:Count_Dracula onto:creator ?x .
?x onto:deathDate ?date .
} | qald-5 |
What is the location of the Houses of Parliament? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?uri
WHERE {
res:Palace_of_Westminster onto:location ?uri .
} | qald-5 |
Show me all English Gothic buildings in Kent. | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?uri
WHERE {
?uri rdf:type onto:Building .
?uri onto:architecturalStyle res:English_Gothic_architecture .
?uri onto:location res:Kent .... | qald-5 |
Who was the pope that founded the Vatican Television? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?uri
WHERE {
?uri rdf:type onto:Pope .
res:Vatican_Television_Center onto:foundedBy ?uri .
} | qald-5 |
What airlines are part of the SkyTeam alliance? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Airline .
{ ?uri prop:alliance res:SkyTeam . }
UNION
... | qald-5 |
What is the total population of Melbourne, Florida? | PREFIX onto: <http://dbpedia.org/ontology/>
SELECT ?uri
WHERE {
<http://dbpedia.org/resource/Melbourne,_Florida> onto:populationTotal ?uri .
} | qald-5 |
Which airports does Air China serve? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:Air_China onto:targetAirport ?uri .
} | qald-5 |
In which year was Rachel Stevens born? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:Rachel_Stevens onto:birthYear ?uri .
} | qald-5 |
Where was JFK assassinated? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:John_F._Kennedy onto:deathPlace ?uri .
} | qald-5 |
How many politicians graduated from Columbia University? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri)
WHERE {
?uri onto:profession res:Politician .
?uri onto:almaMater res:Columbia_University .
} | qald-5 |
Which scientist is known for the Manhattan Project and the Nobel Peace Prize? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri onto:knownFor res:Manhattan_Project .
?uri rdf:type onto:Scientist .
?uri onto:knownFor res:Nobel_Peace_Prize .
} | qald-5 |
What is the highest volcano in Africa? | 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 yago: <http://dbpedia.org/class/yago/>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Volcano .
?uri onto:locatedInArea ?area .
?area... | qald-5 |
Which beer originated in Ireland? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri
WHERE {
?uri prop:type res:Beer .
?uri prop:origin "Ireland"@en .
} | qald-5 |
What are the specialities of the UNC Health Care? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
res:UNC_Health_Care prop:speciality ?uri .
} | qald-5 |
Who is the owner of Facebook? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Facebook onto:foundedBy ?uri .
} | qald-5 |
From which region is the Melon de Bourgogne? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:Melon_de_Bourgogne onto:wineRegion ?uri .
} | qald-5 |
Who was influenced by Socrates? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
?uri onto:influencedBy res:Socrates .
} | qald-5 |
Who was president of Pakistan in 1978? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri
WHERE {
?uri prop:title res:President_of_Pakistan .
?uri prop:years 1978 .
} | qald-5 |
Give me English actors starring in Lovesick. | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT DISTINCT ?uri
WHERE {
res:Lovesick onto:starring ?uri .
{ ?uri onto:birthPlace res:England . }
UNION
{ ?uri rdf:type yago:EnglishFilmActors . }
... | qald-5 |
Give me all types of eating disorders. | 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:EatingDisorders .
} | qald-5 |
Who was married to president Chirac? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Jacques_Chirac onto:spouse ?uri .
} | qald-5 |
What is the largest metropolitan area in Washington state? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri
WHERE {
<http://dbpedia.org/resource/Washington_(state)> prop:largestmetro ?uri .
} | qald-5 |
Where in France is sparkling wine produced? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
?uri onto:wineProduced res:Sparkling_wine .
?uri onto:location res:France .
} | qald-5 |
Where did Hillel Slovak die? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:Hillel_Slovak onto:deathPlace ?uri .
} | qald-5 |
What is the timezone in San Pedro de Atacama? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX timezone: <http://dbpedia.org/timezone/>
SELECT DISTINCT ?uri
WHERE {
res:San_Pedro_de_Atacama timezone:timezone ?uri .
} | qald-5 |
In which city does the Chile Route 68 end? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri
WHERE {
res:Chile_Route_68 onto:routeEnd ?uri .
} | qald-5 |
Give me all ESA astronauts. | 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 DISTINCT ?uri
WHERE {
?uri rdf:type onto:Astronaut .
?uri onto:type res:European_Space_Agency .
} | qald-5 |
Give me all Swedish holidays. | 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 DISTINCT ?uri
WHERE {
?uri rdf:type onto:Holiday .
?uri onto:country res:Sweden .
} | qald-5 |
Who is the youngest Pulitzer Prize winner? | 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 DISTINCT ?uri
WHERE {
?uri onto:award res:Pulitzer_Prize .
?uri onto:birthDate ?d .
}
ORDER BY DESC(?d)
OFFSET 0 LIMIT 1 | qald-5 |
Which animals are critically endangered? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:Animal .
?uri onto:conservationStatus 'CR' .
} | qald-5 |
Which soccer players were born on Malta? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:SoccerPlayer .
?uri onto:birthPlace res:Malta .
} | qald-5 |
Did Arnold Schwarzenegger attend a university? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
ASK
WHERE {
res:Arnold_Schwarzenegger onto:almaMater ?x .
?x rdf:type onto:University .
} | qald-5 |
Which programming languages were influenced by Perl? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type onto:ProgrammingLanguage .
{ ?uri onto:influencedBy res:Perl . }
UNION
{ res:Perl onto:influenced ?uri .... | qald-5 |
Is Barack Obama a democrat? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK
WHERE {
res:Barack_Obama onto:party <http://dbpedia.org/resource/Democratic_Party_(United_States)> .
} | qald-5 |
How many children does Eddie Murphy have? | PREFIX prop: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?n
WHERE {
res:Eddie_Murphy prop:children ?n .
} | qald-5 |
Who is the oldest child of Meryl Streep? | PREFIX onto: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Meryl_Streep onto:child ?uri .
?uri onto:birthDate ?d .
}
ORDER BY ASC(?d)
OFFSET 0 LIMIT 1 | qald-5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.