question stringlengths 9 150 | query stringlengths 63 685 | dataset-id stringclasses 12
values |
|---|---|---|
Was Margaret Thatcher a chemist? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbo: <http://dbpedia.org/ontology/>
ASK WHERE {
res:Margaret_Thatcher dbo:profession res:Chemist .
} | qald-2 |
Was Dutch Schultz a jew? | PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
ASK WHERE {
res:Dutch_Schultz dbp:ethnicity 'Jewish'@en .
} | qald-2 |
Give me all books by William Goldman with more than 300 pages. | 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:William_Goldman .
?uri ... | qald-2 |
Which books by Kerouac were published by Viking Press? | 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:publisher res:Viking_Press .
?uri dbo:auth... | qald-2 |
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#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?uri ?string WHERE
{
?uri rdf:type yago:AmericanInventions .
OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') }
} | qald-2 |
How high is the Mount Everest? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT ?num WHERE
{
res:Mount_Everest dbo:elevation ?num.
} | qald-2 |
Who created the comic Captain America? | 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:Captain_America dbo:creator ?uri .
OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') }
} | qald-2 |
How many people live in the capital of Australia? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT ?num WHERE {
res:Australia dbo:capital ?x .
?x dbo:populationTotal ?num .
} | qald-2 |
What is the largest city in Australia? | 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:Australia dbo:largestCity ?uri .
OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') }
} | qald-2 |
Who composed the music for Harold and Maude? | 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:Harold_and_Maude dbo:musicComposer ?uri .
OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') }
} | qald-2 |
Which films starring Clint Eastwood did he direct himself? | 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:director res:Clint_Eastwood .
?uri dbo:starring res:Clint_Eastwood .
OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?strin... | qald-2 |
In which city was the former Dutch queen Juliana buried? | 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:Juliana_of_the_Netherlands dbo:restingPlace ?uri.
?uri rdf:type dbo:Settlement ... | qald-2 |
Where is the residence of the prime minister of Spain? | 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:Prime_Minister_of_Spain dbp:residence ?uri .
OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') }
} | qald-2 |
Which U.S. State has the abbreviation MN? | 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 ?uri ?string WHERE
{
?uri rdf:type yago:StatesOfTheUnitedStates .
... | qald-2 |
Show me all songs from Bruce Springsteen released between 1980 and 1990. | 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 dbo:Song .
... | qald-2 |
Which movies did Sam Raimi direct after Army of Darkness? | 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:Film .
?uri dbo:directo... | qald-2 |
What is the founding year of the brewery that produces Pilsner Urquell? | PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?num WHERE
{
res:Pilsner_Urquell dbp:brewery ?uri .
?uri dbp:foundation ?num .
OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') }
} | qald-2 |
Who wrote the lyrics for the Polish national anthem? | 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:Poland dbo:anthem ?x .
?x dbp:author ?uri .
OPTIONAL { ?uri rdfs:label ?string. FILTER ... | qald-2 |
Give me all B-sides of the Ramones. | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?string WHERE
{
?x dbo:musicalArtist res:Ramones .
?x dbp:bSide ?string .
} | qald-2 |
Who painted The Storm on the Sea of Galilee? | 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_Storm_on_the_Sea_of_Galilee dbp:artist ?uri .
OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') }
} | qald-2 |
Which country does the creator of Miffy come from? | 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:Miffy dbo:creator ?x .
?x dbo:nationality ?uri .
OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') }
} | qald-2 |
For which label did Elvis record his first album? | 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
{
?x rdf:type dbo:Album .
?x dbo:artist res:Elvis_Presley .
?x dbo:releaseDate ?y .
... | qald-2 |
Who produces Orangina? | 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:product res:Orangina .
OPTIONAL { ?uri rdfs:label ?string. FILTER (lang(?string) = 'en') }
} | qald-2 |
Who is the daughter of Ingrid Bergman married to? | 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
WHERE {
res:Ingrid_Bergman dbo:child ?child .
?child dbo:spouse ?uri .
} | qald-3 |
In which city did John F. Kennedy die? | 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 ?uri
WHERE {
res:John_F._Kennedy dbo:deathPlace ?uri .
?uri rdf:type dbo:City .
} | qald-3 |
Which classis do tree frogs belong to? | PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Hylidae dbp:classis ?uri .
} | qald-3 |
When did Latvia join the EU? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbp: <http://dbpedia.org/property/>
SELECT DISTINCT ?date
WHERE {
res:Latvia dbp:accessioneudate ?date .
} | qald-3 |
Give me all actors starring in Last Action Hero. | PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Last_Action_Hero dbp:starring ?uri .
} | qald-3 |
Who wrote the book Les Piliers de la terre? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:The_Pillars_of_the_Earth dbo:author ?uri .
} | qald-3 |
Who is the governor of Wyoming? | PREFIX res: <http://dbpedia.org/resource/>
PREFIX dbp: <http://dbpedia.org/property/>
SELECT DISTINCT ?uri
WHERE {
res:Wyoming dbp:governor ?uri .
} | qald-3 |
Do Prince Harry and Prince William have the same mother? | PREFIX dbp: <http://dbpedia.org/property/>
ASK
WHERE {
<http://dbpedia.org/resource/Prince_William,_Duke_of_Cambridge> dbp:mother ?x .
<http://dbpedia.org/resource/Prince_Harry_of_Wales> dbp:mother ?y .
FILTER (?x = ?y)
} | qald-3 |
Who developed Minecraft? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Minecraft dbo:developer ?uri .
} | qald-3 |
List all games by GMT. | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri dbo:publisher res:GMT_Games .
} | qald-3 |
In which U.S. state is Fort Knox located? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Fort_Knox dbp:location ?uri .
?uri dbo:country res:United_States .
} | qald-3 |
Which U.S. state has the abbreviation MN? | PREFIX dbp: <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 dbp:postalabbreviation 'MN'@en .
} | qald-3 |
Which movies did Kurosawa direct after Rashomon? | 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#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Film .
?uri dbo:director res:Akira_Kurosawa .
{ ?uri dbo:releaseDate ?x . } ... | qald-3 |
Which diseases is Cetuximab used for? | PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?v
WHERE {
?x rdfs:label ?l.
FILTER(REGEX(?l,'Cetuximab','i')).
?x <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/possibleDiseaseTarget> ?v.
?v a <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasom... | qald-4 |
What are the diseases caused by Valdecoxib? | PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?x
WHERE {
?v1 rdfs:label ?l.
FILTER(REGEX(?l,'Valdecoxib','i')).
?v2 <http://www.w3.org/2002/07/owl#sameAs> ?v1.
?v2 <http://www4.wiwiss.fu-berlin.de/sider/resource/sider/sideEffect> ?x.
?x a ?c.
?c <ht... | qald-4 |
What is the side effects of drugs used for Tuberculosis? | PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?x
WHERE {
<http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseases/1154> <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/possibleDrug> ?v2.
?v2 a <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/drugs>.
... | qald-4 |
What are the side effects of Valdecoxib? | PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?x
WHERE {
?v1 rdfs:label ?l.
FILTER(REGEX(?l,'Valdecoxib','i')).
?v2 <http://www.w3.org/2002/07/owl#sameAs> ?v1.
?v2 <http://www4.wiwiss.fu-berlin.de/sider/resource/sider/sideEffect> ?x.
} | qald-4 |
Which genes are associated with breast cancer? | SELECT DISTINCT ?x
WHERE {
<http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseases/1669> <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/associatedGene> ?x.
} | qald-4 |
Which drugs have fever as a side effect? | SELECT DISTINCT ?x
WHERE {
?x a <http://www4.wiwiss.fu-berlin.de/sider/resource/sider/drugs>.
?x <http://www4.wiwiss.fu-berlin.de/sider/resource/sider/sideEffect> <http://www4.wiwiss.fu-berlin.de/sider/resource/side_effects/C0015967>.
} | qald-4 |
Give me diseases treated by tetracycline | SELECT DISTINCT ?x
WHERE {
?x a <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/diseases>.
?x <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/possibleDrug> <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugs/DB00759>.
} | qald-4 |
Which drugs interact with allopurinol? | SELECT DISTINCT ?x
WHERE {
?x <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/interactionDrug1> <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugs/DB00437>.
} | qald-4 |
What are side effects of drugs used for asthma? | SELECT DISTINCT ?v3 ?v1
WHERE {
<http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseases/116> <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/possibleDrug> ?v2.
?v0 <http://www4.wiwiss.fu-berlin.de/sider/resource/sider/sideEffect> ?v1.
?v2 <http://www.w3.org/2002/07/owl#sam... | qald-4 |
Which foods does allopurinol interact with? | SELECT DISTINCT ?l0
WHERE {
<http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugs/DB00437> <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/foodInteraction> ?l0.
} | qald-4 |
What are enzymes of drugs used for anemia? | SELECT DISTINCT ?v1
WHERE {
?v0 <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/enzyme> ?v1.
?x <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/possibleDrug> ?v0.
?x rdfs:label ?l.
FILTER(REGEX(?l,'Anemia','i')).
} | qald-4 |
What is the target drug of Vidarabine? | SELECT DISTINCT ?v0
WHERE {
<http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugs/DB00194> <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/target> ?v0.
} | qald-4 |
Which drugs target Multidrug resistance protein 1? | SELECT DISTINCT ?v1
WHERE {
?v1 a <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/drugs>.
?v1 <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/target> <http://www4.wiwiss.fu-berlin.de/drugbank/resource/targets/1588>.
} | qald-4 |
Give me drug references of drugs targeting Prothrombin. | SELECT DISTINCT ?v0
WHERE {
<http://www4.wiwiss.fu-berlin.de/drugbank/resource/targets/3579> <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/drugReference> ?v0.
?v1 <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/target> <http://www4.wiwiss.fu-berlin.de/drugbank/resource/target... | qald-4 |
Which genes are associated with diseases treated with Cetuximab? | SELECT DISTINCT ?v1
WHERE {
?v0 a <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/diseases>.
?v0 <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/associatedGene> ?v1.
?v0 <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/possibleDrug> <http://www4.wiwis... | qald-4 |
Which drugs have hypertension and vomiting as side-effects? | SELECT DISTINCT ?s
WHERE {
?s <http://www4.wiwiss.fu-berlin.de/sider/resource/sider/sideEffect> <http://www4.wiwiss.fu-berlin.de/sider/resource/side_effects/C0020538>.
?s <http://www4.wiwiss.fu-berlin.de/sider/resource/sider/sideEffect> <http://www4.wiwiss.fu-berlin.de/sider/resource/side_effects/C00... | qald-4 |
Which are possible drugs against rickets? | SELECT DISTINCT ?x
WHERE {
<http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseases/1004> <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/possibleDrug> ?x.
} | qald-4 |
What are the common side effects of Doxil and Bextra? | SELECT DISTINCT ?y
WHERE {
<http://www4.wiwiss.fu-berlin.de/sider/resource/drugs/1690> <http://www4.wiwiss.fu-berlin.de/sider/resource/sider/sideEffect> ?y.
<http://www4.wiwiss.fu-berlin.de/sider/resource/drugs/119607> <http://www4.wiwiss.fu-berlin.de/sider/resource/sider/sideEffect> ?y.
} | qald-4 |
Which are the drugs whose side effects are associated with the gene TRPM6? | SELECT DISTINCT ?x
WHERE {
?x <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/associatedGene> <http://www4.wiwiss.fu-berlin.de/diseasome/resource/genes/TRPM6>.
?x owl:sameAs ?k.
?l <http://www4.wiwiss.fu-berlin.de/sider/resource/sider/sideEffect> ?k .
} | qald-4 |
Which are the side effects of Penicillin G? | SELECT DISTINCT ?s
WHERE {
?x owl:sameAs <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugs/DB01053>.
?x <http://www4.wiwiss.fu-berlin.de/sider/resource/sider/sideEffect> ?s.
} | qald-4 |
Which diseases are associated with the gene FOXP2? | SELECT DISTINCT ?x
WHERE {
?x <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/associatedGene> <http://www4.wiwiss.fu-berlin.de/diseasome/resource/genes/FOXP2>.
} | qald-4 |
Which are possible drugs for diseases associated with the gene ALD? | SELECT DISTINCT ?x
WHERE {
?s <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/associatedGene> <http://www4.wiwiss.fu-berlin.de/diseasome/resource/genes/ALD>.
?s <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/possibleDrug> ?x.
} | qald-4 |
Which are targets of Hydroxocobalamin? | SELECT DISTINCT ?x
WHERE {
<http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugs/DB00200> <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/target> ?x.
} | qald-4 |
Which are targets for possible drugs for diseases associated with the gene ALD? | SELECT DISTINCT ?z
WHERE {
?s <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/associatedGene> <http://www4.wiwiss.fu-berlin.de/diseasome/resource/genes/ALD>.
?s <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/possibleDrug> ?x.
?x <http://www4.wiwiss.fu-berlin.de/dru... | qald-4 |
Which genes are associated with diseases whose possible drugs target Cubilin? | SELECT DISTINCT ?z
WHERE {
?s <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/associatedGene> ?z.
?s <http://www4.wiwiss.fu-berlin.de/diseasome/resource/diseasome/possibleDrug> ?x.
?x <http://www4.wiwiss.fu-berlin.de/drugbank/resource/drugbank/target> <http://www4.wiwiss.fu-berl... | qald-4 |
Give me the currencies of all G8 countries. | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?x text:"member of" text:"G8" .
?x dbo:currency ?uri .
} | qald-4 |
In which city was the assassin of Martin Luther King born? | 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 ?uri
WHERE {
res:Martin_Luther_King,_Jr. text:"assassin" ?x .
?x dbo:birthPlace ?uri .
?uri rdf:type dbo:Settlement .
} | qald-4 |
Which anti-apartheid activist graduated from the University of South Africa? | 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 ?uri
WHERE {
?uri rdf:type text:"anti-apartheid activist" .
?uri dbo:almaMater res:University_of_South_Africa .
} | qald-4 |
How many Golden Globe awards did the husband of Katie Holmes win? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT COUNT(DISTINCT ?awards)
WHERE {
res:Katie_Holmes dbp:spouse ?uri .
?uri text:"win" ?award .
?award rdf:type text:"Golden Globe" .
} | qald-4 |
Which recipients of the Victoria Cross died in the Battle of Arnhem? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri dbo:award res:Victoria_Cross .
?uri text:"died in" text:"Battle of Arnhem" .
} | qald-4 |
Where did the first man in space die? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?x text:"is" text:"first man in space" .
?x dbo:deathPlace ?uri .
} | qald-4 |
How old was Steve Job's sister when she first met him? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT ?n
WHERE {
res:Steve_Jobs dbo:relative ?uri .
?uri text:"did not meet until she was" ?n .
} | qald-4 |
Which members of the Wu-Tang Clan took their stage name from a movie? | 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 ?uri
WHERE {
res:Wu-Tang_Clan dbo:bandMember ?uri .
?uri text:"stage name" ?x .
?x text:"from" text:"movie" .
} | qald-4 |
Which writers had influenced the philosopher that refused a Nobel Prize? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?x rdf:type dbo:Philosopher .
?x text:"refuse" text:"Nobel Prize" .
?x dbo:influencedBy ?uri .
?uri rdf:type dbo:Writer .
} | qald-4 |
Under which king did the British prime minister that signed the Munich agreement serve? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT DISTINCT ?uri
WHERE {
?x rdf:type yago:PrimeMinistersOfTheUnitedKingdom .
?x text:"sign" text:"Munich Agreement" .
?x dbo:monarch ?uri .
} | qald-4 |
Who composed the music for the film that depicts the early life of Jane Austin? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?x rdf:type dbo:Film .
?x text:"depicts the early life of" text:"Jane Austin" .
?x dbo:musicComposer ?uri .
} | qald-4 |
Who succeeded the pope that reigned only 33 days? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT DISTINCT ?uri
WHERE {
?x rdf:type yago:Popes .
?x text:"reign" text:"33 days" .
?x dbo:successor ?uri .
} | qald-4 |
On which island did the national poet of Greece die? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX yago: <http://dbpedia.org/class/yago/>
SELECT DISTINCT ?uri
WHERE {
?x text:"considered" text:"national poet of Greece" .
?x dbo:deathPlace ?uri .
?uri rdf:type yago:Island109316454 .
} | qald-4 |
Which horses did The Long Fellow ride? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?x text:"known as" text:"The Long Fellow" .
?x dbo:raceHorse ?uri .
} | qald-4 |
Of the people that died of radiation in Los Alamos, whose death was an accident? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?rui dbo:deathPlace <http://dbpedia.org/resource/Los_Alamos,_New_Mexico> .
?uri dbo:deathCause res:Acute_radiation_syndrome .
?uri text:"death circumstance" text:"ac... | qald-4 |
Which buildings owned by the crown overlook the North Sea? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?uri
WHERE {
?uri rdf:type dbo:Building.
?uri dbo:owner res:The_Crown .
?uri text:"overlook" text:"North Sea" .
} | qald-4 |
Which buildings in art deco style did Shreve, Lamb and Harmon design? | 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 ?uri
WHERE {
?uri dbo:architect res:Shreve,_Lamb_&_Harmon .
{ ?uri dbo:architecturalStyle res:Art_Deco . }
UNION
{ ?uri text:"style t... | qald-4 |
Which birds are protected under the National Parks and Wildlife Act? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Bird .
?uri text:"protected under" text:"National Parks and Wildlife Act".
} | qald-4 |
Which country did the first known photographer of snowflakes come from? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri text:"is" text:"first known photographer of snowflakes" .
?uri dbo:birthPlace ?x .
?x rdf:type dbo:Country .
} | qald-4 |
List all the battles fought by the lover of Cleopatra. | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?x text:"lover" text:"Cleopatra".
?x dbo:battle ?uri .
} | qald-4 |
Are the Rosetta Stone and the Gayer-Andersen cat exhibited in the same museum? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK
WHERE {
?m1 text:"exhibits" res:Rosetta_Stone .
res:Gayer-Anderson_Cat dbo:museum ?x .
?m2 rdfs:label ?m2 .
FILTER (?m1=?m2)
} | qald-4 |
Which actress starring in the TV series Friends owns the production company Coquette Productions? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
res:Friends dbo:starring ?uri .
?uri text:"own" text:"the production company Coquette Productions" .
} | qald-4 |
Dakar is the capital of which country member of the African Union? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri text:"member of" text:"the African Union" .
?uri dbo:capital res:Dakar .
} | qald-4 |
When was the composer of the opera Madama Butterfly born? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?date
WHERE {
res:Madama_Butterfly text:"composer" ?x .
?x dbo:birthDate ?date .
} | qald-4 |
Which street basketball player was diagnosed with Sarcoidosis? | 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 DISTINCT ?uri
WHERE {
?uri rdf:type yago:StreetBasketballPlayers .
?uri text:"diagnosed with" text:"Sarcoidosis".
} | qald-4 |
Give me all cosmonauts. | PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Astronaut .
{ ?uri dbo:nationality res:Russia . }
UNION
{ ?uri dbo:nationality res:Soviet_Union... | qald-4 |
Who was John F. Kennedy's vice president? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE { res:John_F._Kennedy dbo:vicePresident ?uri .
} | qald-4 |
Give me a list of all bandleaders that play trumpet. | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri dbo:occupation res:Bandleader .
?uri dbo:instrument res:Trumpet .
} | qald-4 |
Which countries have more than ten caves? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:Country . ?cave rdf:type dbo:Cave . { ?cave dbo:location ?uri . } UNION { ?cave dbo:location ?loc . ?loc dbo:country ?uri . } } GROUP BY ?uri HAVING(COUNT(?cave... | qald-4 |
Give me all world heritage sites designated within the past two years. | 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 xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT DISTINCT ?uri
WHERE {
?uri rdf:type dbo:WorldHeritageSite .
?uri dbp:year ?x .
FILTER ( ?... | qald-4 |
Does Breaking Bad have more episodes than Game of Thrones? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK
WHERE {
res:Breaking_Bad dbo:numberOfEpisodes ?x .
res:Game_of_Thrones dbo:numberOfEpisodes ?y .
FILTER (?y > ?x)
} | qald-4 |
How many languages are spoken in Turkmenistan? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT COUNT(DISTINCT ?x)
WHERE {
res:Turkmenistan dbo:language ?x .
} | qald-4 |
Give me all actors starring in movies directed by William Shatner. | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?x dbo:director res:William_Shatner .
?x dbo:starring ?uri .
} | qald-4 |
Are tree frogs a type of amphibian? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
ASK
WHERE {
res:Hylidae dbo:class res:Amphibian .
} | qald-4 |
Give me all Methodist politicians. | 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 ?uri
WHERE {
?uri rdf:type dbo:Politician .
?uri dbo:religion res:Methodism .
} | qald-4 |
How often did Jane Fonda marry? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT COUNT(DISTINCT ?uri)
WHERE {
res:Jane_Fonda dbo:spouse ?uri .
} | qald-4 |
Which professional surfers were born in Australia? | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri dbo:occupation res:Surfing .
?uri dbo:birthPlace res:Australia .
} | qald-4 |
Give me all islands that belong to Japan. | 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 ?uri
WHERE {
?uri rdf:type dbo:Island .
?uri dbo:country res:Japan .
} | qald-4 |
Give me all Apollo 14 astronauts. | PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX res: <http://dbpedia.org/resource/>
SELECT DISTINCT ?uri
WHERE {
?uri dbo:mission res:Apollo_14 .
} | qald-4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.