text_query
stringlengths
1
43k
language
stringclasses
12 values
sparql_query
stringlengths
12
1.39k
knowledge_graphs
stringclasses
15 values
Which river does the Brooklyn Bridge cross?
en
PREFIX dbo: <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:Brooklyn_Bridge dbo:crosses ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Give me the websites of companies with more than 500000 employees.
en
PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <http://dbpedia.org/property/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?string WHERE { ?subject rdf:type dbo:Company . ?subject dbp:numEmployees ?employees . FILTER( xsd:integer(?employees) > 500000 ) . ?subject foaf:homepage ?string . }
DBpedia
What is the official website of Tom Cruise?
en
PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?string WHERE { res:Tom_Cruise foaf:homepage ?string . }
DBpedia
Give me all movies with Tom Cruise.
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Film. ?uri dbo:starring res:Tom_Cruise . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Who created Wikipedia?
en
PREFIX dbo: <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:Wikipedia dbo:author ?uri . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
How many films did Hal Roach produce?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT COUNT(DISTINCT ?uri) WHERE { ?uri dbo:producer res:Hal_Roach . }
DBpedia
In which country does the Nile start?
en
PREFIX dbo: <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:Nile dbo:sourceCountry ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Which states of Germany are governed by the Social Democratic Party?
en
PREFIX dbp: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> 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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:StatesOfGermany . { ?uri dbp:rulingParty 'SPD'@en . } UNION { ?uri dbp:rulingParty res:Social_Democratic_Party_of_Germany . } OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
How tall is Claudia Schiffer?
en
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbo: <http://dbpedia.org/ontology/> SELECT DISTINCT ?height WHERE { res:Claudia_Schiffer dbo:height ?height . }
DBpedia
Which television shows were created by Walt Disney?
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:TelevisionShow . ?uri dbo:creator res:Walt_Disney . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
What is the highest place of Karakoram?
en
PREFIX dbo: <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:Karakoram dbo:highestPlace ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Give me all cities in New Jersey with more than 100000 inhabitants.
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:City . ?uri dbo:isPartOf res:New_Jersey . ?uri dbp:populationTotal ?inhabitants . FILTER (?inhabitants > 100000) . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Which actors were born in Germany?
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Actor . { ?uri dbo:birthPlace res:Germany . } UNION { ?uri dbo:birthPlace ?place . ?place dbo:country res:Germany . } OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Give me all actors starring in Batman Begins.
en
PREFIX dbo: <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:Batman_Begins dbo:starring ?uri . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Give me all people with first name Jimmy.
en
PREFIX foaf: <http://xmlns.com/foaf/0.1/> 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 foaf:Person. ?uri foaf:givenName 'Jimmy'@en . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
None
Which mountain is the highest after the Annapurna?
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { res:Annapurna dbo:elevation ?elevation . ?uri rdf:type dbo:Mountain . ?uri dbo:elevation ?otherelevation . FILTER (?otherelevation < ?elevation) . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } } ORDER BY DESC(?otherelevation) LIMIT 1
DBpedia
How often was Michael Jordan divorced?
en
OUT OF SCOPE
None
Who designed the Brooklyn Bridge?
en
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Brooklyn_Bridge dbp:designer ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Was Natalie Portman born in the United States?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Natalie_Portman dbo:birthPlace ?city . ?city dbo:country res:United_States . }
DBpedia
Which countries have more than two official languages?
en
PREFIX dbo: <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 dbo:Country . ?uri dbo:officialLanguage ?language . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } } GROUP BY ?uri ?string HAVING (COUNT(?language) > 2)
DBpedia
Who created Goofy?
en
PREFIX dbo: <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:Goofy dbo:creator ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Give me all soccer clubs in Spain.
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:SoccerClub . { ?uri dbo:ground res:Spain . } UNION { ?uri dbp:ground ?ground . FILTER (regex(?ground, 'Spain')) } OPTIONAL {?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Who wrote the book The pillars of the Earth?
en
PREFIX dbo: <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:The_Pillars_of_the_Earth dbo:author ?uri . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Who is the mayor of New York City?
en
PREFIX dbo: <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:New_York_City dbo:leaderName ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Which organizations were founded in 1950?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <http://dbpedia.org/property/> 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 dbo:Organisation . { ?uri dbp:foundation ?date . } UNION { ?uri dbo:formationYear ?date . } FILTER regex(?date,'^1950') . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Which presidents were born in 1945?
en
PREFIX dbo: <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#> SELECT DISTINCT ?uri ?string WHERE { { ?uri rdf:type dbo:President . } UNION { ?uri rdf:type yago:Presidents . } ?uri dbo:birthDate ?date . FILTER regex(?date, '^1945') . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Who is the daughter of Bill Clinton married to?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Bill_Clinton dbo:child ?child . ?child dbp:spouse ?string . ?uri rdfs:label ?string . }
DBpedia
Through which countries does the Yenisei river flow?
en
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Yenisei_River dbp:country ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Which museum exhibits The Scream by Munch?
en
PREFIX dbp: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:The_Scream dbp:museum ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Which budget did the first movie of Zdenek Sverak have?
en
OUT OF SCOPE
None
Give me the capitals of all countries in Africa.
en
PREFIX dbo: <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#> SELECT DISTINCT ?uri ?string WHERE { ?states rdf:type yago:AfricanCountries . ?states dbo:capital ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Which states border Illinois?
en
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Illinois dbp:borderingstates ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') . } }
DBpedia
Which countries have places with more than two caves?
en
PREFIX dbo: <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 dbo:Cave . ?cave dbo:location ?uri . ?uri rdf:type dbo:Country . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } } GROUP BY ?uri ?string HAVING (COUNT(?cave) > 2)
DBpedia
Which European countries have a constitutional monarchy?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> 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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:EuropeanCountries . ?uri dbo:governmentType res:Constitutional_monarchy . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
What is the highest mountain in Australia?
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Mountain . ?uri dbo:locatedInArea res:Australia . ?uri dbo:elevation ?elevation . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } } ORDER BY DESC(?elevation) LIMIT 1
DBpedia
Which capitals in Europe were host cities of the summer olympic games?
en
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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:CapitalsInEurope . ?uri rdf:type yago:HostCitiesOfTheSummerOlympicGames . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Who was the wife of U.S. president Lincoln?
en
PREFIX dbo: <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 dbo:spouse ?uri. OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Which airports are located in California, USA?
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Airport . ?uri dbo:location res:California . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Which classis does the Millepede belong to?
en
PREFIX dbp: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Millipede dbp:classis ?string . ?uri rdfs:label ?string . }
DBpedia
Is Christian Bale starring in Batman Begins?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Batman_Begins dbo:starring res:Christian_Bale . }
DBpedia
In which programming language is GIMP written?
en
PREFIX dbo: <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:GIMP dbo:programmingLanguage ?uri . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
In which country is the Limerick Lake?
en
PREFIX dbo: <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:Limerick_Lake dbo:country ?uri . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Which monarchs of the United Kingdom were married to a German?
en
PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:MonarchsOfTheUnitedKingdom . ?uri dbo:spouse ?spouse . ?spouse dbo:birthPlace res:Germany. OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Give me all female German chancellors.
en
PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX dbp: <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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:FemaleHeadsOfGovernment. ?uri dbp:office res:Chancellor_of_Germany . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Give me all video games published by Mean Hamster Software.
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:VideoGame . { ?uri dbp:publisher 'Mean Hamster Software'@en . } UNION { ?uri dbo:publisher res:Mean_Hamster_Software . } OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Who produced films starring Natalie Portman?
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?film rdf:type dbo:Film . ?film dbo:starring res:Natalie_Portman . ?film dbo:producer ?uri . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
In which films did Julia Roberts as well as Richard Gere play?
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Film . ?uri dbo:starring res:Julia_Roberts . ?uri dbo:starring res:Richard_Gere. OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
How many films did Leonardo DiCaprio star in?
en
PREFIX dbo: <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(DISTINCT ?uri) WHERE { ?uri rdf:type dbo:Film . ?uri dbo:starring res:Leonardo_DiCaprio . }
DBpedia
When did Finland join the EU?
en
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> SELECT DISTINCT ?date WHERE { res:Finland dbp:accessioneudate ?date . }
DBpedia
Give me all school types.
en
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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:SchoolTypes . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Give me the birthdays of all actors of the television show Charmed.
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { res:Charmed dbo:starring ?actor . ?actor dbo:birthDate ?date . }
DBpedia
Where did Abraham Lincoln die?
en
PREFIX dbo: <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 dbo:deathPlace ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
How many monarchical countries are there in Europe?
en
PREFIX dbo: <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 dbo:governmentType ?govern . FILTER regex(?govern,'monarchy') . }
DBpedia
Give me all presidents of the United States.
en
PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Person . { ?uri rdf:type yago:PresidentsOfTheUnitedStates. } UNION { ?uri rdf:type dbo:President. ?uri dbp:title res:President_of_the_United_States. } ?uri rdfs:label ?string. FILTER (lang(?string) = 'en' && !regex(?string,'Presidency','i') && !regex(?string,'and the')) . }
DBpedia
Who produced the most films?
en
PREFIX dbo: <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 { ?film rdf:type dbo:Film . ?film dbo:producer ?uri . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } } ORDER BY DESC(COUNT(?film)) LIMIT 1
DBpedia
Which languages are spoken in Estonia?
en
PREFIX dbo: <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:Estonia dbo:language ?uri . } UNION { ?uri dbo:spokenIn res:Estonia . } OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Is there a video game called Battle Chess?
en
PREFIX dbo: <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#> ASK WHERE { ?uri rdf:type dbo:VideoGame . ?uri rdfs:label 'Battle Chess'@en . }
DBpedia
Which mountains are higher than the Nanga Parbat?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <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#> SELECT DISTINCT ?uri ?string WHERE { res:Nanga_Parbat dbp:elevationM ?elevation . ?uri rdf:type dbo:Mountain . ?uri dbp:elevationM ?otherelevation . FILTER (?otherelevation > ?elevation) . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
When is the movie Worst Case Scenario going to be in cinemas in the Netherlands?
en
OUT OF SCOPE
None
Is Jens Friebe a vegan?
en
OUT OF SCOPE
None
Which telecommunications organizations are located in Belgium?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Organisation . { ?uri dbp:industry res:Telecommunications . } UNION { ?uri dbp:industry ?industry . FILTER (regex(?industry, 'Telecommunication')) . } { ?uri dbo:location res:Belgium. } UNION { ?uri dbp:location res:Belgium. } UNION { ?uri dbp:locationCountry 'Belgium'@en . } OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Which companies work in the aerospace industry as well as on nuclear reactor technology?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Company . ?uri dbp:industry res:Aerospace . ?uri dbp:industry res:Nuclear_reactor_technology . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Which state of the USA has the highest population density?
en
PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX dbp: <http://dbpedia.org/property/> 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 yago:StatesOfTheUnitedStates . ?uri dbp:densityrank ?rank . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } } ORDER BY ASC(?rank) LIMIT 1
DBpedia
Is the wife of president Obama called Michelle?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> ASK WHERE { res:Barack_Obama dbo:spouse ?spouse . ?spouse rdfs:label ?name . FILTER(regex(?name,'Michelle')) }
DBpedia
What is the highest mountain?
en
PREFIX dbo: <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 dbo:Mountain . ?uri dbo:elevation ?elevation . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } } ORDER BY DESC(?elevation) LIMIT 1
DBpedia
Give me all Canadian Grunge record labels.
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:RecordLabel . ?uri dbo:genre res:Grunge . ?uri dbo:country res:Canada . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
What is the currency of the Czech Republic?
en
PREFIX dbo: <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:Czech_Republic dbo:currency ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Give me all books written by Danielle Steel.
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Book . ?uri dbo:author res:Danielle_Steel . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
In which films directed by Garry Marshall was Julia Roberts starring?
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Film . ?uri dbo:starring res:Julia_Roberts . ?uri dbo:director res:Garry_Marshall . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Who developed the video game World of Warcraft?
en
PREFIX dbo: <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:World_of_Warcraft dbo:developer ?uri . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Who owns Aldi?
en
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Aldi dbo:keyPerson ?uri . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
How many employees does IBM have?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?number WHERE { res:IBM dbo:numberOfEmployees ?number . }
DBpedia
What is the area code of Berlin?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?string WHERE { res:Berlin dbo:areaCode ?string . }
DBpedia
When was the Battle of Gettysburg?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { res:Battle_of_Gettysburg dbo:date ?date . }
DBpedia
What are the official languages of the Philippines?
en
PREFIX dbo: <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 dbo:officialLanguage ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Is Frank Herbert still alive?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Frank_Herbert dbo:deathDate ?date . FILTER (!BOUND(?date)) }
DBpedia
How many big fires struck Paris during the Middle Ages?
en
OUT OF SCOPE
None
Give me the homepage of Forbes.
en
PREFIX res: <http://dbpedia.org/resource/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT DISTINCT ?string WHERE { res:Forbes foaf:homepage ?string . }
DBpedia
Is proinsulin a protein?
en
PREFIX dbo: <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:Proinsulin rdf:type dbo:Protein . }
DBpedia
Which awards did WikiLeaks win?
en
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/property/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:WikiLeaks dbp:awards ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
List all episodes of the first season of the HBO television series The Sopranos!
en
PREFIX dbo: <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 { ?uri dbo:series res:The_Sopranos . ?uri dbo:seasonNumber 1 . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Which country has the most official languages?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <http://dbpedia.org/property/> 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 dbo:Country . ?uri dbp:officialLanguages ?language . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } } ORDER BY DESC(COUNT(?language)) LIMIT 1
DBpedia
Which U.S. states possess gold minerals?
en
PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX dbp: <http://dbpedia.org/property/> 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 yago:StatesOfTheUnitedStates . ?uri dbp:mineral ?mineral . FILTER (regex(?mineral,'Gold')) . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
What is the most beautiful painting?
en
OUT OF SCOPE
None
Is Egypts largest city also its capital?
en
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbo: <http://dbpedia.org/ontology/> ASK WHERE { res:Egypt dbo:largestCity ?large . res:Egypt dbo:capital ?capital . FILTER (?large = ?capital) }
DBpedia
Which caves have more than 3 entrances?
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Cave . ?uri dbo:numberOfEntrances ?entrance . FILTER (?entrance > 3) . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Give me all films produced by Hal Roach.
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Film . ?uri dbo:producer res:Hal_Roach . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Which bridges are of the same type as the Manhattan Bridge?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Bridge . ?uri dbp:design ?design . res:Manhattan_Bridge dbp:design ?mdesign . FILTER (regex(?design, ?mdesign)). FILTER (?uri != res:Manhattan_Bridge) . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Was U.S. president Jackson involved in a war?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Andrew_Jackson dbo:battle ?battle . }
DBpedia
Which software has been developed by organizations founded in California?
en
PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?company rdf:type dbo:Organisation . ?company dbo:foundationPlace res:California . ?uri dbo:developer ?company . ?uri rdf:type dbo:Software . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Who has been the 5th president of the United States of America?
en
PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri dbo:orderInOffice '5th President of the United States'@en . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Which music albums contain the song Last Christmas?
en
PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?single dbo:album ?uri . ?single foaf:name 'Last Christmas'@en . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Give me all female Russian astronauts.
en
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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:RussianCosmonauts . ?uri rdf:type yago:FemaleAstronauts . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
Give me all companies in the advertising industry.
en
PREFIX dbp: <http://dbpedia.org/property/> PREFIX dbo: <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 DISTINCT ?uri ?string WHERE { ?uri rdf:type dbo:Company . ?uri dbp:industry ?industry . FILTER regex(?industry,'advertising','i') . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Give me all animal species that live in the Teutoburg Forest.
en
OUT OF SCOPE
None
Which countries in the European Union adopted the Euro?
en
PREFIX dbp: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> 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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:EuropeanUnionMemberStates . { ?uri dbp:currency res:Euro . } UNION { ?uri dbp:currencyCode 'EUR'@en . } UNION { ?uri dbp:currencyCode 'Euro'@en . } OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
When was Capcom founded?
en
PREFIX dbp: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { res:Capcom dbp:foundation ?date . }
DBpedia
Give me all soccer clubs in the Premier League.
en
PREFIX dbo: <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 { ?uri dbo:league res:Premier_League . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } }
DBpedia
Who is the owner of Universal Studios?
en
PREFIX dbo: <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:Universal_Studios dbo:owner ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia
What did Bruce Carver die from?
en
PREFIX res: <http://dbpedia.org/resource/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Bruce_Carver dbo:deathCause ?uri . OPTIONAL {?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } }
DBpedia