question stringlengths 9 150 | query stringlengths 109 692 | dataset-id stringclasses 12
values |
|---|---|---|
What is the birth name of Angela Merkel? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?string WHERE { res:Angela_Merkel prop:birthName ?string . } | julipc-p(huggingface) |
Who was called Scarface? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri prop:nickname res:Scarface . } | julipc-p(huggingface) |
What is the longest river? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type onto:River . ?uri prop:length ?x . } ORDER BY DESC(?x) OFFSET 0 LIMIT 1 | julipc-p(huggingface) |
Did Socrates influence Aristotle? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Aristotle onto:influencedBy res:Socrates . } | julipc-p(huggingface) |
In which UK city are the headquarters of the MI6? | PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { res:Secret_Intelligence_Service onto:headquarter ?uri . ?uri onto:country res:United_Kingdom . } | julipc-p(huggingface) |
What is the time zone of Salt Lake City? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri WHERE { res:Salt_Lake_City prop:timezone ?uri . } | julipc-p(huggingface) |
List all games by GMT. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri onto:publisher res:GMT_Games . } | julipc-p(huggingface) |
Does the new Battlestar Galactica series have more episodes than the old one? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { <http://dbpedia.org/resource/Battlestar_Galactica_%281978_TV_series%29> onto:numberOfEpisodes ?x . <http://dbpedia.org/resource/Battlestar_Galactica_%282004_TV_series%29> onto:numberOfEpisodes ?y . FILTER (?y > ?x) } | julipc-p(huggingface) |
When was Alberta admitted as province? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { res:Alberta prop:admittancedate ?date . } | julipc-p(huggingface) |
Which countries are connected by the Rhine? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Rhine onto:country ?uri . } | julipc-p(huggingface) |
Give me all Frisian islands that belong to the Netherlands. | PREFIX onto: <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#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type yago:FrisianIslands . ?uri onto:country res:Netherlands . } | julipc-p(huggingface) |
Which ships were called after Benjamin Franklin? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri WHERE { ?uri prop:shipNamesake res:Benjamin_Franklin . } | julipc-p(huggingface) |
Who is the husband of Amanda Palmer? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Amanda_Palmer prop:spouse ?uri . } | julipc-p(huggingface) |
How many employees does Google have? | PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?num WHERE { res:Google onto:numberOfEmployees ?num . } | julipc-p(huggingface) |
When did Michael Jackson die? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { res:Michael_Jackson onto:deathDate ?date . } | julipc-p(huggingface) |
How many inhabitants does Maribor have? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?num WHERE { res:Maribor onto:populationTotal ?num . } | julipc-p(huggingface) |
Give me a list of all lakes in Denmark. | PREFIX onto: <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#> SELECT DISTINCT ?uri WHERE { { ?uri rdf:type onto:Lake . ?uri onto:country res:Denmark . } UNION { ?uri rdf:type yago:LakesOfDenm... | julipc-p(huggingface) |
Which Greek goddesses dwelt on Mount Olympus? | PREFIX prop: <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#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type yago:GreekGoddesses . ?uri prop:abode res:Mount_Olympus . } | julipc-p(huggingface) |
How high is the Mount Everest? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?num WHERE { res:Mount_Everest onto:elevation ?num. } | julipc-p(huggingface) |
Sean Parnell is the governor of which U.S. state? | PREFIX yago: <http://dbpedia.org/class/yago/> 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 yago:StatesOfTheUnitedStates . ?uri prop:governor res:Sean_Parnell . } | julipc-p(huggingface) |
Did Tesla win a nobel prize in physics? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Nikola_Tesla onto:award res:Nobel_Prize_in_Physics . } | julipc-p(huggingface) |
Who is the governor of Wyoming? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri WHERE { res:Wyoming prop:governor ?uri . } | julipc-p(huggingface) |
When were the Hells Angels founded? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { res:Hells_Angels prop:founded ?date . } | julipc-p(huggingface) |
Who is the mayor of Berlin? | 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 WHERE { res:Berlin onto:leader ?uri . } | julipc-p(huggingface) |
How many people live in the capital of Australia? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?num WHERE { res:Australia onto:capital ?x . ?x onto:populationTotal ?num . } | julipc-p(huggingface) |
Who founded Intel? | 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 WHERE { res:Intel onto:foundedBy ?uri . } | julipc-p(huggingface) |
Give me all B-sides of the Ramones. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?string WHERE { ?x onto:musicalArtist res:Ramones . ?x prop:bSide ?string . } | julipc-p(huggingface) |
Which cities does the Weser flow through? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Weser onto:city ?uri . } | julipc-p(huggingface) |
Give me all movies directed by Francis Ford Coppola. | 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:Francis_Ford_Coppola . } | julipc-p(huggingface) |
What is the ruling party in Lisbon? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Lisbon prop:leaderParty ?uri . } | julipc-p(huggingface) |
Who produces Orangina? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri onto:product res:Orangina . } | julipc-p(huggingface) |
Give me all companies in Munich. | 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:Company . { ?uri onto:location res:Munich . } UNION { ?uri onto:headquarter res:Munich . } UNION { ?uri onto:locationCity res:M... | julipc-p(huggingface) |
Was the Cuban Missile Crisis earlier than the Bay of Pigs Invasion? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Cuban_Missile_Crisis onto:date ?x . res:Bay_of_Pigs_Invasion onto:date ?y . FILTER (?x < ?y) } | julipc-p(huggingface) |
Who is the Formula 1 race driver with the most races? | 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:FormulaOneRacer . ?uri onto:races ?x . } ORDER BY DESC(?x) OFFSET 0 LIMIT 1 | julipc-p(huggingface) |
Which U.S. state has been admitted latest? | PREFIX prop: <http://dbpedia.org/property/> 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:StatesOfTheUnitedStates . ?uri prop:admittancedate ?x . } ORDER BY DESC(?x) OFFSET 0 LIMIT 1 | julipc-p(huggingface) |
How many official languages are spoken on the Seychelles? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT COUNT(DISTINCT ?x) WHERE { res:Seychelles onto:officialLanguage ?x . } | julipc-p(huggingface) |
Show me all songs from Bruce Springsteen released between 1980 and 1990. | PREFIX onto: <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#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type onto:Song . ?uri onto:artist res:Bruce_Springsteen . ?uri onto:releaseDate ?date . FIL... | julipc-p(huggingface) |
Give me all professional skateboarders from Sweden. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri onto:occupation res:Skateboarding . { ?uri onto:birthPlace res:Sweden . } UNION { ?uri onto:birthPlace ?place . ?place onto:country res:Sweden . } } | julipc-p(huggingface) |
Give me all members of Prodigy. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:The_Prodigy onto:bandMember ?uri . } | julipc-p(huggingface) |
How many students does the Free University in Amsterdam have? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?num WHERE { res:Vrije_Universiteit onto:numberOfStudents ?num . } | julipc-p(huggingface) |
Give me all Australian nonprofit organizations. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri onto:type res:Nonprofit_organization . { ?uri onto:locationCountry res:Australia . } UNION { ?uri onto:location ?x . ?x onto:country res:Australia . } } | julipc-p(huggingface) |
How often did Jane Fonda marry? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT COUNT(DISTINCT ?uri) WHERE { res:Jane_Fonda onto:spouse ?uri . } | julipc-p(huggingface) |
Which U.S. state has the highest population density? | PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX prop: <http://dbpedia.org/property/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type yago:StatesOfTheUnitedStates . ?uri prop:densityrank ?rank . } ORDER BY ASC(?rank) OFFSET 0 LIMIT 1 | julipc-p(huggingface) |
Give me all federal chancellors of Germany. | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri prop:office res:Chancellor_of_Germany . } | julipc-p(huggingface) |
In which U.S. state is Mount McKinley located? | PREFIX yago: <http://dbpedia.org/class/yago/> 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 yago:StatesOfTheUnitedStates . res:Mount_McKinley onto:locatedInArea ?uri . } | julipc-p(huggingface) |
What is the official language of Suriname? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Suriname onto:officialLanguage ?uri . } | julipc-p(huggingface) |
Who wrote the book The Pillars of the Earth? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:The_Pillars_of_the_Earth onto:author ?uri . } | julipc-p(huggingface) |
Which companies work in the aerospace industry as well as in medicine? | 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:Company . ?uri onto:industry res:Aerospace . ?uri onto:industry res:Medicine . } | julipc-p(huggingface) |
Are tree frogs a type of amphibian? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Hylidae onto:class res:Amphibian . } | julipc-p(huggingface) |
When did Latvia join the EU? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?date WHERE { res:Latvia prop:accessioneudate ?date . } | julipc-p(huggingface) |
Which countries have more than ten caves? | 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:Country . ?cave rdf:type onto:Cave . { ?cave onto:location ?uri . } UNION { ?cave onto:location ?loc . ?loc onto:country ?uri . } } GROUP BY ?uri HAVING(COUNT(?cave) > 10... | julipc-p(huggingface) |
Which countries adopted the Euro? | PREFIX prop: <http://dbpedia.org/property/> 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:Country . { ?uri onto:currency res:Euro . } UNION { ?uri prop:currencyCode 'EUR'@en... | julipc-p(huggingface) |
Give me all female given names. | 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:GivenName . ?uri onto:gender res:Female . } | julipc-p(huggingface) |
Was Marc Chagall a jew? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Marc_Chagall prop:ethnicity 'Jewish'@en . } | julipc-p(huggingface) |
How many Aldi stores are there? | PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?number WHERE { res:Aldi onto:numberOfLocations ?number . } | julipc-p(huggingface) |
Which U.S. states are in the same time zone as Utah? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { res:Utah prop:timezone ?x . ?uri rdf:type yago:StatesOfTheUnitedStates . ?uri prop:timezone ?x . FIL... | julipc-p(huggingface) |
Give me all islands that belong to Japan. | 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:Island . ?uri onto:country res:Japan . } | julipc-p(huggingface) |
Who was the first 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 rdf:type onto:Person . ?uri onto:office '1st President of the United States'@en . } | julipc-p(huggingface) |
Which Chess players died in the same place they were born in? | 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:ChessPlayer . ?uri onto:birthPlace ?x . ?uri onto:deathPlace ?y . FILTER (?x = ?y) . } | julipc-p(huggingface) |
Give me all actors starring in movies directed by William Shatner. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?x onto:director res:William_Shatner . ?x onto:starring ?uri . } | julipc-p(huggingface) |
Which professional surfers were born in Australia? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri onto:occupation res:Surfing . ?uri onto:birthPlace res:Australia . } | julipc-p(huggingface) |
Who is the editor of Forbes? | PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { res:Forbes onto:editor ?uri . } | julipc-p(huggingface) |
Give me all actors starring in Last Action Hero. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Last_Action_Hero onto:starring ?uri . } | julipc-p(huggingface) |
Give me all Danish films. | 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 . } | julipc-p(huggingface) |
In which city did John F. Kennedy die? | 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:John_F._Kennedy onto:deathPlace ?uri . ?uri rdf:type onto:City . } | julipc-p(huggingface) |
List all episodes of the first season of the HBO television series The Sopranos. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri onto:series res:The_Sopranos . ?uri onto:seasonNumber 1 . } | julipc-p(huggingface) |
Is Christian Bale starring in Velvet Goldmine? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Velvet_Goldmine onto:starring res:Christian_Bale . } | julipc-p(huggingface) |
Which organizations were founded in 1930? | 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:Organisation . { ?uri onto:formationYear ?date . } UNION { ?uri onto:foundingYear ?date. } FILTER regex(?date,'^1930') . } | julipc-p(huggingface) |
Give me all cosmonauts. | 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:nationality res:Russia . } UNION { ?uri onto:nationality res:Soviet_Union . } } | julipc-p(huggingface) |
Who is the mayor of Tel Aviv? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Tel_Aviv onto:leaderName ?uri . } | julipc-p(huggingface) |
Does Breaking Bad have more episodes than Game of Thrones? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Breaking_Bad onto:numberOfEpisodes ?x . res:Game_of_Thrones onto:numberOfEpisodes ?y . FILTER (?y > ?x) } | julipc-p(huggingface) |
Give me a list of all bandleaders that play trumpet. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri onto:occupation res:Bandleader . ?uri onto:instrument res:Trumpet . } | julipc-p(huggingface) |
How many languages are spoken in Turkmenistan? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT COUNT(DISTINCT ?x) WHERE { res:Turkmenistan onto:language ?x . } | julipc-p(huggingface) |
Give me all communist countries. | 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:Country . { ?uri onto:governmentType res:Communism . } UNION { ?uri onto:governmentType res:Communist_state . } } | julipc-p(huggingface) |
Which instruments does Cat Stevens play? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Cat_Stevens onto:instrument ?uri . } | julipc-p(huggingface) |
Who is the daughter of Ingrid Bergman married to? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Ingrid_Bergman onto:child ?child . ?child onto:spouse ?uri . } | julipc-p(huggingface) |
Give me all libraries established earlier than 1400. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type onto:Library . ?uri prop:established ?year . FILTER (?year < 1400) } | julipc-p(huggingface) |
How many countries are there in Europe? | 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 . } | julipc-p(huggingface) |
Give me all Apollo 14 astronauts. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri onto:mission res:Apollo_14 . } | julipc-p(huggingface) |
Give me all world heritage sites designated within the past two years. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type onto:WorldHeritageSite . ?uri prop:year ?x . FILTER ( ?x >= '2012'^^xsd:integer) } | julipc-p(huggingface) |
Who was John F. Kennedy's vice president? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:John_F._Kennedy onto:vicePresident ?uri . } | julipc-p(huggingface) |
Give me all Methodist politicians. | 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:Politician . ?uri onto:religion res:Methodism . } | julipc-p(huggingface) |
What is the highest place of the Urals? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Ural_Mountains onto:highestPlace ?uri . } | julipc-p(huggingface) |
Which monarchs were married to a German? | 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:Monarch . ?uri onto:spouse ?spouse . { ?spouse onto:birthPlace res:Germany. } UNION { ?spouse onto:birthPlace ?p . ?p onto:coun... | julipc-p(huggingface) |
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 . } | julipc-p(huggingface) |
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 . } | julipc-p(huggingface) |
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 . } | julipc-p(huggingface) |
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 . } | julipc-p(huggingface) |
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 . } | julipc-p(huggingface) |
Who was called Frank The Tank? | PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri WHERE { ?uri prop:nickname 'Frank The Tank'@en . } | julipc-p(huggingface) |
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 . } | julipc-p(huggingface) |
آی.بی.آم. چند کارمند دارد؟ | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?number WHERE { res:IBM onto:numberOfEmployees ?number . } | julipc-p(huggingface) |
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 . } | julipc-p(huggingface) |
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 . } | julipc-p(huggingface) |
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 . } | julipc-p(huggingface) |
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 . } | julipc-p(huggingface) |
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')) } | julipc-p(huggingface) |
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' . } | julipc-p(huggingface) |
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 . } | julipc-p(huggingface) |
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 . } | julipc-p(huggingface) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.