question stringlengths 9 150 | query stringlengths 109 692 | dataset-id stringclasses 12
values |
|---|---|---|
Give me all school types. | 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') } } | julipc-p(huggingface) |
Give me the birthdays of all actors of the television show Charmed. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { res:Charmed onto:starring ?actor . ?actor onto:birthDate ?date . } | julipc-p(huggingface) |
Where did Abraham Lincoln die? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Abraham_Lincoln onto:deathPlace ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } } | julipc-p(huggingface) |
How many monarchical countries are there in Europe? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX yago: <http://dbpedia.org/class/yago/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> SELECT COUNT(DISTINCT ?uri) WHERE { ?uri rdf:type yago:EuropeanCountries . ?uri onto:governmentType ?govern . FILTER regex(?govern,'monarchy') . } | julipc-p(huggingface) |
Give me all presidents of the United States. | PREFIX yago: <http://dbpedia.org/class/yago/> 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#> SELECT DISTINCT ?uri ?string WHE... | julipc-p(huggingface) |
Who produced the most films? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?film rdf:type onto:Film . ?film onto:producer ?uri . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } } ORD... | julipc-p(huggingface) |
Which languages are spoken in Estonia? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { { res:Estonia onto:language ?uri . } UNION { ?uri onto:spokenIn res:Estonia . } OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'e... | julipc-p(huggingface) |
Is there a video game called Battle Chess? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> ASK WHERE { ?uri rdf:type onto:VideoGame . ?uri rdfs:label 'Battle Chess'@en . } | julipc-p(huggingface) |
Which mountains are higher than the Nanga Parbat? | 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#> SELECT DISTINCT ?uri ?string WHERE { res:Nanga_Parbat prop:elevationM ?elevati... | julipc-p(huggingface) |
Which telecommunications organizations are located in Belgium? | 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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Organisation . { ?uri ... | julipc-p(huggingface) |
Which companies work in the aerospace industry as well as on nuclear reactor technology? | 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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Company . ?uri prop:in... | julipc-p(huggingface) |
Which state of the USA 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#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:StatesOfTheUnitedStates . ?uri prop:densityrank ?rank . OPTIONA... | julipc-p(huggingface) |
Is the wife of president Obama called Michelle? | 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:Barack_Obama onto:spouse ?spouse . ?spouse rdfs:label ?name . FILTER(regex(?name,'Michelle')) } | julipc-p(huggingface) |
What is the highest mountain? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Mountain . ?uri onto:elevation ?elevation . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en')... | julipc-p(huggingface) |
Give me all Canadian Grunge record labels. | 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 DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:RecordLabel . ?uri onto:genre res:Grunge . ?uri onto:country res:C... | julipc-p(huggingface) |
What is the currency of the Czech Republic? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Czech_Republic onto:currency ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } } | julipc-p(huggingface) |
Give me all books written by Danielle Steel. | 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 DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Book . ?uri onto:author res:Danielle_Steel . OPTIONAL { ?uri rdfs:... | julipc-p(huggingface) |
In which films directed by Garry Marshall was Julia Roberts starring? | 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 DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Film . ?uri onto:starring res:Julia_Roberts . ?uri onto:director r... | julipc-p(huggingface) |
Who developed the video game World of Warcraft? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:World_of_Warcraft onto:developer ?uri . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } } | julipc-p(huggingface) |
Who owns Aldi? | PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Aldi onto:keyPerson ?uri . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } } | julipc-p(huggingface) |
How many employees does IBM have? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT ?number WHERE { res:IBM onto:numberOfEmployees ?number . } | julipc-p(huggingface) |
What is the area code of 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 ?string WHERE { res:Berlin onto:areaCode ?string . } | julipc-p(huggingface) |
When was the Battle of Gettysburg? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { res:Battle_of_Gettysburg onto:date ?date . } | julipc-p(huggingface) |
What are the official languages of the Philippines? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Philippines onto:officialLanguage ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } } | julipc-p(huggingface) |
Is Frank Herbert still alive? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Frank_Herbert onto:deathDate ?date . FILTER (!BOUND(?date)) } | julipc-p(huggingface) |
Give me the homepage of Forbes. | PREFIX res: <http://dbpedia.org/resource/> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT DISTINCT ?string WHERE { res:Forbes foaf:homepage ?string . } | julipc-p(huggingface) |
Is proinsulin a protein? | 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:Proinsulin rdf:type onto:Protein . } | julipc-p(huggingface) |
Which awards did WikiLeaks win? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:WikiLeaks prop:awards ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } } | 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/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri onto:series res:The_Sopranos . ?uri onto:seasonNumber 1 . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } } | julipc-p(huggingface) |
Which country has the most official languages? | 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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Country . ?uri prop:officialLanguages ?language . OPTIONAL { ?uri... | julipc-p(huggingface) |
Which U.S. states possess gold minerals? | 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#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:StatesOfTheUnitedStates . ?uri prop:mineral ?mineral . FILTER (... | julipc-p(huggingface) |
Is Egypts largest city also its capital? | PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> ASK WHERE { res:Egypt onto:largestCity ?large . res:Egypt onto:capital ?capital . FILTER (?large = ?capital) } | julipc-p(huggingface) |
Which caves have more than 3 entrances? | 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 DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Cave . ?uri onto:numberOfEntrances ?entrance . FILTER (?entrance >... | julipc-p(huggingface) |
Give me all films produced by Hal Roach. | 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 DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Film . ?uri onto:producer res:Hal_Roach . OPTIONAL { ?uri rdfs:lab... | julipc-p(huggingface) |
Which bridges are of the same type as the Manhattan Bridge? | 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#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Bridge . ?uri prop:des... | julipc-p(huggingface) |
Was U.S. president Jackson involved in a war? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Andrew_Jackson onto:battle ?battle . } | julipc-p(huggingface) |
Which software has been developed by organizations founded in California? | 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 DISTINCT ?uri ?string WHERE { ?company rdf:type onto:Organisation . ?company onto:foundationPlace res:California . ... | julipc-p(huggingface) |
Who has been the 5th president of the United States of America? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri onto:orderInOffice '5th President of the United States'@en . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } } | julipc-p(huggingface) |
Which music albums contain the song Last Christmas? | PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?single onto:album ?uri . ?single foaf:name 'Last Christmas'@en . OPTIONAL { ?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } } | julipc-p(huggingface) |
Give me all female Russian astronauts. | 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(... | julipc-p(huggingface) |
Give me all companies in the advertising industry. | 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#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type onto:Company . ?uri prop:in... | julipc-p(huggingface) |
Which countries in the European Union adopted the Euro? | 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#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri rdf:type yago:EuropeanUnionMemberS... | julipc-p(huggingface) |
When was Capcom founded? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { res:Capcom prop:foundation ?date . } | julipc-p(huggingface) |
Give me all soccer clubs in the Premier League. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { ?uri onto:league res:Premier_League . OPTIONAL {?uri rdfs:label ?string . FILTER (lang(?string) = 'en') } } | julipc-p(huggingface) |
Who is the owner of Universal Studios? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Universal_Studios onto:owner ?uri . OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } } | julipc-p(huggingface) |
What did Bruce Carver die from? | PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT DISTINCT ?uri ?string WHERE { res:Bruce_Carver onto:deathCause ?uri . OPTIONAL {?uri rdfs:label ?string. FILTER (lang(?string) = 'en') } } | julipc-p(huggingface) |
Which books by Kerouac were published by Viking Press? | 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:publisher res:Viking_Press . ?uri onto:author res:Jack_Kerouac . } | julipc-p(huggingface) |
Which U.S. states are in the same timezone 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) |
Which daughters of British earls died in the same place they were born in? | 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:DaughtersOfBritishEarls . ?uri onto:birthPlace ?x . ?uri onto:deathPlace ?y . FILTER (?x != ?y) . } | julipc-p(huggingface) |
Which instruments did John Lennon play? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:John_Lennon onto:instrument ?uri . } | julipc-p(huggingface) |
When was the Statue of Liberty built? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?date WHERE { res:Statue_of_Liberty prop:beginningDate ?date . } | julipc-p(huggingface) |
Give me all actors starring in movies directed by and starring 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 res:William_Shatner . { ?x onto:starring ?uri . } UNION { ?x prop:starring ?uri . } } | julipc-p(huggingface) |
Give me all people that were born in Vienna and died in Berlin. | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri onto:birthPlace res:Vienna . ?uri onto:deathPlace res:Berlin . } | julipc-p(huggingface) |
How tall is Michael Jordan? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?num WHERE { res:Michael_Jordan onto:height ?num . } | julipc-p(huggingface) |
Give me all Argentine films. | PREFIX onto: <http://dbpedia.org/ontology/> 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:ArgentineFilms . } UNION { ?uri rdf... | julipc-p(huggingface) |
What is the total amount of men and women serving in the FDNY? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?num WHERE { res:New_York_City_Fire_Department prop:strength ?num . } | julipc-p(huggingface) |
Give me all breeds of the German Shepherd dog. | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri prop:breed res:German_Shepherd . } | julipc-p(huggingface) |
Who composed the music for Harold and Maude? | PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { res:Harold_and_Maude onto:musicComposer ?uri . } | julipc-p(huggingface) |
In which city was the former Dutch queen Juliana buried? | 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:Juliana_of_the_Netherlands onto:restingPlace ?uri. ?uri rdf:type onto:Settlement . } | julipc-p(huggingface) |
What are the nicknames of San Francisco? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?string WHERE { res:San_Francisco prop:nickname ?string . } | julipc-p(huggingface) |
Give me the 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) |
Where is the residence of the prime minister of Spain? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Prime_Minister_of_Spain prop:residence ?uri . } | julipc-p(huggingface) |
Which other weapons did the designer of the Uzi develop? | 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:Weapon . ?uri prop:designer ?x . res:Uzi prop:designer ?x . FILTER (?uri != res:Uzi... | julipc-p(huggingface) |
To which countries does the Himalayan mountain system extend? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Himalayas prop:country ?uri . } | julipc-p(huggingface) |
What is the founding year of the brewery that produces Pilsner Urquell? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?num WHERE { res:Pilsner_Urquell prop:brewery ?uri . ?uri prop:foundation ?num . } | julipc-p(huggingface) |
Which country does the creator of Miffy come from? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Miffy onto:creator ?x . ?x onto:nationality ?uri . } | julipc-p(huggingface) |
Was Margaret Thatcher a chemist? | PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> ASK WHERE { res:Margaret_Thatcher onto:profession res:Chemist . } | julipc-p(huggingface) |
Which German cities have more than 250000 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 . } UNION { ?uri rdf:type onto:Town . } ?uri onto:country res:Germany . ?uri onto:populationTotal ?population . FILTER (... | julipc-p(huggingface) |
For which label did Elvis record his first album? | 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 { ?x rdf:type onto:Album . ?x onto:artist res:Elvis_Presley . ?x onto:releaseDate ?y . ?x onto:recordLabel ?uri . } ORDER BY ASC(?y) LIMIT 1 | julipc-p(huggingface) |
What is the capital of Canada? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Canada onto:capital ?uri . } | julipc-p(huggingface) |
In which U.S. state is Fort Knox located? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Fort_Knox prop:location ?uri . ?uri onto:country res:United_States . } | julipc-p(huggingface) |
Give me a list of all trumpet players that were bandleaders. | 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) |
Do Prince Harry and Prince William have the same mother? | PREFIX prop: <http://dbpedia.org/property/> ASK WHERE { <http://dbpedia.org/resource/Prince_William,_Duke_of_Cambridge> prop:mother ?x . <http://dbpedia.org/resource/Prince_Harry_of_Wales> prop:mother ?y . FILTER (?x = ?y) } | julipc-p(huggingface) |
In which military conflicts did Lawrence of Arabia participate? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:T._E._Lawrence onto:battle ?uri . } | julipc-p(huggingface) |
Who developed Minecraft? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Minecraft onto:developer ?uri . } | julipc-p(huggingface) |
How many space missions have there been? | 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:SpaceMission . } | julipc-p(huggingface) |
Give me all cars that are produced in Germany. | PREFIX onto: <http://dbpedia.org/ontology/> 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 onto:Automobile . { ?uri prop:production r... | julipc-p(huggingface) |
Give me a list of all American inventions. | 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:AmericanInventions . } | julipc-p(huggingface) |
How many children did Benjamin Franklin have? | PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT COUNT(DISTINCT ?uri) WHERE { res:Benjamin_Franklin onto:child ?uri . } | julipc-p(huggingface) |
Who was the successor of John F. Kennedy? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:John_F._Kennedy onto:successor ?uri . } | julipc-p(huggingface) |
Is Michelle Obama the wife of Barack Obama? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Barack_Obama onto:spouse res:Michelle_Obama . } | julipc-p(huggingface) |
List the children of Margaret Thatcher. | PREFIX res: <http://dbpedia.org/resource/> PREFIX onto: <http://dbpedia.org/ontology/> SELECT DISTINCT ?uri WHERE { res:Margaret_Thatcher onto:child ?uri . } | julipc-p(huggingface) |
Who is the youngest player in the Premier League? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri onto:team ?x . ?x onto:league res:Premier_League . ?uri onto:birthDate ?y . } ORDER BY DESC(?y) OFFSET 0 LIMIT 1 | julipc-p(huggingface) |
In 2013 give me all world heritage sites designated within the past five 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#> SELECT DISTINCT ?uri WHERE { ?uri rdf:type onto:WorldHeritageSite . ?uri prop:year ?x . FILTER(DATATYPE(?x) = xsd:integer && ?x >= 2008) } | julipc-p(huggingface) |
Was Dutch Schultz a jew? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> ASK WHERE { res:Dutch_Schultz prop:ethnicity 'Jewish'@en . } | julipc-p(huggingface) |
What is the second highest mountain on Earth? | 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:Mountain . ?uri onto:elevation ?elevation . } ORDER BY DESC(?elevation) OFFSET 1 LIMIT 1 | julipc-p(huggingface) |
Give me all books by William Goldman with more than 300 pages. | 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:William_Goldman . ?uri onto:numberOfPages ?x . FILTER (?x > 300) } | julipc-p(huggingface) |
How often did Nicole Kidman marry? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT COUNT(DISTINCT ?x) WHERE { res:Nicole_Kidman onto:spouse ?x . } | julipc-p(huggingface) |
What is the largest city in Australia? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Australia onto:largestCity ?uri . } | julipc-p(huggingface) |
Who painted The Storm on the Sea of Galilee? | PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:The_Storm_on_the_Sea_of_Galilee prop:artist ?uri . } | julipc-p(huggingface) |
Give me all launch pads operated by NASA. | 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:LaunchPad . ?uri onto:operator res:NASA . } | julipc-p(huggingface) |
Who wrote the lyrics for the Polish national anthem? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX prop: <http://dbpedia.org/property/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Poland onto:anthem ?x . ?x prop:author ?uri . } | julipc-p(huggingface) |
Who created the comic Captain America? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Captain_America onto:creator ?uri . } | julipc-p(huggingface) |
Who was the father of Queen Elizabeth II? | PREFIX res: <http://dbpedia.org/resource/> PREFIX prop: <http://dbpedia.org/property/> SELECT DISTINCT ?uri WHERE { res:Elizabeth_II prop:father ?uri . } | julipc-p(huggingface) |
Which U.S. state has the abbreviation MN? | 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:postalabbreviation 'MN'@en . } | julipc-p(huggingface) |
Which movies did Kurosawa direct after Rashomon? | 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:Film . ?uri onto:director res:Akira_Kurosawa . { ?uri onto:releaseDate ?x . } UNION... | julipc-p(huggingface) |
Which professional surfers were born on the Philippines? | 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:Philippines . } | julipc-p(huggingface) |
Give me all current Methodist national leaders. | 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:CurrentNationalLeaders . ?uri prop:religion res:Methodism . } | julipc-p(huggingface) |
Which films starring Clint Eastwood did he direct himself? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { ?uri onto:director res:Clint_Eastwood . ?uri onto:starring res:Clint_Eastwood . } | julipc-p(huggingface) |
Who are the parents of the wife of Juan Carlos I? | PREFIX onto: <http://dbpedia.org/ontology/> PREFIX res: <http://dbpedia.org/resource/> SELECT DISTINCT ?uri WHERE { res:Juan_Carlos_I_of_Spain onto:spouse ?x . ?x onto:parent ?uri . } | julipc-p(huggingface) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.